]>
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 \ | |
68 | gtk/cursor.cpp \ | |
69 | gtk/data.cpp \ | |
70 | gtk/dc.cpp \ | |
71 | gtk/dcclient.cpp \ | |
72 | gtk/dcmemory.cpp \ | |
73 | gtk/dcscreen.cpp \ | |
74 | gtk/dnd.cpp \ | |
75 | gtk/dialog.cpp \ | |
76 | gtk/filedlg.cpp \ | |
77 | gtk/font.cpp \ | |
78 | gtk/frame.cpp \ | |
79 | gtk/gdiobj.cpp \ | |
80 | gtk/icon.cpp \ | |
81 | gtk/listbox.cpp \ | |
82 | gtk/mdi.cpp \ | |
83 | gtk/menu.cpp \ | |
46bada70 | 84 | gtk/notebook.cpp \ |
c801d85f KB |
85 | gtk/palette.cpp \ |
86 | gtk/pen.cpp \ | |
87 | gtk/radiobox.cpp \ | |
88 | gtk/radiobut.cpp \ | |
89 | gtk/region.cpp \ | |
90 | gtk/scrolbar.cpp \ | |
91 | gtk/settings.cpp \ | |
92 | gtk/slider.cpp \ | |
93 | gtk/statbox.cpp \ | |
94 | gtk/stattext.cpp \ | |
95 | gtk/tbargtk.cpp \ | |
96 | gtk/textctrl.cpp \ | |
97 | gtk/timer.cpp \ | |
98 | gtk/utilsgtk.cpp \ | |
99 | gtk/utilsres.cpp \ | |
100 | gtk/window.cpp \ | |
7c351dad GL |
101 | @GTK_JOYSTICK@ \ |
102 | @UNIX_THREAD@ \ | |
c801d85f KB |
103 | \ |
104 | generic/choicdgg.cpp \ | |
105 | generic/colrdlgg.cpp \ | |
106 | generic/fontdlgg.cpp \ | |
107 | generic/gridg.cpp \ | |
108 | generic/imaglist.cpp \ | |
109 | generic/listctrl.cpp \ | |
110 | generic/msgdlgg.cpp \ | |
111 | generic/panelg.cpp \ | |
112 | generic/printps.cpp \ | |
113 | generic/prntdlgg.cpp \ | |
114 | generic/scrolwin.cpp \ | |
115 | generic/splitter.cpp \ | |
116 | generic/statusbr.cpp \ | |
117 | generic/tabg.cpp \ | |
118 | generic/textdlgg.cpp \ | |
119 | generic/treectrl.cpp | |
120 | ||
121 | LIB_C_SRC=\ | |
cf447356 | 122 | common/extended.c \ |
c801d85f KB |
123 | \ |
124 | gtk/win_gtk.c \ | |
125 | \ | |
126 | png/png.c \ | |
127 | png/pngset.c \ | |
128 | png/pngget.c \ | |
129 | png/pngrutil.c \ | |
130 | png/pngtrans.c \ | |
131 | png/pngwutil.c \ | |
132 | png/pngread.c \ | |
133 | png/pngrio.c \ | |
134 | png/pngwio.c \ | |
135 | png/pngwrite.c \ | |
136 | png/pngrtran.c \ | |
137 | png/pngwtran.c \ | |
138 | png/pngmem.c \ | |
139 | png/pngerror.c \ | |
140 | png/pngpread.c \ | |
141 | \ | |
142 | zlib/adler32.c \ | |
143 | zlib/compress.c \ | |
144 | zlib/crc32.c \ | |
145 | zlib/gzio.c \ | |
146 | zlib/uncompr.c \ | |
147 | zlib/deflate.c \ | |
148 | zlib/trees.c \ | |
149 | zlib/zutil.c \ | |
150 | zlib/inflate.c \ | |
151 | zlib/infblock.c \ | |
152 | zlib/inftrees.c \ | |
153 | zlib/infcodes.c \ | |
154 | zlib/infutil.c \ | |
155 | zlib/inffast.c \ | |
156 | \ | |
157 | gdk_imlib/cache.c \ | |
158 | gdk_imlib/colors.c \ | |
159 | gdk_imlib/globals.c \ | |
160 | gdk_imlib/load.c \ | |
161 | gdk_imlib/misc.c \ | |
162 | gdk_imlib/rend.c \ | |
163 | gdk_imlib/save.c \ | |
164 | gdk_imlib/utils.c | |
165 | ||
166 | ||
167 | #define library objects | |
168 | LIB_OBJ=\ | |
169 | $(LIB_CPP_SRC:.cpp=.o) \ | |
170 | $(LIB_C_SRC:.c=.o) | |
171 | ||
172 | all:: | |
173 | -../mkdirs | |
174 | ||
175 | clean:: | |
176 | $(RM) -rf gtk | |
177 | $(RM) -rf common | |
178 | $(RM) -rf generic | |
179 | $(RM) -rf png | |
180 | $(RM) -rf zlib | |
181 | $(RM) -rf gdk_imlib | |
182 | ||
183 | #additional things needed for compile | |
184 | ADD_COMPILE= \ | |
7c351dad | 185 | -DHAVE_LIBPNG -DDJPEG_PROG=\"\" -DCJPEG_PROG=\"\" |
c801d85f KB |
186 | |
187 | # include the definitions now | |
188 | include ../../template.mak |