2
0

Makefile.am 625 B

123456789101112131415161718192021222324
  1. MAINTAINERCLEANFILES = Makefile.in
  2. if HAS_PAM_LIBRARY
  3. CPP_TARGET = dtsession
  4. dist_pam_DATA = $(CPP_TARGET)
  5. if FREEBSD
  6. pamdir = /usr/local/etc/pam.d
  7. PAM_AUTHENTICATION_MODULE = /usr/local/lib/security/pam_pwauth_suid.so
  8. AM_CPPFLAGS = -DPAM_AUTHENTICATION_MODULE=$(PAM_AUTHENTICATION_MODULE)
  9. else
  10. pamdir = /etc/pam.d
  11. if NETBSD
  12. PAM_AUTHENTICATION_MODULE = /usr/pkg/lib/security/pam_pwauth_suid.so
  13. AM_CPPFLAGS = -DPAM_AUTHENTICATION_MODULE=$(PAM_AUTHENTICATION_MODULE)
  14. endif
  15. endif
  16. endif
  17. BUILT_SOURCES = $(CPP_TARGET)
  18. CLEANFILES = $(CPP_TARGET)
  19. dtsession: dtsession.src
  20. $(RM) $@
  21. $(GENCPP) -P -DXCOMM=# $(AM_CPPFLAGS) $< > $@