]>
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 | |
7c351dad GL |
23 | LIB_MAJOR=0 |
24 | LIB_MINOR=12 | |
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 \ | |
33 | common/docview.cpp \ | |
34 | common/dynarray.cpp \ | |
35 | common/event.cpp \ | |
36 | common/file.cpp \ | |
37 | common/fileconf.cpp \ | |
38 | common/filefn.cpp \ | |
39 | common/gdicmn.cpp \ | |
40 | common/hash.cpp \ | |
41 | common/helpbase.cpp \ | |
42 | common/intl.cpp \ | |
43 | common/ipcbase.cpp \ | |
44 | common/layout.cpp \ | |
45 | common/list.cpp \ | |
46 | common/log.cpp \ | |
47 | common/matrix.cpp \ | |
48 | common/memory.cpp \ | |
49 | common/module.cpp \ | |
50 | common/object.cpp \ | |
51 | common/postscrp.cpp \ | |
52 | common/prntbase.cpp \ | |
53 | common/string.cpp \ | |
54 | common/textfile.cpp \ | |
55 | common/time.cpp \ | |
56 | common/timercmn.cpp \ | |
57 | common/utilscmn.cpp \ | |
cf447356 | 58 | common/datstrm.cpp \ |
c801d85f KB |
59 | \ |
60 | gtk/app.cpp \ | |
61 | gtk/bitmap.cpp \ | |
62 | gtk/brush.cpp \ | |
63 | gtk/button.cpp \ | |
64 | gtk/checkbox.cpp \ | |
65 | gtk/choice.cpp \ | |
66 | gtk/colour.cpp \ | |
67 | gtk/control.cpp \ | |
c0392997 | 68 | gtk/combobox.cpp \ |
c801d85f KB |
69 | gtk/cursor.cpp \ |
70 | gtk/data.cpp \ | |
71 | gtk/dc.cpp \ | |
72 | gtk/dcclient.cpp \ | |
73 | gtk/dcmemory.cpp \ | |
74 | gtk/dcscreen.cpp \ | |
75 | gtk/dnd.cpp \ | |
76 | gtk/dialog.cpp \ | |
77 | gtk/filedlg.cpp \ | |
78 | gtk/font.cpp \ | |
79 | gtk/frame.cpp \ | |
80 | gtk/gdiobj.cpp \ | |
81 | gtk/icon.cpp \ | |
82 | gtk/listbox.cpp \ | |
83 | gtk/mdi.cpp \ | |
84 | gtk/menu.cpp \ | |
46bada70 | 85 | gtk/notebook.cpp \ |
c801d85f KB |
86 | gtk/palette.cpp \ |
87 | gtk/pen.cpp \ | |
88 | gtk/radiobox.cpp \ | |
89 | gtk/radiobut.cpp \ | |
90 | gtk/region.cpp \ | |
91 | gtk/scrolbar.cpp \ | |
92 | gtk/settings.cpp \ | |
93 | gtk/slider.cpp \ | |
94 | gtk/statbox.cpp \ | |
95 | gtk/stattext.cpp \ | |
96 | gtk/tbargtk.cpp \ | |
97 | gtk/textctrl.cpp \ | |
98 | gtk/timer.cpp \ | |
99 | gtk/utilsgtk.cpp \ | |
100 | gtk/utilsres.cpp \ | |
101 | gtk/window.cpp \ | |
7c351dad GL |
102 | @GTK_JOYSTICK@ \ |
103 | @UNIX_THREAD@ \ | |
c801d85f KB |
104 | \ |
105 | generic/choicdgg.cpp \ | |
106 | generic/colrdlgg.cpp \ | |
107 | generic/fontdlgg.cpp \ | |
108 | generic/gridg.cpp \ | |
109 | generic/imaglist.cpp \ | |
110 | generic/listctrl.cpp \ | |
111 | generic/msgdlgg.cpp \ | |
112 | generic/panelg.cpp \ | |
113 | generic/printps.cpp \ | |
114 | generic/prntdlgg.cpp \ | |
115 | generic/scrolwin.cpp \ | |
116 | generic/splitter.cpp \ | |
117 | generic/statusbr.cpp \ | |
118 | generic/tabg.cpp \ | |
119 | generic/textdlgg.cpp \ | |
120 | generic/treectrl.cpp | |
121 | ||
122 | LIB_C_SRC=\ | |
cf447356 | 123 | common/extended.c \ |
c801d85f KB |
124 | \ |
125 | gtk/win_gtk.c \ | |
126 | \ | |
127 | png/png.c \ | |
128 | png/pngset.c \ | |
129 | png/pngget.c \ | |
130 | png/pngrutil.c \ | |
131 | png/pngtrans.c \ | |
132 | png/pngwutil.c \ | |
133 | png/pngread.c \ | |
134 | png/pngrio.c \ | |
135 | png/pngwio.c \ | |
136 | png/pngwrite.c \ | |
137 | png/pngrtran.c \ | |
138 | png/pngwtran.c \ | |
139 | png/pngmem.c \ | |
140 | png/pngerror.c \ | |
141 | png/pngpread.c \ | |
142 | \ | |
143 | zlib/adler32.c \ | |
144 | zlib/compress.c \ | |
145 | zlib/crc32.c \ | |
146 | zlib/gzio.c \ | |
147 | zlib/uncompr.c \ | |
148 | zlib/deflate.c \ | |
149 | zlib/trees.c \ | |
150 | zlib/zutil.c \ | |
151 | zlib/inflate.c \ | |
152 | zlib/infblock.c \ | |
153 | zlib/inftrees.c \ | |
154 | zlib/infcodes.c \ | |
155 | zlib/infutil.c \ | |
156 | zlib/inffast.c \ | |
157 | \ | |
158 | gdk_imlib/cache.c \ | |
159 | gdk_imlib/colors.c \ | |
160 | gdk_imlib/globals.c \ | |
161 | gdk_imlib/load.c \ | |
162 | gdk_imlib/misc.c \ | |
163 | gdk_imlib/rend.c \ | |
164 | gdk_imlib/save.c \ | |
165 | gdk_imlib/utils.c | |
166 | ||
167 | ||
168 | #define library objects | |
169 | LIB_OBJ=\ | |
170 | $(LIB_CPP_SRC:.cpp=.o) \ | |
171 | $(LIB_C_SRC:.c=.o) | |
172 | ||
173 | all:: | |
174 | -../mkdirs | |
175 | ||
176 | clean:: | |
177 | $(RM) -rf gtk | |
178 | $(RM) -rf common | |
179 | $(RM) -rf generic | |
180 | $(RM) -rf png | |
181 | $(RM) -rf zlib | |
182 | $(RM) -rf gdk_imlib | |
183 | ||
184 | #additional things needed for compile | |
185 | ADD_COMPILE= \ | |
7c351dad | 186 | -DHAVE_LIBPNG -DDJPEG_PROG=\"\" -DCJPEG_PROG=\"\" |
c801d85f KB |
187 | |
188 | # include the definitions now | |
189 | include ../../template.mak |