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 \
28 yarandom.c erase.c sgivideo.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 \
31 yarandom.o erase.o sgivideo.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 \
34 yarandom.h erase.h sgivideo.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 # Rules for generating the VMS makefiles on Unix, so that it doesn't have to
103 VMS_AXP_COMPILE=$$ CC/DECC/PREFIX=ALL/DEFINE=(VMS,HAVE_CONFIG_H)/INCL=([],[-])
105 compile_axp.com: Makefile.in
106 @echo generating $@ from $<... ; \
107 ( ( for c in $(SRCS) vms-*.c ; do \
108 c=`echo $$c | tr a-z A-Z` ; \
109 echo "$(VMS_AXP_COMPILE) $$c" ; \
112 echo '$$ lib/cre utils.olb_axp' ; \
113 echo '$$ lib utils.olb_axp *.obj' ; \
114 echo '$$! delete/noconf *.obj;' ; \
117 compile_decc.com: compile_axp.com
118 @echo generating $@ from $<... ; \
119 sed 's/axp/decc/g' < $< > $@
121 distdepend:: compile_axp.com compile_decc.com
124 ##############################################################################
126 # DO NOT DELETE: updated by make distdepend
128 alpha.o: $(srcdir)/utils.h
129 alpha.o: $(srcdir)/../config.h
130 alpha.o: $(srcdir)/alpha.h
131 alpha.o: $(srcdir)/hsv.h
132 alpha.o: $(srcdir)/yarandom.h
133 alpha.o: $(srcdir)/resources.h
134 colors.o: $(srcdir)/utils.h
135 colors.o: $(srcdir)/../config.h
136 colors.o: $(srcdir)/hsv.h
137 colors.o: $(srcdir)/yarandom.h
138 colors.o: $(srcdir)/visual.h
139 colors.o: $(srcdir)/colors.h
140 fade.o: $(srcdir)/utils.h
141 fade.o: $(srcdir)/../config.h
142 fade.o: $(srcdir)/visual.h
143 fade.o: $(srcdir)/usleep.h
144 fade.o: $(srcdir)/fade.h
145 grabscreen.o: $(srcdir)/utils.h
146 grabscreen.o: $(srcdir)/../config.h
147 grabscreen.o: $(srcdir)/yarandom.h
148 grabscreen.o: $(srcdir)/usleep.h
149 grabscreen.o: $(srcdir)/colors.h
150 grabscreen.o: $(srcdir)/grabscreen.h
151 grabscreen.o: $(srcdir)/sgivideo.h
152 grabscreen.o: $(srcdir)/visual.h
153 grabscreen.o: $(srcdir)/resources.h
154 grabscreen.o: $(srcdir)/vroot.h
155 hsv.o: $(srcdir)/utils.h
156 hsv.o: $(srcdir)/../config.h
157 hsv.o: $(srcdir)/hsv.h
158 overlay.o: $(srcdir)/utils.h
159 overlay.o: $(srcdir)/../config.h
160 overlay.o: $(srcdir)/visual.h
161 resources.o: $(srcdir)/utils.h
162 resources.o: $(srcdir)/../config.h
163 resources.o: $(srcdir)/resources.h
164 spline.o: $(srcdir)/utils.h
165 spline.o: $(srcdir)/../config.h
166 spline.o: $(srcdir)/spline.h
167 usleep.o: $(srcdir)/../config.h
168 visual.o: $(srcdir)/utils.h
169 visual.o: $(srcdir)/../config.h
170 visual.o: $(srcdir)/resources.h
171 visual.o: $(srcdir)/visual.h
172 xmu.o: $(srcdir)/../config.h
173 xroger.o: $(srcdir)/utils.h
174 xroger.o: $(srcdir)/../config.h
175 yarandom.o: $(srcdir)/../config.h
176 yarandom.o: $(srcdir)/yarandom.h
177 erase.o: $(srcdir)/utils.h
178 erase.o: $(srcdir)/../config.h
179 erase.o: $(srcdir)/yarandom.h
180 erase.o: $(srcdir)/usleep.h
181 erase.o: $(srcdir)/resources.h
182 sgivideo.o: $(srcdir)/utils.h
183 sgivideo.o: $(srcdir)/../config.h
184 sgivideo.o: $(srcdir)/sgivideo.h
185 sgivideo.o: $(srcdir)/resources.h
186 sgivideo.o: $(srcdir)/usleep.h