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