-fpermissive to allow GCC to compile old C++
[oweals/cde.git] / cde / programs / dtmail / MotifApp / Imakefile
1 XCOMM $TOG: Imakefile /main/8 1998/08/05 13:24:05 mgreess $
2 #define DoNormalLib     YES
3 #define DoSharedLib     NO
4 #define DoDebugLib      NO
5 #define DoProfileLib    NO
6 #define LibName         MotifApp
7 #define LibHeaders      NO
8
9 #define CplusplusSource YES
10 DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
11
12 #include <Threads.tmpl>
13
14 INCLUDES = -I../include/MotifApp -I../include -I../include/utils
15
16 #ifndef DtMailDefines
17 # define DtMailDefines
18 #endif
19 DEFINES = DtMailDefines
20
21 #ifdef HPArchitecture
22 EXTRA_C++OPTIONS =      +p
23 #endif
24
25 #ifdef SunArchitecture
26 # ifdef USE_SPRO_V3
27 SPRO_V3_OPTIONS =      -noex -xO0 -USPRO_V2
28 #  ifdef DEBUGTREE
29 SPRO_V3_OPTIONS +=      -xsb
30 #  endif
31 # endif
32
33 EXTRA_C++OPTIONS =     -xF +p +w $(SPRO_V3_OPTIONS)
34
35 #endif /* SunArchitecture */
36
37 #if defined(LinuxDistribution)
38 CXXEXTRA_DEFINES = -fpermissive
39 #endif
40
41
42 HEADERS = 
43
44 SRCS = \
45         Application.C           AskFirstCmd.C \
46         BasicComponent.C        BusyPixmap.C \
47         ButtonInterface.C       Cmd.C \
48         CmdInterface.C          CmdList.C \
49         DialogManager.C         Help.C \
50         IconifyCmd.C            InfoDialogManager.C \
51         InterruptibleCmd.C      Main.C \
52         MainWindow.C            ManageCmd.C \
53         MenuBar.C               MenuWindow.C \
54         MotifCmds.C             NoUndoCmd.C \
55         PixmapCycler.C          PromptDialogManager.C \
56         QuestionDialogManager.C QuitCmd.C \
57         ScrollingList.C         SelectFileCmd.C \
58         ToggleButtonInterface.C UIComponent.C \
59         UndoCmd.C               WarnNoUndoCmd.C \
60         WorkingDialogManager.C
61
62 OBJS = \
63         Application.o           AskFirstCmd.o \
64         BasicComponent.o        BusyPixmap.o \
65         ButtonInterface.o       Cmd.o \
66         CmdInterface.o          CmdList.o \
67         DialogManager.o         Help.o \
68         IconifyCmd.o            InfoDialogManager.o \
69         InterruptibleCmd.o      Main.o \
70         MainWindow.o            ManageCmd.o \
71         MenuBar.o               MenuWindow.o \
72         MotifCmds.o             NoUndoCmd.o \
73         PixmapCycler.o          PromptDialogManager.o \
74         QuestionDialogManager.o QuitCmd.o \
75         ScrollingList.o         SelectFileCmd.o \
76         ToggleButtonInterface.o UIComponent.o \
77         UndoCmd.o               WarnNoUndoCmd.o \
78         WorkingDialogManager.o
79
80 #include <Library.tmpl>
81
82 DependTarget()
83
84 #ifdef SunArchitecture
85 clean::
86         $(RM) -r .sb
87         $(RM) .make.state*
88 #endif