]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # wxWindows/Unix main source makefile | |
3 | # | |
4 | # Copyright 1998, Markus Holzhem and Robert Roebling | |
5 | # | |
6 | ||
7 | # wxWindows base directory | |
8 | WXBASEDIR=@WXBASEDIR@ | |
9 | ||
10 | # set the OS type for compilation | |
11 | OS=@OS@ | |
12 | ||
13 | # compile a library only | |
14 | RULE=gslib | |
15 | ||
16 | # define common stuff | |
17 | ||
18 | # include gtk.inc, qt.inc or motif.inc here | |
19 | include @MAKEINCLUDE@ | |
20 | ||
21 | LIB_CPP_ALL_SRC=$(LIB_CPP_SRC) @GTK_JOYSTICK@ @UNIX_THREAD@ | |
22 | ||
23 | #define library objects | |
24 | LIB_OBJ=\ | |
25 | $(LIB_CPP_ALL_SRC:.cpp=.o) \ | |
26 | $(LIB_C_SRC:.c=.o) | |
27 | ||
28 | all:: | |
29 | -../mkdirs | |
30 | ||
31 | clean:: | |
32 | $(RM) -rf gtk | |
33 | $(RM) -rf qt | |
34 | $(RM) -rf motif | |
35 | $(RM) -rf common | |
36 | $(RM) -rf generic | |
37 | $(RM) -rf png | |
38 | $(RM) -rf zlib | |
39 | $(RM) -rf gdk_imlib | |
40 | $(RM) -rf iodbc | |
41 | ||
42 | #additional things needed for compile | |
43 | ADD_COMPILE= \ | |
44 | -DHAVE_LIBPNG -DDJPEG_PROG=\"\" -DCJPEG_PROG=\"\" | |
45 | ||
46 | # include the definitions now | |
47 | include ../../template.mak |