]>
Commit | Line | Data |
---|---|---|
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 | |
14 | .ifdef __WXGTK__ | |
15 | CXX_DEFINE = /define=(__WXGTK__=1) | |
16 | .else | |
17 | CXX_DEFINE = | |
18 | .endif | |
19 | .endif | |
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,\ | |
30 | dir.obj,\ | |
31 | fontenum.obj,\ | |
32 | fontutil.obj,\ | |
33 | gsocket.obj,\ | |
34 | mimetype.obj,\ | |
35 | threadpsx.obj,\ | |
36 | utilsunx.obj | |
37 | ||
38 | SOURCES = \ | |
39 | dialup.cpp,\ | |
40 | dir.cpp,\ | |
41 | fontenum.cpp,\ | |
42 | fontutil.cpp,\ | |
43 | gsocket.c,\ | |
44 | mimetype.cpp,\ | |
45 | threadpsx.cpp,\ | |
46 | utilsunx.cpp | |
47 | ||
48 | all : $(SOURCES) | |
49 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
50 | .ifdef __WXMOTIF__ | |
51 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
52 | .else | |
53 | .ifdef __WXGTK__ | |
54 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
55 | .endif | |
56 | .endif | |
57 | ||
58 | dialup.obj : dialup.cpp | |
59 | dir.obj : dir.cpp | |
60 | fontenum.obj : fontenum.cpp | |
61 | fontutil.obj : fontutil.cpp | |
62 | gsocket.obj : gsocket.c | |
63 | mimetype.obj : mimetype.cpp | |
64 | threadpsx.obj : threadpsx.cpp | |
65 | utilsunx.obj : utilsunx.cpp |