Imakefile 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. #if CDE_USEXINERAMA
  9. XINOPT = -DUSE_XINERAMA
  10. XINLIB = -lDtXinerama -lXinerama
  11. #endif
  12. DEPEND_DEFINES = $(DEPENDDEFINES)
  13. DEFINES = -DSHAPE -D_ILS_MACROS -DSUN_PERF \
  14. -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
  15. -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
  16. -DKORNSHELL=\"$(KORNSHELL)\" $(XINOPT)
  17. INCLUDES = -I./dtcopy $(TIRPCINC)
  18. DEPLIBS = DepDtClientLibs
  19. LOCAL_LIBRARIES = DtClientLibs $(XINLIB)
  20. SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
  21. #ifdef AlphaArchitecture
  22. EXTRA_DEFINES = -D_TOOLTALK
  23. #endif
  24. #ifdef OpenBSDArchitecture
  25. EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
  26. #endif
  27. #if defined (SunArchitecture)
  28. EXTRA_CCOPTIONS = -xF
  29. #endif
  30. #if defined(LinuxArchitecture)
  31. EXTRA_INCLUDES = -I/usr/include/freetype2
  32. EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
  33. #endif
  34. #if defined(BSDArchitecture)
  35. EXTRA_INCLUDES = -I$(XPROJECTROOT)/include/freetype2
  36. EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
  37. #endif
  38. SRCS = ChangeDir.c ChangeDirP.c Command.c Common.c \
  39. Desktop.c Directory.c Encaps.c File.c \
  40. FileDialog.c FileManip.c FileMgr.c FileOp.c \
  41. Filter.c FilterP.c Find.c FindP.c \
  42. Help.c HelpCB.c HelpP.c IconWindow.c \
  43. IconicPath.c Main.c Menu.c MkDir.c \
  44. ModAttr.c ModAttrP.c MultiView.c OverWrite.c \
  45. Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
  46. ToolTalk.c Trash.c Utils.c fsDialog.c
  47. DTCOPY_OBJS = dtcopy/sharedFuncs.o dtcopy/fsrtns.o
  48. OBJS = ChangeDir.o ChangeDirP.o Command.o Common.o \
  49. Desktop.o Directory.o Encaps.o File.o \
  50. FileDialog.o FileManip.o FileMgr.o FileOp.o \
  51. Filter.o FilterP.o Find.o FindP.o \
  52. Help.o HelpCB.o HelpP.o IconWindow.o \
  53. IconicPath.o Main.o Menu.o MkDir.o \
  54. ModAttr.o ModAttrP.o MultiView.o OverWrite.o \
  55. Prefs.o PrefsP.o SharedMsgs.o SharedProcs.o \
  56. ToolTalk.o Trash.o Utils.o fsDialog.o \
  57. $(DTCOPY_OBJS)
  58. ComplexProgramTarget(dtfile)
  59. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  60. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
  61. CPP_TARGETS = dtfile.config dtfile_error
  62. AllTarget($(CPP_TARGETS))
  63. CppSourceFile(dtfile.config,dtfile.config.cpp,$(LOCAL_CPP_DEFINES),)
  64. MakeScriptFromCpp(dtfile_error,$(LOCAL_CPP_DEFINES))