dtwm: basic multihead(xinerama only) support
[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 EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
39 #endif
40
41 #if defined(BSDArchitecture)
42 EXTRA_INCLUDES = -I$(XPROJECTROOT)/include/freetype2
43 EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
44 #endif
45
46 SRCS =  ChangeDir.c     ChangeDirP.c    Command.c       Common.c \
47         Desktop.c       Directory.c     Encaps.c        File.c \
48         FileDialog.c    FileManip.c     FileMgr.c       FileOp.c \
49         Filter.c        FilterP.c       Find.c          FindP.c \
50         Help.c          HelpCB.c        HelpP.c         IconWindow.c \
51         IconicPath.c    Main.c          Menu.c          MkDir.c \
52         ModAttr.c       ModAttrP.c      MultiView.c     OverWrite.c \
53         Prefs.c         PrefsP.c        SharedMsgs.c    SharedProcs.c \
54         ToolTalk.c      Trash.c         Utils.c         fsDialog.c \
55         version.c
56
57 DTCOPY_OBJS = dtcopy/sharedFuncs.o dtcopy/fsrtns.o
58
59 OBJS =  ChangeDir.o     ChangeDirP.o    Command.o       Common.o \
60         Desktop.o       Directory.o     Encaps.o        File.o \
61         FileDialog.o    FileManip.o     FileMgr.o       FileOp.o \
62         Filter.o        FilterP.o       Find.o          FindP.o \
63         Help.o          HelpCB.o        HelpP.o         IconWindow.o \
64         IconicPath.o    Main.o          Menu.o          MkDir.o \
65         ModAttr.o       ModAttrP.o      MultiView.o     OverWrite.o \
66         Prefs.o         PrefsP.o        SharedMsgs.o    SharedProcs.o \
67         ToolTalk.o      Trash.o         Utils.o         fsDialog.o \
68         version.o       $(DTCOPY_OBJS)
69
70 ComplexProgramTarget(dtfile)
71
72 LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
73                     -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
74
75 CPP_TARGETS = dtfile.config dtfile_error
76
77 AllTarget($(CPP_TARGETS))
78
79 CppSourceFile(dtfile.config,dtfile.config.cpp,$(LOCAL_CPP_DEFINES),)
80 MakeScriptFromCpp(dtfile_error,$(LOCAL_CPP_DEFINES))