1 XCOMM $XConsortium: Imakefile /main/10 1996/10/28 12:05:34 cde-hp $
3 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
7 MakeSubdirs($(SUBDIRS))
8 ForceSubdirs($(SUBDIRS))
9 DependSubdirs($(SUBDIRS))
12 XINOPT = -DUSE_XINERAMA
13 XINLIB = -lDtXinerama -lXinerama
16 DEPEND_DEFINES = $(DEPENDDEFINES)
17 DEFINES = -DSHAPE -D_ILS_MACROS -DSUN_PERF \
18 -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
19 -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
20 -DKORNSHELL=\"$(KORNSHELL)\" $(XINOPT)
22 INCLUDES = -I./dtcopy $(TIRPCINC)
24 DEPLIBS = DepDtClientLibs
25 LOCAL_LIBRARIES = DtClientLibs $(XINLIB)
26 SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
28 #ifdef AlphaArchitecture
29 EXTRA_DEFINES = -D_TOOLTALK
32 #ifdef OpenBSDArchitecture
33 EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
36 #if defined (SunArchitecture)
40 #if defined(LinuxArchitecture)
41 EXTRA_INCLUDES = -I/usr/include/freetype2
42 EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
45 #if defined(BSDArchitecture)
46 EXTRA_INCLUDES = -I$(XPROJECTROOT)/include/freetype2
47 EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
50 SRCS = ChangeDir.c ChangeDirP.c Command.c Common.c \
51 Desktop.c Directory.c Encaps.c File.c \
52 FileDialog.c FileManip.c FileMgr.c FileOp.c \
53 Filter.c FilterP.c Find.c FindP.c \
54 Help.c HelpCB.c HelpP.c IconWindow.c \
55 IconicPath.c Main.c Menu.c MkDir.c \
56 ModAttr.c ModAttrP.c MultiView.c OverWrite.c \
57 Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
58 ToolTalk.c Trash.c Utils.c fsDialog.c
60 DTCOPY_OBJS = dtcopy/sharedFuncs.o dtcopy/fsrtns.o
62 OBJS = ChangeDir.o ChangeDirP.o Command.o Common.o \
63 Desktop.o Directory.o Encaps.o File.o \
64 FileDialog.o FileManip.o FileMgr.o FileOp.o \
65 Filter.o FilterP.o Find.o FindP.o \
66 Help.o HelpCB.o HelpP.o IconWindow.o \
67 IconicPath.o Main.o Menu.o MkDir.o \
68 ModAttr.o ModAttrP.o MultiView.o OverWrite.o \
69 Prefs.o PrefsP.o SharedMsgs.o SharedProcs.o \
70 ToolTalk.o Trash.o Utils.o fsDialog.o \
73 ComplexProgramTarget(dtfile)
75 LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
76 -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
78 CPP_TARGETS = dtfile.config dtfile_error
80 AllTarget($(CPP_TARGETS))
82 CppSourceFile(dtfile.config,dtfile.config.cpp,$(LOCAL_CPP_DEFINES),)
83 MakeScriptFromCpp(dtfile_error,$(LOCAL_CPP_DEFINES))