Makefile.am 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. MAINTAINERCLEANFILES = Makefile.in
  2. bin_PROGRAMS = dtstyle
  3. dtstyle_CPPFLAGS = -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
  4. -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" -I../dthelp \
  5. $(DT_INCDIR)
  6. dtstyle_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
  7. dtstyle_SOURCES = Main.c MainWin.c Font.c Audio.c Startup.c Mouse.c \
  8. SaveRestore.c Backdrop.c Screen.c Keyboard.c \
  9. ColorMain.c ColorPalette.c ColorFile.c ColorEdit.c \
  10. Resource.c Protocol.c Dtwm.c Help.c HelpCB.c \
  11. I18nMain.c I18nEnv.c I18nUtil.c Audio.h ColorMain.h \
  12. Help.h Keyboard.h OWsync.h Screen.h Backdrop.h \
  13. ColorPalette.h I18nEnv.h Main.h Protocol.h \
  14. Startup.h ColorEdit.h Dtwm.h I18nMain.h MainWin.h \
  15. Resource.h ColorFile.h Font.h I18nUtil.h Mouse.h \
  16. SaveRestore.h
  17. if SOLARIS
  18. dtstyle_SOURCES += OWsync.c
  19. endif
  20. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=${prefix}
  21. CPP_TARGETS = Dtstyle Backdrops Palettes
  22. BUILT_SOURCES = $(CPP_TARGETS)
  23. CLEANFILES = $(CPP_TARGETS)
  24. Dtstyle: Dtstyle.src
  25. $(RM) $@
  26. $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
  27. Backdrops: Backdrops.src
  28. $(RM) $@
  29. $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
  30. Palettes: Palettes.src
  31. $(RM) $@
  32. $(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@