Imakefile 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. XCOMM $XConsortium: Imakefile /main/10 1996/10/28 12:05:34 cde-hp $
  2. #define IHaveSubdirs
  3. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  4. SUBDIRS = dtcopy
  5. MakeSubdirs($(SUBDIRS))
  6. ForceSubdirs($(SUBDIRS))
  7. DependSubdirs($(SUBDIRS))
  8. DEFINES = -DMULTIBYTE -DSHAPE -D_ILS_MACROS -DSUN_PERF \
  9. -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
  10. -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
  11. -DKORNSHELL=\"$(KORNSHELL)\"
  12. INCLUDES = -I./dtcopy
  13. DEPLIBS = DepDtClientLibs
  14. LOCAL_LIBRARIES = DtClientLibs
  15. SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
  16. #ifdef AlphaArchitecture
  17. EXTRA_DEFINES = -D_TOOLTALK
  18. #endif
  19. #ifdef OpenBSDArchitecture
  20. EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
  21. #endif
  22. #if defined (SunArchitecture)
  23. EXTRA_CCOPTIONS = -xF
  24. #endif
  25. #if defined(LinuxArchitecture)
  26. EXTRA_INCLUDES = -I/usr/include/freetype2
  27. #endif
  28. #if defined(BSDArchitecture)
  29. EXTRA_INCLUDES = -I$(XPROJECTROOT)/include/freetype2
  30. #endif
  31. SRCS = ChangeDir.c ChangeDirP.c Command.c Common.c \
  32. Desktop.c Directory.c Encaps.c File.c \
  33. FileDialog.c FileManip.c FileMgr.c FileOp.c \
  34. Filter.c FilterP.c Find.c FindP.c \
  35. Help.c HelpCB.c HelpP.c IconWindow.c \
  36. IconicPath.c Main.c Menu.c MkDir.c \
  37. ModAttr.c ModAttrP.c MultiView.c OverWrite.c \
  38. Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
  39. ToolTalk.c Trash.c Utils.c fsDialog.c \
  40. version.c
  41. DTCOPY_OBJS = dtcopy/sharedFuncs.o dtcopy/fsrtns.o
  42. OBJS = ChangeDir.o ChangeDirP.o Command.o Common.o \
  43. Desktop.o Directory.o Encaps.o File.o \
  44. FileDialog.o FileManip.o FileMgr.o FileOp.o \
  45. Filter.o FilterP.o Find.o FindP.o \
  46. Help.o HelpCB.o HelpP.o IconWindow.o \
  47. IconicPath.o Main.o Menu.o MkDir.o \
  48. ModAttr.o ModAttrP.o MultiView.o OverWrite.o \
  49. Prefs.o PrefsP.o SharedMsgs.o SharedProcs.o \
  50. ToolTalk.o Trash.o Utils.o fsDialog.o \
  51. version.o $(DTCOPY_OBJS)
  52. ComplexProgramTarget(dtfile)
  53. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  54. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
  55. CPP_TARGETS = dtfile.config dtfile_error
  56. AllTarget($(CPP_TARGETS))
  57. CppSourceFile(dtfile.config,dtfile.config.cpp,$(LOCAL_CPP_DEFINES),)
  58. MakeScriptFromCpp(dtfile_error,$(LOCAL_CPP_DEFINES))