Makefile.am 793 B

12345678910111213141516171819202122232425262728293031323334
  1. MAITAINERCLEANFILES = Makefile.in
  2. bin_PROGRAMS = dtspcd
  3. dtspcd_CFLAGS = -DCDE_CONFIGURATION_TOP=\"${prefix}\" \
  4. -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
  5. $(DT_INCDIR)
  6. dtspcd_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
  7. if SOLARIS
  8. dtspcd_LDADD += -lgen
  9. endif
  10. cfgdir = $(CDE_INSTALLATION_TOP)/config
  11. dist_cfg_DATA = dtspcdenv
  12. # I really think we should get rid of dtspcd in general...
  13. dtspcd_SOURCES = main.c spcd_event.c
  14. DEF_SYSTEM_PATH = "/bin:/usr/bin"
  15. LOCAL_CPP_DEFINES = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  16. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
  17. -DDEF_SYSTEM_PATH=$(DEF_SYSTEM_PATH)
  18. CPP_TARGETS = dtspcdenv
  19. BUILT_SOURCES = $(CPP_TARGETS)
  20. CLEANFILES = $(CPP_TARGETS)
  21. dtspcdenv: dtspcdenv.src
  22. $(RM) $@
  23. $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@