Merge branch 'master' of https://git.code.sf.net/p/cdesktopenv/code
[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 #if defined(OpenBSDArchitecture) || defined(FreeBSDArchitecture)
35 EXTRA_INCLUDES = -I$(XPROJECTROOT)/include/freetype2
36 #endif
37
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         version.c
48
49 DTCOPY_OBJS = dtcopy/sharedFuncs.o dtcopy/fsrtns.o
50
51 OBJS =  ChangeDir.o     ChangeDirP.o    Command.o       Common.o \
52         Desktop.o       Directory.o     Encaps.o        File.o \
53         FileDialog.o    FileManip.o     FileMgr.o       FileOp.o \
54         Filter.o        FilterP.o       Find.o          FindP.o \
55         Help.o          HelpCB.o        HelpP.o         IconWindow.o \
56         IconicPath.o    Main.o          Menu.o          MkDir.o \
57         ModAttr.o       ModAttrP.o      MultiView.o     OverWrite.o \
58         Prefs.o         PrefsP.o        SharedMsgs.o    SharedProcs.o \
59         ToolTalk.o      Trash.o         Utils.o         fsDialog.o \
60         version.o       $(DTCOPY_OBJS)
61
62 ComplexProgramTarget(dtfile)
63
64 LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
65                     -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
66
67 CPP_TARGETS = dtfile.config dtfile_error
68
69 AllTarget($(CPP_TARGETS))
70
71 CppSourceFile(dtfile.config,dtfile.config.cpp,$(LOCAL_CPP_DEFINES),)
72 MakeScriptFromCpp(dtfile_error,$(LOCAL_CPP_DEFINES))