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