Imakefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. XCOMM $TOG: Imakefile /main/11 1999/02/26 11:29:47 mgreess $
  2. DEFINES = -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
  3. -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
  4. INCLUDES = -I. -I$(DTHELPSRC) $(TIRPCINC)
  5. #ifdef HPArchitecture
  6. EXTRA_DEFINES = -D_XOPEN_SOURCE -D__hpux_8_0 -DFUNCPROTO
  7. #endif
  8. DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXLIB)
  9. LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XLIB)
  10. DEF_SYSTEM_PATH = DefaultSystemPath:X11ProjectRoot/bin
  11. #if defined(SunArchitecture)
  12. LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) \
  13. $(XMLIB) $(XTOOLLIB) $(XLIB)
  14. SYS_LIBRARIES = -lm -ldl -lgen
  15. #endif
  16. #if defined(LinuxArchitecture) || defined(BSDArchitecture)
  17. LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) \
  18. $(XMLIB) $(XTOOLLIB) $(XLIB)
  19. SYS_LIBRARIES = -lm
  20. #endif
  21. SRCS = main.c spcd_event.c
  22. OBJS = main.o spcd_event.o
  23. ComplexProgramTarget(dtspcd)
  24. LOCAL_CPP_DEFINES = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  25. -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  26. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
  27. -DDEF_SYSTEM_PATH=$(DEF_SYSTEM_PATH)
  28. CppFileTarget(dtspcdenv,dtspcdenv.src,$(LOCAL_CPP_DEFINES),)
  29. AllTarget(dtspcdenv)