]>
Commit | Line | Data |
---|---|---|
62edfd9e JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * | |
5 | # Date : 10 November 1999 * | |
6 | # * | |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
12 | CXX_DEFINE = /define=(__WXMOTIF__=1) | |
13 | .else | |
3fa056ab JJ |
14 | .ifdef __WXGTK__ |
15 | CXX_DEFINE = /define=(__WXGTK__=1) | |
16 | .else | |
62edfd9e JJ |
17 | CXX_DEFINE = |
18 | .endif | |
3fa056ab | 19 | .endif |
62edfd9e JJ |
20 | |
21 | .suffixes : .cpp | |
22 | ||
23 | .cpp.obj : | |
24 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
25 | .c.obj : | |
26 | cc $(CFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).c | |
27 | ||
28 | OBJECTS = \ | |
29 | dialup.obj,\ | |
f49676ee | 30 | dir.obj,\ |
62edfd9e JJ |
31 | fontenum.obj,\ |
32 | fontutil.obj,\ | |
33 | gsocket.obj,\ | |
f49676ee | 34 | mimetype.obj,\ |
62edfd9e JJ |
35 | threadpsx.obj,\ |
36 | utilsunx.obj | |
37 | ||
38 | SOURCES = \ | |
39 | dialup.cpp,\ | |
f49676ee | 40 | dir.cpp,\ |
62edfd9e JJ |
41 | fontenum.cpp,\ |
42 | fontutil.cpp,\ | |
43 | gsocket.c,\ | |
f49676ee | 44 | mimetype.cpp,\ |
62edfd9e JJ |
45 | threadpsx.cpp,\ |
46 | utilsunx.cpp | |
47 | ||
48 | all : $(SOURCES) | |
49 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
50 | .ifdef __WXMOTIF__ | |
51 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
3fa056ab JJ |
52 | .else |
53 | .ifdef __WXGTK__ | |
54 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
55 | .endif | |
62edfd9e JJ |
56 | .endif |
57 | ||
58 | dialup.obj : dialup.cpp | |
f49676ee | 59 | dir.obj : dir.cpp |
62edfd9e JJ |
60 | fontenum.obj : fontenum.cpp |
61 | fontutil.obj : fontutil.cpp | |
62 | gsocket.obj : gsocket.c | |
f49676ee | 63 | mimetype.obj : mimetype.cpp |
62edfd9e JJ |
64 | threadpsx.obj : threadpsx.cpp |
65 | utilsunx.obj : utilsunx.cpp |