]>
Commit | Line | Data |
---|---|---|
c801d85f KB |
1 | # |
2 | # wxGTK main source makefile | |
3 | # | |
4 | # Copyright 1998, Markus Holzhem and Robert Roebling | |
5 | # | |
6 | ||
7 | # wxGTK 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 | # needed for unactivated | |
19 | NONE = | |
20 | ||
21 | # define library name | |
22 | LIB_TARGET=wx_gtk | |
1a6944fd RR |
23 | LIB_MAJOR=1 |
24 | LIB_MINOR=90 | |
c801d85f KB |
25 | |
26 | # define library sources | |
27 | ||
28 | LIB_CPP_SRC=\ | |
29 | \ | |
30 | common/cmndata.cpp \ | |
31 | common/config.cpp \ | |
32 | common/date.cpp \ | |
9746a2ba | 33 | common/docmdi.cpp \ |
c801d85f KB |
34 | common/docview.cpp \ |
35 | common/dynarray.cpp \ | |
36 | common/event.cpp \ | |
37 | common/file.cpp \ | |
38 | common/fileconf.cpp \ | |
39 | common/filefn.cpp \ | |
40 | common/gdicmn.cpp \ | |
41 | common/hash.cpp \ | |
42 | common/helpbase.cpp \ | |
43 | common/intl.cpp \ | |
44 | common/ipcbase.cpp \ | |
45 | common/layout.cpp \ | |
46 | common/list.cpp \ | |
47 | common/log.cpp \ | |
48 | common/matrix.cpp \ | |
49 | common/memory.cpp \ | |
50 | common/module.cpp \ | |
51 | common/object.cpp \ | |
1a6944fd | 52 | common/odbc.cpp \ |
c801d85f KB |
53 | common/postscrp.cpp \ |
54 | common/prntbase.cpp \ | |
55 | common/string.cpp \ | |
56 | common/textfile.cpp \ | |
57 | common/time.cpp \ | |
58 | common/timercmn.cpp \ | |
59 | common/utilscmn.cpp \ | |
1eac776c GL |
60 | common/wincmn.cpp \ |
61 | common/framecmn.cpp \ | |
3d4c6a21 | 62 | common/stream.cpp \ |
bd7d06f2 | 63 | common/datstrm.cpp \ |
3d4c6a21 GL |
64 | common/fstream.cpp \ |
65 | common/mstream.cpp \ | |
79c3e0e1 | 66 | common/zstream.cpp \ |
1678ad78 | 67 | common/objstrm.cpp \ |
f3e6e1b5 VZ |
68 | common/framecmn.cpp \ |
69 | common/wincmn.cpp \ | |
c801d85f KB |
70 | \ |
71 | gtk/app.cpp \ | |
72 | gtk/bitmap.cpp \ | |
73 | gtk/brush.cpp \ | |
74 | gtk/button.cpp \ | |
75 | gtk/checkbox.cpp \ | |
76 | gtk/choice.cpp \ | |
77 | gtk/colour.cpp \ | |
78 | gtk/control.cpp \ | |
c0392997 | 79 | gtk/combobox.cpp \ |
c801d85f KB |
80 | gtk/cursor.cpp \ |
81 | gtk/data.cpp \ | |
82 | gtk/dc.cpp \ | |
83 | gtk/dcclient.cpp \ | |
84 | gtk/dcmemory.cpp \ | |
85 | gtk/dcscreen.cpp \ | |
86 | gtk/dnd.cpp \ | |
87 | gtk/dialog.cpp \ | |
88 | gtk/filedlg.cpp \ | |
89 | gtk/font.cpp \ | |
90 | gtk/frame.cpp \ | |
2ab889ff | 91 | gtk/gauge.cpp \ |
c801d85f KB |
92 | gtk/gdiobj.cpp \ |
93 | gtk/icon.cpp \ | |
94 | gtk/listbox.cpp \ | |
95 | gtk/mdi.cpp \ | |
96 | gtk/menu.cpp \ | |
46bada70 | 97 | gtk/notebook.cpp \ |
c801d85f KB |
98 | gtk/palette.cpp \ |
99 | gtk/pen.cpp \ | |
100 | gtk/radiobox.cpp \ | |
101 | gtk/radiobut.cpp \ | |
102 | gtk/region.cpp \ | |
103 | gtk/scrolbar.cpp \ | |
104 | gtk/settings.cpp \ | |
105 | gtk/slider.cpp \ | |
106 | gtk/statbox.cpp \ | |
107 | gtk/stattext.cpp \ | |
108 | gtk/tbargtk.cpp \ | |
109 | gtk/textctrl.cpp \ | |
110 | gtk/timer.cpp \ | |
111 | gtk/utilsgtk.cpp \ | |
112 | gtk/utilsres.cpp \ | |
113 | gtk/window.cpp \ | |
7c351dad GL |
114 | @GTK_JOYSTICK@ \ |
115 | @UNIX_THREAD@ \ | |
c801d85f KB |
116 | \ |
117 | generic/choicdgg.cpp \ | |
118 | generic/colrdlgg.cpp \ | |
119 | generic/fontdlgg.cpp \ | |
120 | generic/gridg.cpp \ | |
121 | generic/imaglist.cpp \ | |
122 | generic/listctrl.cpp \ | |
123 | generic/msgdlgg.cpp \ | |
124 | generic/panelg.cpp \ | |
125 | generic/printps.cpp \ | |
126 | generic/prntdlgg.cpp \ | |
127 | generic/scrolwin.cpp \ | |
128 | generic/splitter.cpp \ | |
129 | generic/statusbr.cpp \ | |
130 | generic/tabg.cpp \ | |
131 | generic/textdlgg.cpp \ | |
132 | generic/treectrl.cpp | |
7a4b9130 GL |
133 | |
134 | # common/dynlib.cpp Disabled until I write support for DLL on all platforms | |
c801d85f KB |
135 | |
136 | LIB_C_SRC=\ | |
cf447356 | 137 | common/extended.c \ |
c801d85f KB |
138 | \ |
139 | gtk/win_gtk.c \ | |
140 | \ | |
141 | png/png.c \ | |
142 | png/pngset.c \ | |
143 | png/pngget.c \ | |
144 | png/pngrutil.c \ | |
145 | png/pngtrans.c \ | |
146 | png/pngwutil.c \ | |
147 | png/pngread.c \ | |
148 | png/pngrio.c \ | |
149 | png/pngwio.c \ | |
150 | png/pngwrite.c \ | |
151 | png/pngrtran.c \ | |
152 | png/pngwtran.c \ | |
153 | png/pngmem.c \ | |
154 | png/pngerror.c \ | |
155 | png/pngpread.c \ | |
156 | \ | |
157 | zlib/adler32.c \ | |
158 | zlib/compress.c \ | |
159 | zlib/crc32.c \ | |
160 | zlib/gzio.c \ | |
161 | zlib/uncompr.c \ | |
162 | zlib/deflate.c \ | |
163 | zlib/trees.c \ | |
164 | zlib/zutil.c \ | |
165 | zlib/inflate.c \ | |
166 | zlib/infblock.c \ | |
167 | zlib/inftrees.c \ | |
168 | zlib/infcodes.c \ | |
169 | zlib/infutil.c \ | |
170 | zlib/inffast.c \ | |
171 | \ | |
172 | gdk_imlib/cache.c \ | |
173 | gdk_imlib/colors.c \ | |
174 | gdk_imlib/globals.c \ | |
175 | gdk_imlib/load.c \ | |
176 | gdk_imlib/misc.c \ | |
177 | gdk_imlib/rend.c \ | |
178 | gdk_imlib/save.c \ | |
1a6944fd RR |
179 | gdk_imlib/utils.c \ |
180 | \ | |
181 | iodbc/dlf.c \ | |
182 | iodbc/dlproc.c \ | |
183 | iodbc/herr.c \ | |
184 | iodbc/henv.c \ | |
185 | iodbc/hdbc.c \ | |
186 | iodbc/hstmt.c \ | |
187 | iodbc/connect.c \ | |
188 | iodbc/prepare.c \ | |
1a6944fd RR |
189 | iodbc/result.c \ |
190 | iodbc/execute.c \ | |
191 | iodbc/fetch.c \ | |
192 | iodbc/info.c \ | |
193 | iodbc/catalog.c \ | |
194 | iodbc/misc.c \ | |
195 | iodbc/itrace.c | |
c801d85f KB |
196 | |
197 | #define library objects | |
198 | LIB_OBJ=\ | |
199 | $(LIB_CPP_SRC:.cpp=.o) \ | |
200 | $(LIB_C_SRC:.c=.o) | |
201 | ||
202 | all:: | |
203 | -../mkdirs | |
204 | ||
205 | clean:: | |
206 | $(RM) -rf gtk | |
207 | $(RM) -rf common | |
208 | $(RM) -rf generic | |
209 | $(RM) -rf png | |
210 | $(RM) -rf zlib | |
211 | $(RM) -rf gdk_imlib | |
1a6944fd | 212 | $(RM) -rf iodbc |
c801d85f KB |
213 | |
214 | #additional things needed for compile | |
215 | ADD_COMPILE= \ | |
7c351dad | 216 | -DHAVE_LIBPNG -DDJPEG_PROG=\"\" -DCJPEG_PROG=\"\" |
c801d85f KB |
217 | |
218 | # include the definitions now | |
219 | include ../../template.mak |