]>
Commit | Line | Data |
---|---|---|
c801d85f | 1 | # |
a1a2adef | 2 | # wxWindows/Unix main source makefile |
c801d85f KB |
3 | # |
4 | # Copyright 1998, Markus Holzhem and Robert Roebling | |
5 | # | |
6 | ||
a1a2adef | 7 | # wxWindows base directory |
c801d85f KB |
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 | ||
a1a2adef RR |
18 | # include gtk.inc, qt.inc or motif.inc here |
19 | include @MAKEINCLUDE@ | |
c801d85f | 20 | |
a1a2adef | 21 | LIB_CPP_ALL_SRC=$(LIB_CPP_SRC) @GTK_JOYSTICK@ @UNIX_THREAD@ |
c801d85f | 22 | |
c801d85f KB |
23 | #define library objects |
24 | LIB_OBJ=\ | |
a1a2adef | 25 | $(LIB_CPP_ALL_SRC:.cpp=.o) \ |
c801d85f KB |
26 | $(LIB_C_SRC:.c=.o) |
27 | ||
28 | all:: | |
29 | -../mkdirs | |
30 | ||
31 | clean:: | |
32 | $(RM) -rf gtk | |
a1a2adef RR |
33 | $(RM) -rf qt |
34 | $(RM) -rf motif | |
c801d85f KB |
35 | $(RM) -rf common |
36 | $(RM) -rf generic | |
37 | $(RM) -rf png | |
38 | $(RM) -rf zlib | |
39 | $(RM) -rf gdk_imlib | |
1a6944fd | 40 | $(RM) -rf iodbc |
c801d85f KB |
41 | |
42 | #additional things needed for compile | |
43 | ADD_COMPILE= \ | |
7c351dad | 44 | -DHAVE_LIBPNG -DDJPEG_PROG=\"\" -DCJPEG_PROG=\"\" |
c801d85f KB |
45 | |
46 | # include the definitions now | |
47 | include ../../template.mak |