http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.05.tar.gz
[xscreensaver] / driver / Makefile.in
1 # driver/Makefile.in --- xscreensaver, Copyright (c) 1997-1999 Jamie Zawinski.
2 # the `../configure' script generates `driver/Makefile' from this file.
3
4 @SET_MAKE@
5 .SUFFIXES:
6 .SUFFIXES: .c .o
7
8 srcdir          = @srcdir@
9 VPATH           = @srcdir@
10 top_srcdir      = @top_srcdir@
11 top_builddir    = ..
12
13 install_prefix  =
14 prefix          = @prefix@
15 exec_prefix     = @exec_prefix@
16 bindir          = @bindir@
17 mandir          = @mandir@
18 man1dir         = $(mandir)/man1
19 mansuffix       = 1
20 datadir         = @datadir@
21 localedir       = $(datadir)/locale
22
23 INTLTOOL_MERGE  = @INTLTOOL_MERGE@
24
25 GNOME_DATADIR   = @GNOME_DATADIR@
26 GNOME_CCDIR     = $(GNOME_DATADIR)/control-center/Desktop
27 GNOME_PANELDIR1 = $(GNOME_DATADIR)/gnome/apps/Settings/Desktop
28 GNOME_PANELDIR2 = $(GNOME_DATADIR)/applications
29 GNOME_PANELDIR  = @GNOME_PANELDIR@
30 GLADE_DATADIR   = @GLADE_DATADIR@
31 GNOME_BINDIR    = $(bindir)
32 HACK_CONF_DIR   = @HACK_CONF_DIR@
33
34 CC              = @CC@
35 CFLAGS          = @CFLAGS@
36 LDFLAGS         = @LDFLAGS@
37 DEFS            = @DEFS@
38 INTL_DEFS       = -DLOCALEDIR=\"$(localedir)\"
39 SUBP_DEFS       = $(DEFS) -DDEFAULT_PATH_PREFIX='"@HACKDIR@"'
40 GTK_DEFS        = $(DEFS) -DDEFAULT_ICONDIR='"$(GLADE_DATADIR)"'
41 CONF_DEFS       = -DHACK_CONFIGURATION_PATH='"$(HACK_CONF_DIR)"'
42
43 LIBS            = @LIBS@
44 INTL_LIBS       = @INTLLIBS@
45 PERL            = @PERL@
46
47 DEPEND          = @DEPEND@
48 DEPEND_FLAGS    = @DEPEND_FLAGS@
49 DEPEND_DEFINES  = @DEPEND_DEFINES@
50
51 SHELL           = /bin/sh
52 INSTALL         = @INSTALL@
53 SUID_FLAGS      = -o root -m 4755
54 INSTALL_PROGRAM = @INSTALL_PROGRAM@
55 INSTALL_SCRIPT  = @INSTALL_SCRIPT@
56 INSTALL_SETUID  = @INSTALL_SETUID@
57 INSTALL_DATA    = @INSTALL_DATA@
58 INSTALL_DIRS    = @INSTALL_DIRS@
59
60 X_CFLAGS        = @X_CFLAGS@
61 X_LIBS          = @X_LIBS@
62 X_PRE_LIBS      = @X_PRE_LIBS@
63 X_EXTRA_LIBS    = @X_EXTRA_LIBS@
64 XMU_LIBS        = @XMU_LIBS@
65 XPM_LIBS        = @XPM_LIBS@
66
67 # Note:
68 #
69 # X_LIBS would more properly be called X_LDFLAGS (it contains the -L args.)
70 # X_PRE_LIBS contains extra libraries you have to link against on some systems,
71 #         and that must come before -lX11.  (e.g., -lSM and -lICE.)
72 # X_EXTRA_LIBS contains extra libraries needed by X that aren't a part of X.
73 #         (e.g., -lsocket, -lnsl, etc.)
74 #
75 # I think (but am not totally sure) that LIBS is also really "LDFLAGS".
76 #
77 # SAVER_LIBS is the link line for "xscreensaver", and
78 # CMD_LIBS is the link line for "xscreensaver-command".
79 # GETIMG_LIBS is the link line for "xscreensaver-getimage".
80
81
82 AD_DIR          = @APPDEFAULTS@
83 PAM_DIR         = /etc/pam.d
84 PAM_CONF        = /etc/pam.conf
85
86 UTILS_SRC       = $(srcdir)/../utils
87 UTILS_BIN       = ../utils
88
89 INCLUDES        = -I. -I$(srcdir) -I$(UTILS_SRC) -I.. @INCLUDES@
90
91 MOTIF_SRCS      = demo-Xm.c demo-Xm-widgets.c
92 MOTIF_OBJS      = demo-Xm.o demo-Xm-widgets.o
93
94 GTK_SRCS        = demo-Gtk.c demo-Gtk-conf.c \
95                   demo-Gtk-widgets.c demo-Gtk-support.c
96 GTK_EXTRA_OBJS  = demo-Gtk-widgets.o demo-Gtk-support.o
97 GTK_OBJS        = demo-Gtk.o demo-Gtk-conf.o @GTK_EXTRA_OBJS@
98
99 PWENT_SRCS      = passwd-pwent.c
100 PWENT_OBJS      = passwd-pwent.o
101
102 KERBEROS_SRCS   = passwd-kerberos.c
103 KERBEROS_OBJS   = passwd-kerberos.o
104
105 PAM_SRCS        = passwd-pam.c
106 PAM_OBJS        = passwd-pam.o
107
108 LOCK_SRCS_1     = lock.c passwd.c
109 LOCK_OBJS_1     = lock.o passwd.o
110 NOLOCK_SRCS_1   = lock.c
111 NOLOCK_OBJS_1   = lock.o
112
113 TEST_SRCS       = test-passwd.c test-uid.c test-xdpms.c test-grab.c \
114                   test-apm.c test-fade.c xdpyinfo.c
115 TEST_EXES       = test-passwd   test-uid   test-xdpms   test-grab \
116                   test-apm   test-fade   xdpyinfo
117
118 MOTIF_LIBS      = @MOTIF_LIBS@ @XPM_LIBS@ $(XMU_LIBS)
119 GTK_LIBS        = @GTK_LIBS@ $(XMU_LIBS)
120 XML_LIBS        = @XML_LIBS@
121
122 XDPMS_LIBS      = @XDPMS_LIBS@
123
124 PASSWD_SRCS     = @PASSWD_SRCS@
125 PASSWD_OBJS     = @PASSWD_OBJS@
126 PASSWD_LIBS     = @PASSWD_LIBS@
127
128 LOCK_SRCS       = @LOCK_SRCS@
129 LOCK_OBJS       = @LOCK_OBJS@
130
131 XMU_SRCS        = @XMU_SRCS@
132 XMU_OBJS        = @XMU_OBJS@
133
134 GL_SRCS         = @SAVER_GL_SRCS@
135 GL_OBJS         = @SAVER_GL_OBJS@
136 GL_LIBS         = @SAVER_GL_LIBS@
137
138 ICON_SRC        = $(UTILS_SRC)/images
139 LOGO            = $(ICON_SRC)/logo-50.xpm
140 GTK_ICONS       = $(ICON_SRC)/screensaver-*.xpm
141
142 DEMO_UTIL_SRCS  = $(UTILS_SRC)/resources.c $(UTILS_SRC)/usleep.c \
143                   $(UTILS_SRC)/visual.c
144 DEMO_UTIL_OBJS  = $(UTILS_BIN)/resources.o $(UTILS_BIN)/usleep.o \
145                   $(UTILS_BIN)/visual.o
146
147 SAVER_UTIL_SRCS = $(UTILS_SRC)/fade.c $(UTILS_SRC)/overlay.c \
148                   $(UTILS_SRC)/logo.c $(UTILS_SRC)/yarandom.c \
149                   $(DEMO_UTIL_SRCS)
150 SAVER_UTIL_OBJS = $(UTILS_BIN)/fade.o $(UTILS_BIN)/overlay.o \
151                   $(UTILS_BIN)/logo.o $(UTILS_BIN)/yarandom.o \
152                   $(DEMO_UTIL_OBJS)
153
154 GETIMG_SRCS_1   = xscreensaver-getimage.c
155 GETIMG_OBJS_1   = xscreensaver-getimage.o
156
157 GETIMG_SRCS     = $(GETIMG_SRCS_1) \
158                   $(UTILS_SRC)/colorbars.o $(UTILS_SRC)/resources.o \
159                   $(UTILS_SRC)/yarandom.o $(UTILS_SRC)/visual.o \
160                   $(UTILS_SRC)/usleep.o $(UTILS_SRC)/hsv.o \
161                   $(UTILS_SRC)/colors.o $(UTILS_SRC)/grabscreen.o \
162                   $(UTILS_SRC)/logo.o prefs.o $(XMU_SRCS)
163
164 GETIMG_OBJS     = $(GETIMG_OBJS_1) \
165                   $(UTILS_BIN)/colorbars.o $(UTILS_BIN)/resources.o \
166                   $(UTILS_BIN)/yarandom.o $(UTILS_BIN)/visual.o \
167                   $(UTILS_BIN)/usleep.o $(UTILS_BIN)/hsv.o \
168                   $(UTILS_BIN)/colors.o $(UTILS_BIN)/grabscreen.o \
169                   $(UTILS_BIN)/logo.o prefs.o $(XMU_OBJS)
170
171 SAVER_SRCS_1    = xscreensaver.c windows.c timers.c subprocs.c exec.c \
172                   xset.c splash.c setuid.c stderr.c
173 SAVER_OBJS_1    = xscreensaver.o windows.o timers.o subprocs.o exec.o \
174                   xset.o splash.o setuid.o stderr.o
175
176 SAVER_SRCS      = $(SAVER_SRCS_1) prefs.c dpms.c $(LOCK_SRCS) \
177                   $(SAVER_UTIL_SRCS) $(GL_SRCS) $(XMU_SRCS)
178 SAVER_OBJS      = $(SAVER_OBJS_1) prefs.o dpms.o $(LOCK_OBJS) \
179                   $(SAVER_UTIL_OBJS) $(GL_OBJS) $(XMU_OBJS)
180
181 CMD_SRCS        = remote.c xscreensaver-command.c
182 CMD_OBJS        = remote.o xscreensaver-command.o
183
184 DEMO_SRCS_1     = prefs.c dpms.c $(XMU_SRCS)
185 DEMO_OBJS_1     = prefs.o dpms.o $(XMU_OBJS)
186
187 DEMO_SRCS       = prefs.c dpms.c remote.c exec.c $(DEMO_UTIL_SRCS)
188 DEMO_OBJS       = prefs.o dpms.o remote.o exec.o $(DEMO_UTIL_OBJS)
189
190 SAVER_LIBS      = $(LIBS) $(X_LIBS) $(XMU_LIBS) @SAVER_LIBS@ \
191                   $(XDPMS_LIBS) $(GL_LIBS) $(X_PRE_LIBS) \
192                   -lXt -lX11 -lXext $(X_EXTRA_LIBS) \
193                   $(PASSWD_LIBS)
194
195 CMD_LIBS        = $(LIBS) $(X_LIBS) \
196                   $(X_PRE_LIBS) -lX11 -lXext $(X_EXTRA_LIBS)
197
198 GETIMG_LIBS     = $(LIBS) $(X_LIBS) $(XPM_LIBS) \
199                   $(X_PRE_LIBS) -lXt -lX11 $(XMU_LIBS) -lXext $(X_EXTRA_LIBS)
200
201 EXES            = xscreensaver xscreensaver-command xscreensaver-demo \
202                   xscreensaver-getimage
203 EXES2           = @ALL_DEMO_PROGRAMS@
204 SCRIPTS         = xscreensaver-getimage-file xscreensaver-getimage-video
205
206 HDRS            = XScreenSaver_ad.h xscreensaver.h prefs.h remote.h \
207                   demo-Gtk-widgets.h demo-Gtk-stubs.h demo-Gtk-support.h \
208                   demo-Gtk-conf.h
209 MEN             = xscreensaver.man xscreensaver-demo.man \
210                   xscreensaver-command.man \
211                   xscreensaver-getimage.man \
212                   xscreensaver-getimage-file.man \
213                   xscreensaver-getimage-video.man
214 EXTRAS          = README Makefile.in XScreenSaver.ad.in xscreensaver.pam \
215                   xscreensaver-demo.glade xscreensaver-demo.glade2 \
216                   screensaver-properties.desktop.in \
217                   screensaver-properties-capplet \
218                   xscreensaver.kss.in \
219                   .gdbinit
220 VMSFILES        = compile_axp.com compile_decc.com link_axp.com link_decc.com \
221                   vms-getpwnam.c vms-pwd.h vms-hpwd.c vms-validate.c \
222                   vms_axp.opt vms_axp_12.opt vms_decc.opt vms_decc_12.opt
223
224 TARFILES        = $(EXTRAS) $(VMSFILES) $(SAVER_SRCS_1) \
225                   $(MOTIF_SRCS) $(GTK_SRCS) $(PWENT_SRCS) \
226                   $(KERBEROS_SRCS) $(PAM_SRCS) $(LOCK_SRCS_1) $(DEMO_SRCS_1) \
227                   $(CMD_SRCS) $(GETIMG_SRCS_1) $(HDRS) $(SCRIPTS) \
228                   $(TEST_SRCS) $(MEN)
229
230
231 default: $(EXES)
232 all: $(EXES) $(EXES2)
233 tests: $(TEST_EXES)
234
235 install:   install-program   install-ad    install-scripts \
236            install-gnome     install-kde   install-man   @INSTALL_PAM@
237 uninstall: uninstall-program uninstall-ad  \
238            uninstall-gnome   uninstall-kde uninstall-man
239
240 install-strip:
241         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
242                 install
243
244 install-program: $(EXES)
245         @if [ ! -d $(install_prefix)$(bindir) ]; then                   \
246           $(INSTALL_DIRS) $(install_prefix)$(bindir) ;                  \
247          fi
248         @inst="$(INSTALL_PROGRAM)" ;                                    \
249         if [ @NEED_SETUID@ = yes ]; then                                \
250            me=`PATH="$$PATH:/usr/ucb" whoami` ;                         \
251            if [ "$$me" = root ]; then                                   \
252              inst="$(INSTALL_SETUID)" ;                                 \
253            else                                                         \
254             e=echo ;                                                    \
255  $$e ""                                                                      ;\
256  $$e "  ####################################################################";\
257  $$e "  Warning: xscreensaver has been compiled with support for shadow"     ;\
258  $$e "           passwords.  If your system actually uses shadow passwords," ;\
259  $$e "           then xscreensaver must be installed as a setuid root"       ;\
260  $$e "           program in order for locking to work.  To do this, you"     ;\
261  $$e "           must run 'make install' as 'root', not as '$$me'."          ;\
262  $$e ""                                                                      ;\
263  $$e "           For now, xscreensaver will be installed non-setuid, which"  ;\
264  $$e "           means that locking might not work.  (Try it and see.)"      ;\
265  $$e "  ####################################################################";\
266  $$e ""                                                                      ;\
267            fi ;                                                               \
268         fi ;                                                                  \
269         echo $$inst xscreensaver $(install_prefix)$(bindir)/xscreensaver ;    \
270         $$inst xscreensaver $(install_prefix)$(bindir)/xscreensaver
271         @echo $(INSTALL_PROGRAM) xscreensaver-command \
272           $(install_prefix)$(bindir)/xscreensaver-command ; \
273         $(INSTALL_PROGRAM) xscreensaver-command \
274           $(install_prefix)$(bindir)/xscreensaver-command
275         @echo $(INSTALL_PROGRAM) xscreensaver-demo \
276           $(install_prefix)$(bindir)/xscreensaver-demo ; \
277         $(INSTALL_PROGRAM) xscreensaver-demo \
278           $(install_prefix)$(bindir)/xscreensaver-demo
279         @echo $(INSTALL_PROGRAM) xscreensaver-getimage \
280           $(install_prefix)$(bindir)/xscreensaver-getimage ; \
281         $(INSTALL_PROGRAM) xscreensaver-getimage \
282           $(install_prefix)$(bindir)/xscreensaver-getimage
283
284 install-ad: XScreenSaver.ad
285         @if [ ! -d $(install_prefix)$(AD_DIR) ]; then                         \
286           $(INSTALL_DIRS) $(install_prefix)$(AD_DIR) ;                        \
287          fi
288         @-echo $(INSTALL_DATA) XScreenSaver.ad                                \
289           $(install_prefix)$(AD_DIR)/XScreenSaver ;                           \
290         if $(INSTALL_DATA) XScreenSaver.ad                                    \
291           $(install_prefix)$(AD_DIR)/XScreenSaver ; then                      \
292           true ;                                                              \
293         else                                                                  \
294           e=echo ;                                                            \
295           if [ -f $(install_prefix)$(AD_DIR)/XScreenSaver ]; then             \
296  $$e ""                                                                      ;\
297  $$e "  ####################################################################";\
298  $$e "  Warning: unable to install $(install_prefix)$(AD_DIR)/XScreenSaver"  ;\
299  $$e "           That file exists, and is unwritable.  It is probably from"  ;\
300  $$e "           an older version of xscreensaver, and could cause things"   ;\
301  $$e "           to malfunction.  Please delete it!"                         ;\
302  $$e "  ####################################################################";\
303  $$e ""                                                                      ;\
304             exit 1 ;                                                          \
305           else                                                                \
306  $$e ""                                                                      ;\
307  $$e "  ####################################################################";\
308  $$e "  Warning: unable to install $(install_prefix)$(AD_DIR)/XScreenSaver"  ;\
309  $$e "           The directory is unwritable.  This is probably ok;"         ;\
310  $$e "           xscreensaver should work without that file."                ;\
311  $$e "  ####################################################################";\
312  $$e ""                                                                      ;\
313             exit 0 ;                                                          \
314           fi                                                                  \
315         fi
316
317 install-scripts: $(SCRIPTS) munge-scripts
318         @for program in $(SCRIPTS); do                                  \
319           if [ -r $$program ] ; then                                    \
320             p=$$program ;                                               \
321           else                                                          \
322             p=$(srcdir)/$$program ;                                     \
323           fi ;                                                          \
324           echo $(INSTALL_SCRIPT) $$p                                    \
325             $(install_prefix)$(bindir)/$$program ;                      \
326           $(INSTALL_SCRIPT) $$p                                         \
327             $(install_prefix)$(bindir)/$$program ;                      \
328         done
329
330 munge-scripts: $(SCRIPTS)
331         @tmp=/tmp/mf.$$$$ ;                                             \
332         perl="${PERL}" ;                                                \
333         rm -f $$tmp ;                                                   \
334         for program in $(SCRIPTS); do                                   \
335           echo "adjusting location of perl in $$program..." ;           \
336           sed "s@^\(#!\)\(/[^ ]*/perl[^ ]*\)\(.*\)\$$@\1$$perl\3@"      \
337               < $(srcdir)/$$program > $$tmp ;                           \
338           if cmp -s $(srcdir)/$$program $$tmp ; then                    \
339             true ;                                                      \
340           else                                                          \
341             cat $$tmp > ./$$program ;                                   \
342           fi ;                                                          \
343         done ;                                                          \
344         rm -f $$tmp
345
346 install-man: $(MEN)
347         @men="$(MEN)" ;                                                 \
348         if [ ! -d $(install_prefix)$(man1dir) ]; then                   \
349           $(INSTALL_DIRS) $(install_prefix)$(man1dir) ;                 \
350          fi ;                                                           \
351         for man in $$men; do                                            \
352           instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ;     \
353           echo $(INSTALL_DATA) $(srcdir)/$$man                          \
354            $(install_prefix)$(man1dir)/$$instname ;                     \
355           $(INSTALL_DATA) $(srcdir)/$$man                               \
356             $(install_prefix)$(man1dir)/$$instname ;                    \
357         done
358
359 uninstall-program:
360         @for program in $(EXES) $(SCRIPTS); do                          \
361           echo rm -f $(install_prefix)$(bindir)/$$program ;             \
362           rm -f $(install_prefix)$(bindir)/$$program ;                  \
363         done
364
365 uninstall-ad:
366         rm -f $(install_prefix)$(AD_DIR)/XScreenSaver
367
368 uninstall-man:
369         @men="$(MEN)" ;                                                 \
370         for man in $$men; do                                            \
371           instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ;     \
372           echo rm -f $(install_prefix)$(man1dir)/$$instname ;           \
373           rm -f $(install_prefix)$(man1dir)/$$instname ;                \
374         done
375
376 install-pam:
377         @src="$(srcdir)/xscreensaver.pam" ;                             \
378         dest=`sed -n 's/.*PAM_SERVICE_NAME[     ]*"\([^"]*\)".*$$/\1/p' \
379            < ../config.h` ;                                             \
380         dir="$(install_prefix)$(PAM_DIR)" ;                             \
381         conf="$(PAM_CONF)" ;                                            \
382                                                                         \
383         if [ -d $$dir ] ; then                                          \
384                                                                         \
385           if [ -f $$dir/xdm ]; then                                     \
386             src2=$$dir/xdm ;                                            \
387           elif [ -f $$dir/login ]; then                                 \
388             src2=$$dir/login ;                                          \
389           fi ;                                                          \
390                                                                         \
391           if [ -z "$$src2" ]; then                                      \
392             echo $(INSTALL_DATA) $$src $$dir/$$dest ;                   \
393             $(INSTALL_DATA) $$src $$dir/$$dest ;                        \
394           else                                                          \
395             src="xscreensaver.pam.$$$$" ;                               \
396             echo "grep '^#%\|^auth' $$src2 > $$src" ;                   \
397                   grep '^#%\|^auth' $$src2 > $$src ;                    \
398             echo $(INSTALL_DATA) $$src $$dir/$$dest ;                   \
399                  $(INSTALL_DATA) $$src $$dir/$$dest ;                   \
400             echo rm -f $$src ;                                          \
401                  rm -f $$src ;                                          \
402           fi ;                                                          \
403                                                                         \
404           if [ ! -f $$dir/$$dest ]; then                                \
405             e=echo ;                                                    \
406  $$e ""                                                                      ;\
407  $$e "  ####################################################################";\
408  $$e "  Warning: xscreensaver has been compiled with support for Pluggable"  ;\
409  $$e "           Authentication Modules (PAM).  However, we were unable to"  ;\
410  $$e "           install the file $$dir/$$dest.  PAM is unlikely"            ;\
411  $$e "           to work without this file (and old-style password"          ;\
412  $$e "           authentication will be used instead, which may or may not"  ;\
413  $$e "           work.)"                                                     ;\
414  $$e "  ####################################################################";\
415  $$e ""                                                                      ;\
416           fi ;                                                          \
417         elif [ -f $$conf ]; then                                        \
418           if ( grep $$dest $$conf >/dev/null ); then                    \
419            true ;                                                       \
420           else                                                          \
421             e=echo ;                                                    \
422  $$e ""                                                                      ;\
423  $$e "  ####################################################################";\
424  $$e "  Warning: xscreensaver has been compiled with support for Pluggable"  ;\
425  $$e "           Authentication Modules (PAM).  To complete the installation";\
426  $$e "           of PAM support, you must add the following line to the file";\
427  $$e "           $$conf:"                                                    ;\
428  $$e ""                                                                      ;\
429  $$e    "       $$dest  auth required   /usr/lib/security/pam_unix.so.1"     ;\
430  $$e ""                                                                      ;\
431  $$e "           Be careful: if you mess up that file, you could completely" ;\
432  $$e "           hose your machine (e.g., \`login' and \`su' won't work, and";\
433  $$e "           you'll have to boot single-user to fix it.)"                ;\
434  $$e "  ####################################################################";\
435             echo "";                                                    \
436           fi ;                                                          \
437         fi
438
439 install-gnome:: screensaver-properties.desktop
440         @lost=""                                                             ;\
441          if [ "$(GNOME_DATADIR)" != "" ]; then                                \
442                                                                               \
443            if [ ! -d "$(install_prefix)$(GNOME_CCDIR)" ]; then                \
444              echo $(INSTALL_DIRS) "$(install_prefix)$(GNOME_CCDIR)"          ;\
445                   $(INSTALL_DIRS) "$(install_prefix)$(GNOME_CCDIR)"          ;\
446            fi                                                                ;\
447                                                                               \
448            echo    $(INSTALL_DATA) screensaver-properties.desktop             \
449              $(install_prefix)$(GNOME_CCDIR)/screensaver-properties.desktop;  \
450                                                                               \
451            if      $(INSTALL_DATA) screensaver-properties.desktop             \
452              $(install_prefix)$(GNOME_CCDIR)/screensaver-properties.desktop;  \
453              then true                                                       ;\
454            else                                                               \
455              lost="$$lost $(install_prefix)$(GNOME_CCDIR)"                   ;\
456            fi                                                                ;\
457                                                                               \
458            if [ ! -d "$(install_prefix)$(GNOME_PANELDIR)" ]; then             \
459              echo $(INSTALL_DIRS) "$(install_prefix)$(GNOME_PANELDIR)"       ;\
460                   $(INSTALL_DIRS) "$(install_prefix)$(GNOME_PANELDIR)"       ;\
461            fi                                                                ;\
462                                                                               \
463            echo $(INSTALL_DATA) screensaver-properties.desktop                \
464                         $(GNOME_PANELDIR)/screensaver-properties.desktop     ;\
465            if   $(INSTALL_DATA) screensaver-properties.desktop                \
466        $(install_prefix)$(GNOME_PANELDIR)/screensaver-properties.desktop     ;\
467              then true                                                       ;\
468            else                                                               \
469              lost="$$lost $(install_prefix)$(GNOME_PANELDIR)"                ;\
470            fi                                                                ;\
471                                                                               \
472            if [ "$$lost" != "" ]; then                                        \
473              e=echo ;                                                         \
474  $$e ""                                                                      ;\
475  $$e "  ####################################################################";\
476  $$e "  Warning: unable to install screensaver-properties.desktop into:"     ;\
477         set - $$lost                                                         ;\
478         for f in $$@ ; do echo "             $$f/" ; done                    ;\
479  $$e '           This means the "Screen Saver" section of the Gnome'         ;\
480  $$e "           Control Center (gnomecc) may not work properly."            ;\
481  $$e "  ####################################################################";\
482  $$e ""                                                                      ;\
483              exit 1 ;                                                         \
484            fi                                                                ;\
485          fi
486
487 install-gnome:: screensaver-properties-capplet
488         @if [ "$(GNOME_DATADIR)" != "" ]; then                                \
489            if [ ! -d "$(install_prefix)$(GNOME_BINDIR)" ]; then               \
490              echo $(INSTALL_DIRS) "$(install_prefix)$(GNOME_BINDIR)"         ;\
491                   $(INSTALL_DIRS) "$(install_prefix)$(GNOME_BINDIR)"         ;\
492            fi                                                                ;\
493            program=screensaver-properties-capplet                            ;\
494            echo $(INSTALL_SCRIPT) $(srcdir)/$$program                         \
495                   $(install_prefix)$(GNOME_BINDIR)/$$program                 ;\
496            if   $(INSTALL_SCRIPT) $(srcdir)/$$program                         \
497                   $(install_prefix)$(GNOME_BINDIR)/$$program                 ;\
498              then true                                                       ;\
499            else                                                               \
500              e=echo ;                                                         \
501  $$e ""                                                                      ;\
502  $$e "  ####################################################################";\
503  $$e "  Warning: unable to install $$program into"                           ;\
504  $$e "           $(install_prefix)$(GNOME_BINDIR)/."                         ;\
505  $$e "           Without this file, the Gnome session manager will not"      ;\
506  $$e "           launch xscreensaver properly at login time."                ;\
507  $$e "  ####################################################################";\
508  $$e ""                                                                      ;\
509              exit 1 ;                                                         \
510            fi ;                                                               \
511          fi
512
513 # xscreensaver.xpm
514 install-gnome:: $(LOGO)
515         @if [ "$(GLADE_DATADIR)" != "" ]; then                                  \
516            if [ ! -d "$(install_prefix)$(GLADE_DATADIR)" ]; then                \
517              echo $(INSTALL_DIRS) "$(install_prefix)$(GLADE_DATADIR)"          ;\
518                   $(INSTALL_DIRS) "$(install_prefix)$(GLADE_DATADIR)"          ;\
519            fi                                                                ;\
520            target=xscreensaver.xpm                                           ;\
521            echo $(INSTALL_DATA) $(LOGO)                                       \
522                   $(install_prefix)$(GLADE_DATADIR)/$$target                 ;\
523                 $(INSTALL_DATA) $(LOGO)                                       \
524                   $(install_prefix)$(GLADE_DATADIR)/$$target                 ;\
525         fi
526
527 # ../utils/images/screensaver-*.xpm
528 install-gnome::
529         @if [ "$(GLADE_DATADIR)" != "" ]; then                                \
530            if [ ! -d "$(install_prefix)$(GLADE_DATADIR)" ]; then              \
531              echo $(INSTALL_DIRS) "$(install_prefix)$(GLADE_DATADIR)"        ;\
532                   $(INSTALL_DIRS) "$(install_prefix)$(GLADE_DATADIR)"        ;\
533            fi                                                                ;\
534            for target in $(GTK_ICONS) ; do                                    \
535              dest=`echo $$target | sed 's@^.*/@@'`                           ;\
536              echo $(INSTALL_DATA) $$target                                    \
537                   $(install_prefix)$(GLADE_DATADIR)/$$dest                   ;\
538                   $(INSTALL_DATA) $$target                                    \
539                   $(install_prefix)$(GLADE_DATADIR)/$$dest                   ;\
540            done                                                              ;\
541         fi
542
543 # xscreensaver-demo.glade2
544 install-gnome:: xscreensaver-demo.glade2
545         @if [ "$(GLADE_DATADIR)" != "" ]; then                                \
546           if [ ! -d "$(install_prefix)$(GLADE_DATADIR)" ]; then               \
547             echo $(INSTALL_DIRS) "$(install_prefix)$(GLADE_DATADIR)"         ;\
548                  $(INSTALL_DIRS) "$(install_prefix)$(GLADE_DATADIR)"         ;\
549           fi                                                                 ;\
550           target=xscreensaver-demo.glade2                                    ;\
551           echo $(INSTALL_DATA) $(srcdir)/$$target                             \
552             $(install_prefix)$(GLADE_DATADIR)/$$target                       ;\
553           if   $(INSTALL_DATA) $(srcdir)/$$target                             \
554             $(install_prefix)$(GLADE_DATADIR)/$$target                       ;\
555             then true                                                        ;\
556           else                                                                \
557             e=echo ;                                                          \
558  $$e ""                                                                      ;\
559  $$e "  ####################################################################";\
560  $$e "  Warning: unable to install $$target into"                            ;\
561  $$e "           $(install_prefix)$(GLADE_DATADIR)/."                        ;\
562  $$e "           Without this file, xscreensaver-demo will not"              ;\
563  $$e "           be able to run properly."                                   ;\
564  $$e "  ####################################################################";\
565  $$e ""                                                                      ;\
566              exit 1 ;                                                         \
567            fi ;                                                               \
568          fi
569
570
571 # screensaver-properties.desktop
572 uninstall-gnome::
573         @if [ "$(GNOME_DATADIR)" != "" ]; then                                \
574           f=screensaver-properties.desktop                                   ;\
575           echo rm -f $(install_prefix)$(GNOME_CCDIR)/$$f                     ;\
576                rm -f $(install_prefix)$(GNOME_CCDIR)/$$f                     ;\
577           echo rm -f $(install_prefix)$(GNOME_PANELDIR)/$$f                  ;\
578                rm -f $(install_prefix)$(GNOME_PANELDIR)/$$f                  ;\
579         fi
580
581 # screensaver-properties-capplet
582 uninstall-gnome::
583         @if [ "$(GNOME_DATADIR)" != "" ]; then                                \
584           program=screensaver-properties-capplet                             ;\
585           echo rm -f $(install_prefix)$(bindir)/$$program                    ;\
586                rm -f $(install_prefix)$(bindir)/$$program                    ;\
587          fi
588
589 # xscreensaver.xpm
590 uninstall-gnome::
591         @if [ "$(GLADE_DATADIR)" != "" ]; then                                \
592           target=xscreensaver.xpm                                            ;\
593           echo rm -f $(install_prefix)$(GLADE_DATADIR)/$$target                ;\
594                rm -f $(install_prefix)$(GLADE_DATADIR)/$$target                ;\
595          fi
596
597 # xscreensaver.xpm
598 uninstall-gnome::
599         @if [ "$(GLADE_DATADIR)" != "" ]; then                                \
600            for target in $(GTK_ICONS) ; do                                    \
601              dest=`echo $$target | sed 's@^.*/@@'`                           ;\
602              echo rm -f $(install_prefix)$(GLADE_DATADIR)/$$dest             ;\
603                   rm -f $(install_prefix)$(GLADE_DATADIR)/$$dest             ;\
604            done                                                              ;\
605         fi
606
607 install-kde:
608         @src="xscreensaver.kss" ;                                             \
609         if [ "$$KDEDIR" != "" ]; then                                         \
610           dir="$(install_prefix)$$KDEDIR/bin" ;                               \
611           dest="$$dir/$$src" ;                                                \
612           echo $(INSTALL_SCRIPT) $$src $$dest ;                               \
613           if $(INSTALL_SCRIPT) $$src $$dest ; then                            \
614             true ;                                                            \
615           else                                                                \
616             e=echo ;                                                          \
617  $$e ""                                                                      ;\
618  $$e "  ####################################################################";\
619  $$e "  Warning: unable to install $$dest"                                   ;\
620             if [ ! -d $(install_prefix)$$KDEDIR ]; then                       \
621  $$e "           $(install_prefix)$$KDEDIR (\$$KDEDIR) does not exist."      ;\
622             elif [ ! -d $(install_prefix)$$KDEDIR/bin ]; then                 \
623  $$e "           $(install_prefix)$$KDEDIR/bin (\$$KDEDIR/bin) does not exist.";\
624             elif [ -f $$dest ]; then                                          \
625  $$e "           That file exists, and is unwritable."                       ;\
626             else                                                              \
627  $$e "           The directory is unwritable."                               ;\
628             fi                                                               ;\
629  $$e "  ####################################################################";\
630  $$e ""                                                                      ;\
631             exit 1 ;                                                          \
632           fi ;                                                                \
633         fi
634
635 uninstall-kde:
636         @if [ "$$KDEDIR" != "" ]; then                                  \
637           dest="$(install_prefix)$$KDEDIR/bin/xscreensaver.kss" ;       \
638           echo rm -f $$dest ;                                           \
639           rm -f $$dest ;                                                \
640         fi
641
642 clean:
643         -rm -f *.o a.out core $(EXES) $(EXES2) $(TEST_EXES) XScreenSaver_ad.h
644
645 distclean: clean
646         -rm -f Makefile XScreenSaver.ad TAGS *~ "#"* screensaver-properties.desktop
647
648 # Adds all current dependencies to Makefile
649 depend: XScreenSaver_ad.h
650         $(DEPEND) -s '# DO NOT DELETE: updated by make depend'              \
651         $(DEPEND_FLAGS) --                                                  \
652         $(INCLUDES) $(DEFS) $(DEPEND_DEFINES) $(CFLAGS) $(X_CFLAGS) --      \
653         $(SAVER_SRCS) $(CMD_SRCS) $(GETIMG_SRCS_1)
654
655 # Adds some dependencies to Makefile.in -- not totally accurate, but pretty
656 # close.  This excludes dependencies on files in /usr/include, etc.  It tries
657 # to include only dependencies on files which are themselves a part of this
658 # package.
659 distdepend: check_men update_ad_version update_man_version XScreenSaver_ad.h
660         @echo updating dependencies in `pwd`/Makefile.in... ;               \
661         $(DEPEND) -w 0 -f -                                                 \
662         -s '# DO NOT DELETE: updated by make distdepend' $(DEPEND_FLAGS) -- \
663         $(INCLUDES) -I$(ICON_SRC) $(DEFS) $(DEPEND_DEFINES)                 \
664         $(CFLAGS) $(X_CFLAGS) --                                            \
665         $(SAVER_SRCS_1) $(MOTIF_SRCS) $(GTK_SRCS) $(GETIMG_SRCS_1)          \
666         $(PWENT_SRCS) $(LOCK_SRCS_1) $(DEMO_SRCS_1) $(CMD_SRCS)             \
667         $(TEST_SRCS) 2>/dev/null |                                          \
668         sort -d |                                                           \
669         (                                                                   \
670           awk '/^# .*Makefile.in ---/,/^# DO .*distdepend/' < Makefile.in ; \
671           sed -e '/^#.*/d'                                                  \
672               -e 's@ \./@ @g;s@ /[^ ]*@@g;/^.*:$$/d'                        \
673               -e 's@\.\./utils@$$(UTILS_SRC)@g'                             \
674               -e 's@ \([^$$]\)@ $$(srcdir)/\1@g'                            \
675               -e 's@$$.*\(XScreenSaver_ad\)@\1@g'                           \
676               -e 's@ $$(srcdir)/\(.*config\.h\)@ \1@g' ;                    \
677           echo ''                                                           \
678         ) > /tmp/distdepend.$$$$ &&                                         \
679         mv Makefile.in Makefile.in.bak &&                                   \
680         mv /tmp/distdepend.$$$$ Makefile.in
681
682 # Updates the version number in the app-defaults file to be in sync with 
683 # the version number in version.h.  This is so people can tell when they
684 # have a version skew between the app-defaults file and the executable.
685 # Also update hacks/config/README in the same way.
686 update_ad_version::
687         @files="XScreenSaver.ad.in ../hacks/config/README" ;                \
688         U=$(UTILS_SRC)/version.h ;                                          \
689         V=`sed -n 's/.*\([0-9][0-9]*\.[0-9]*\).*/\1/p' < $$U` ;             \
690         D=`date '+%d-%b-%Y'` ;                                              \
691         for S in $$files ; do                                               \
692           echo -n "Updating $$S to $$V $$D... " ;                           \
693           T=/tmp/xs.$$$$ ;                                                  \
694           sed -e "s/\(.*version \)[0-9][0-9]*\.[0-9]*\(.*\)/\1$$V\2/"       \
695               -e "s/\([0-9][0-9]-[A-Z][a-z][a-z]-[0-9][0-9][0-9]*\)/$$D/"   \
696             < $$S > $$T ;                                                   \
697           if cmp -s $$S $$T ; then                                          \
698             echo "unchanged." ;                                             \
699           else                                                              \
700             cat $$T > $$S ;                                                 \
701             echo "done." ;                                                  \
702           fi ;                                                              \
703         done ;                                                              \
704         rm $$T
705
706 update_man_version::
707         @for S in $(MEN); do                                                \
708         U=$(UTILS_SRC)/version.h ;                                          \
709         V=`sed -n 's/.*\([0-9][0-9]*\.[0-9]*\).*/\1/p' < $$U` ;             \
710         V="`date '+%d-%b-%Y'` ($$V)" ;                                      \
711         echo -n "Updating $$S to \"$$V\"... " ;                             \
712         T=/tmp/xs.$$$$ ;                                                    \
713         sed "s/^\(\.TH[^\"]*\)\"[^\"]*\"\(.*\)/\1\"$$V\"\2/"                \
714           < $$S > $$T ;                                                     \
715         if cmp -s $$S $$T ; then                                            \
716           echo "unchanged." ;                                               \
717         else                                                                \
718           cat $$T > $$S ;                                                   \
719           echo "done." ;                                                    \
720         fi ;                                                                \
721         rm $$T ;                                                            \
722         done
723
724 TAGS: tags
725 tags:
726         find $(srcdir) -name '*.[chly]' -print | xargs etags -a
727
728 echo_tarfiles:
729         @$(MAKE) XScreenSaver_ad.h 2>&1 >&- /dev/null
730         @echo $(TARFILES)
731
732 check_men:
733         @badmen="" ;                                                    \
734          for exe in $(EXES); do                                         \
735            if ! [ -f $(srcdir)/$$exe.man ]; then                        \
736              badmen="$$badmen $$exe" ;                                  \
737            fi ;                                                         \
738          done ;                                                         \
739          if [ -n "$$badmen" ]; then                                     \
740            echo "" ;                                                    \
741            echo "Warning: The following programs have no manuals:" ;    \
742            echo "" ;                                                    \
743            for m in $$badmen ; do                                       \
744              echo "    $$m" ;                                           \
745            done ;                                                       \
746            echo "" ;                                                    \
747          fi
748
749
750 # Rules for noticing when the objects from the utils directory are out of
751 # date with respect to their sources, and going and building them according
752 # to the rules in their own Makefile...
753 #
754 $(UTILS_BIN)/fade.o:            $(UTILS_SRC)/fade.c
755 $(UTILS_BIN)/overlay.o:         $(UTILS_SRC)/overlay.c
756 $(UTILS_BIN)/resources.o:       $(UTILS_SRC)/resources.c
757 $(UTILS_BIN)/usleep.o:          $(UTILS_SRC)/usleep.c
758 $(UTILS_BIN)/visual.o:          $(UTILS_SRC)/visual.c
759 $(UTILS_BIN)/xmu.o:             $(UTILS_SRC)/xmu.c
760 $(UTILS_BIN)/logo.o:            $(UTILS_SRC)/logo.c
761 $(UTILS_BIN)/yarandom.o:        $(UTILS_SRC)/yarandom.c
762 $(UTILS_BIN)/colorbars.o:       $(UTILS_SRC)/colorbars.c
763
764 $(SAVER_UTIL_OBJS):
765         cd $(UTILS_BIN) ; \
766         $(MAKE) $(@F) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
767
768 # How we build object files in this directory.
769 .c.o:
770         $(CC) -c $(INCLUDES) $(DEFS)  $(CFLAGS) $(X_CFLAGS) $<
771
772 # subprocs takes an extra -D option.
773 subprocs.o: subprocs.c
774         $(CC) -c $(INCLUDES) $(SUBP_DEFS) $(CFLAGS) $(X_CFLAGS) \
775           $(srcdir)/subprocs.c
776
777 # demo-Gtk takes extra -D options, and an extra -I option.
778 demo-Gtk.o: demo-Gtk.c
779         $(CC) -c $(INCLUDES) $(SUBP_DEFS) -I$(ICON_SRC) \
780           $(GTK_DEFS) $(INTL_DEFS) $(CFLAGS) $(X_CFLAGS) \
781           $(srcdir)/demo-Gtk.c
782
783 # demo-Gtk-conf takes an extra -D option.
784 demo-Gtk-conf.o: demo-Gtk-conf.c
785         $(CC) -c $(INCLUDES) $(CONF_DEFS) $(GTK_DEFS) $(CFLAGS) $(X_CFLAGS) \
786           $(srcdir)/demo-Gtk-conf.c
787
788
789 # How we build the default app-defaults file into the program.
790 #
791 XScreenSaver_ad.h: XScreenSaver.ad
792         $(SHELL) $(UTILS_SRC)/ad2c XScreenSaver.ad > XScreenSaver_ad.h
793
794 @INTLTOOL_DESKTOP_RULE@
795
796 # The executables linked in this directory.
797 #
798 xscreensaver: $(SAVER_OBJS)
799         $(CC) $(LDFLAGS) -o $@ $(SAVER_OBJS) $(SAVER_LIBS)
800
801 xscreensaver-command: $(CMD_OBJS)
802         $(CC) $(LDFLAGS) -o $@ $(CMD_OBJS) $(CMD_LIBS)
803
804
805 xscreensaver-demo: @PREFERRED_DEMO_PROGRAM@
806         cp -p @PREFERRED_DEMO_PROGRAM@@EXEEXT@ $@@EXEEXT@
807 #       $(INSTALL_PROGRAM) @PREFERRED_DEMO_PROGRAM@ $@
808
809 xscreensaver-demo-Xm: $(DEMO_OBJS) $(MOTIF_OBJS)
810         $(CC) $(LDFLAGS) -o $@ $(DEMO_OBJS) $(MOTIF_OBJS) $(LIBS) $(X_LIBS) \
811         $(MOTIF_LIBS) $(INTL_LIBS) $(X_PRE_LIBS) -lXt -lX11 \
812         $(XDPMS_LIBS) -lXext $(X_EXTRA_LIBS)
813
814 xscreensaver-demo-Gtk: $(DEMO_OBJS) $(GTK_OBJS)
815         $(CC) $(LDFLAGS) -o $@ $(DEMO_OBJS) $(GTK_OBJS) $(LIBS) $(X_LIBS) \
816         $(GTK_LIBS) $(XML_LIBS) $(INTL_LIBS) $(X_PRE_LIBS) -lXt -lX11 \
817         $(XDPMS_LIBS) -lXext $(X_EXTRA_LIBS)
818
819 xscreensaver-getimage: $(GETIMG_OBJS)
820         $(CC) $(LDFLAGS) -o $@ $(GETIMG_OBJS) $(GETIMG_LIBS) -lm
821
822
823 TEST_PASSWD_OBJS = test-passwd.o $(LOCK_OBJS_1) $(PASSWD_OBJS) \
824          subprocs.o setuid.o splash.o prefs.o \
825         $(SAVER_UTIL_OBJS)
826 test-passwd.o: XScreenSaver_ad.h
827
828 test-passwd: $(TEST_PASSWD_OBJS) XScreenSaver_ad.h
829         $(CC) $(LDFLAGS) -o $@ $(TEST_PASSWD_OBJS) $(SAVER_LIBS)
830
831 test-uid: test-uid.o
832         $(CC) $(LDFLAGS) -o $@ test-uid.o
833
834 test-xdpms: test-xdpms.o
835         $(CC) $(LDFLAGS) -o $@ test-xdpms.o $(LIBS) $(X_LIBS) $(XDPMS_LIBS) \
836         $(X_PRE_LIBS) -lXt -lX11 -lXext $(X_EXTRA_LIBS)
837
838 test-grab: test-grab.o
839         $(CC) $(LDFLAGS) -o $@ test-grab.o $(SAVER_LIBS)
840
841 test-apm: test-apm.o
842         $(CC) $(LDFLAGS) -o $@ test-apm.o $(SAVER_LIBS) -lapm
843
844 TEST_FADE_OBJS = test-fade.o $(UTILS_SRC)/fade.o $(DEMO_UTIL_OBJS)
845 test-fade: test-fade.o $(UTILS_BIN)/fade.o
846         $(CC) $(LDFLAGS) -o $@ $(TEST_FADE_OBJS) $(SAVER_LIBS)
847
848
849 xdpyinfo.o: xdpyinfo.c
850         $(CC) -c $(INCLUDES) -DHAVE_GLX $(CFLAGS) $(X_CFLAGS) \
851           $(srcdir)/xdpyinfo.c
852
853 xdpyinfo: xdpyinfo.o
854         $(CC) $(LDFLAGS) -o $@ xdpyinfo.o \
855                 $(LIBS) $(X_LIBS) @GL_LIBS@ \
856                 $(X_PRE_LIBS) -lX11 -lXext $(X_EXTRA_LIBS) -lm
857
858
859 ##############################################################################
860 #
861 # DO NOT DELETE: updated by make distdepend
862
863 demo-Gtk-conf.o: ../config.h
864 demo-Gtk-conf.o: $(srcdir)/demo-Gtk-conf.h
865 demo-Gtk.o: XScreenSaver_ad.h
866 demo-Gtk.o: ../config.h
867 demo-Gtk.o: $(srcdir)/demo-Gtk-conf.h
868 demo-Gtk.o: $(srcdir)/demo-Gtk-support.h
869 demo-Gtk.o: $(srcdir)/demo-Gtk-widgets.h
870 demo-Gtk.o: $(srcdir)/prefs.h
871 demo-Gtk.o: $(srcdir)/remote.h
872 demo-Gtk-support.o: ../config.h
873 demo-Gtk-support.o: $(srcdir)/demo-Gtk-support.h
874 demo-Gtk-widgets.o: ../config.h
875 demo-Gtk-widgets.o: $(srcdir)/demo-Gtk-stubs.h
876 demo-Gtk-widgets.o: $(srcdir)/demo-Gtk-support.h
877 demo-Gtk-widgets.o: $(srcdir)/demo-Gtk-widgets.h
878 demo-Xm.o: XScreenSaver_ad.h
879 demo-Xm.o: ../config.h
880 demo-Xm.o: $(srcdir)/prefs.h
881 demo-Xm.o: $(srcdir)/remote.h
882 demo-Xm-widgets.o: ../config.h
883 dpms.o: ../config.h
884 dpms.o: $(srcdir)/prefs.h
885 dpms.o: $(srcdir)/xscreensaver.h
886 exec.o: ../config.h
887 lock.o: ../config.h
888 lock.o: $(srcdir)/prefs.h
889 lock.o: $(srcdir)/xscreensaver.h
890 passwd.o: ../config.h
891 passwd-pwent.o: ../config.h
892 prefs.o: ../config.h
893 prefs.o: $(srcdir)/prefs.h
894 remote.o: ../config.h
895 remote.o: $(srcdir)/remote.h
896 setuid.o: ../config.h
897 setuid.o: $(srcdir)/prefs.h
898 setuid.o: $(srcdir)/xscreensaver.h
899 splash.o: ../config.h
900 splash.o: $(srcdir)/prefs.h
901 splash.o: $(srcdir)/xscreensaver.h
902 stderr.o: ../config.h
903 stderr.o: $(srcdir)/prefs.h
904 stderr.o: $(srcdir)/xscreensaver.h
905 subprocs.o: ../config.h
906 subprocs.o: $(srcdir)/prefs.h
907 subprocs.o: $(srcdir)/xscreensaver.h
908 test-apm.o: ../config.h
909 test-fade.o: ../config.h
910 test-fade.o: $(srcdir)/prefs.h
911 test-fade.o: $(srcdir)/xscreensaver.h
912 test-grab.o: ../config.h
913 test-passwd.o: XScreenSaver_ad.h
914 test-passwd.o: ../config.h
915 test-passwd.o: $(srcdir)/prefs.h
916 test-passwd.o: $(srcdir)/xscreensaver.h
917 test-uid.o: ../config.h
918 test-xdpms.o: ../config.h
919 timers.o: ../config.h
920 timers.o: $(srcdir)/prefs.h
921 timers.o: $(srcdir)/xscreensaver.h
922 windows.o: ../config.h
923 windows.o: $(srcdir)/prefs.h
924 windows.o: $(srcdir)/xscreensaver.h
925 xscreensaver-command.o: ../config.h
926 xscreensaver-command.o: $(srcdir)/remote.h
927 xscreensaver-getimage.o: ../config.h
928 xscreensaver-getimage.o: XScreenSaver_ad.h
929 xscreensaver-getimage.o: $(srcdir)/prefs.h
930 xscreensaver.o: XScreenSaver_ad.h
931 xscreensaver.o: ../config.h
932 xscreensaver.o: $(srcdir)/prefs.h
933 xscreensaver.o: $(srcdir)/xscreensaver.h
934 xset.o: ../config.h
935 xset.o: $(srcdir)/prefs.h
936 xset.o: $(srcdir)/xscreensaver.h
937