1 # utils/Makefile.in --- xscreensaver, Copyright (c) 1997 Jamie Zawinski.
2 # the `../configure' script generates `utils/Makefile' from this file.
17 DEPEND_FLAGS = @DEPEND_FLAGS@
18 DEPEND_DEFINES = @DEPEND_DEFINES@
24 INCLUDES = -I$(srcdir) -I$(srcdir)/.. @INCLUDES@
26 SRCS = alpha.c colors.c fade.c grabscreen.c hsv.c overlay.c \
27 resources.c spline.c usleep.c visual.c xmu.c xroger.c \
29 OBJS = alpha.o colors.o fade.o grabscreen.o hsv.o overlay.o \
30 resources.o spline.o usleep.o visual.o xmu.o xroger.o \
32 HDRS = alpha.h colors.h fade.h grabscreen.h hsv.h resources.h \
33 spline.h usleep.h utils.h version.h visual.h vroot.h xmu.h \
35 EXTRAS = README Makefile.in ad2c
36 VMSFILES = compile_axp.com compile_decc.com vms-gtod.c vms-gtod.h \
39 TARFILES = $(EXTRAS) $(VMSFILES) $(SRCS) $(HDRS)
44 install: install-program install-man
45 uninstall: uninstall-program uninstall-man
48 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
59 -rm -f Makefile *~ "#"*
61 # Adds all current dependencies to Makefile
63 $(DEPEND) -s '# DO NOT DELETE: updated by make depend' \
65 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
68 # Adds some dependencies to Makefile.in -- not totally accurate, but pretty
69 # close. This excludes dependencies on files in /usr/include, etc. It tries
70 # to include only dependencies on files which are themselves a part of this
73 @echo updating dependencies in `pwd`/Makefile.in... ; \
75 -s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
76 $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) -- \
79 awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
80 sed -e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d' \
81 -e 's@ \([^$$]\)@ $$(srcdir)/\1@g' ; \
83 ) > /tmp/distdepend.$$$$ && \
84 mv Makefile.in Makefile.in.bak && \
85 mv /tmp/distdepend.$$$$ Makefile.in
89 find $(srcdir) -name '*.[chly]' -print | xargs etags -a
95 # How we build object files in this directory.
97 $(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(X_CFLAGS) $<
100 ##############################################################################
102 # DO NOT DELETE: updated by make distdepend
104 alpha.o: $(srcdir)/utils.h
105 alpha.o: $(srcdir)/../config.h
106 alpha.o: $(srcdir)/alpha.h
107 alpha.o: $(srcdir)/hsv.h
108 alpha.o: $(srcdir)/yarandom.h
109 alpha.o: $(srcdir)/resources.h
110 colors.o: $(srcdir)/utils.h
111 colors.o: $(srcdir)/../config.h
112 colors.o: $(srcdir)/hsv.h
113 colors.o: $(srcdir)/yarandom.h
114 colors.o: $(srcdir)/visual.h
115 colors.o: $(srcdir)/colors.h
116 fade.o: $(srcdir)/utils.h
117 fade.o: $(srcdir)/../config.h
118 fade.o: $(srcdir)/visual.h
119 fade.o: $(srcdir)/usleep.h
120 fade.o: $(srcdir)/fade.h
121 grabscreen.o: $(srcdir)/utils.h
122 grabscreen.o: $(srcdir)/../config.h
123 grabscreen.o: $(srcdir)/usleep.h
124 grabscreen.o: $(srcdir)/colors.h
125 grabscreen.o: $(srcdir)/grabscreen.h
126 grabscreen.o: $(srcdir)/vroot.h
127 grabscreen.o: $(srcdir)/visual.h
128 hsv.o: $(srcdir)/utils.h
129 hsv.o: $(srcdir)/../config.h
130 hsv.o: $(srcdir)/hsv.h
131 overlay.o: $(srcdir)/utils.h
132 overlay.o: $(srcdir)/../config.h
133 overlay.o: $(srcdir)/visual.h
134 resources.o: $(srcdir)/utils.h
135 resources.o: $(srcdir)/../config.h
136 resources.o: $(srcdir)/resources.h
137 spline.o: $(srcdir)/utils.h
138 spline.o: $(srcdir)/../config.h
139 spline.o: $(srcdir)/spline.h
140 usleep.o: $(srcdir)/../config.h
141 visual.o: $(srcdir)/utils.h
142 visual.o: $(srcdir)/../config.h
143 visual.o: $(srcdir)/resources.h
144 visual.o: $(srcdir)/visual.h
145 xmu.o: $(srcdir)/../config.h
146 xroger.o: $(srcdir)/utils.h
147 xroger.o: $(srcdir)/../config.h
148 yarandom.o: $(srcdir)/../config.h
149 yarandom.o: $(srcdir)/yarandom.h