X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2FMakefile.in;h=d9b512295c178766710b84e45e79fa0d0b5ef618;hb=a719ec12b8b2563112366a8ac3196816fd64d2c7;hp=e4bb969037e27283e6985934844344a60be0d9e9;hpb=3210e7e80ee2b5a7d2049a5aaff9f17b9c93dcc9;p=xscreensaver diff --git a/driver/Makefile.in b/driver/Makefile.in index e4bb9690..d9b51229 100644 --- a/driver/Makefile.in +++ b/driver/Makefile.in @@ -55,6 +55,8 @@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ AD_DIR = @APPDEFAULTS@ +PAM_DIR = /etc/pam.d +PAM_CONF = /etc/pam.conf UTILS_SRC = $(srcdir)/../utils UTILS_BIN = ../utils @@ -79,7 +81,7 @@ PAM_OBJS = passwd-pam.o LOCK_SRCS_1 = lock.c passwd.c LOCK_OBJS_1 = lock.o passwd.o -TEST_SRCS = test-passwd.c test-uid.c test-xdpms.c +TEST_SRCS = test-passwd.c test-uid.c test-xdpms.c test-grab.c TOOLKIT_SRCS = @TOOLKIT_SRCS@ TOOLKIT_OBJS = @TOOLKIT_OBJS@ @@ -224,8 +226,8 @@ install-pam: @src="$(srcdir)/xscreensaver.pam" ; \ dest=`sed -n 's/.*PAM_SERVICE_NAME[ ]*"\([^"]*\)".*$$/\1/p' \ < ../config.h` ; \ - dir=/etc/pam.d ; \ - conf=/etc/pam.conf ; \ + dir="$(PAM_DIR)" ; \ + conf="$(PAM_CONF)" ; \ \ if [ -d $$dir ] ; then \ echo $(INSTALL_DATA) $$src $$dir/$$dest ; \ @@ -399,6 +401,9 @@ test-uid: test-uid.o test-xdpms: test-xdpms.o $(CC) $(LDFLAGS) -o $@ test-xdpms.o $(SAVER_LIBS) +test-grab: test-grab.o + $(CC) $(LDFLAGS) -o $@ test-grab.o $(SAVER_LIBS) + # This kludge is so that I can build/test the Athena version of the # xscreensaver-demo program without having to re-run configure. @@ -497,4 +502,5 @@ test-passwd.o: $(UTILS_SRC)/visual.h test-passwd.o: XScreenSaver_ad.h test-uid.o: ../config.h test-xdpms.o: ../config.h +test-grab.o: ../config.h