]>
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 | |
7f4dc78d 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 \ | |
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 \ | |
58 | \ | |
59 | gtk/app.cpp \ | |
60 | gtk/bitmap.cpp \ | |
151ccd11 | 61 | gtk/bmpbuttn.cpp \ |
c801d85f KB |
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 \ | |
1a56f55c | 79 | gtk/gauge.cpp \ |
c801d85f KB |
80 | gtk/gdiobj.cpp \ |
81 | gtk/icon.cpp \ | |
82 | gtk/listbox.cpp \ | |
83 | gtk/mdi.cpp \ | |
84 | gtk/menu.cpp \ | |
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 \ | |
1a56f55c | 94 | gtk/statbmp.cpp \ |
c801d85f | 95 | gtk/stattext.cpp \ |
7f4dc78d | 96 | gtk/tabctrl.cpp \ |
c801d85f KB |
97 | gtk/tbargtk.cpp \ |
98 | gtk/textctrl.cpp \ | |
99 | gtk/timer.cpp \ | |
100 | gtk/utilsgtk.cpp \ | |
101 | gtk/utilsres.cpp \ | |
102 | gtk/window.cpp \ | |
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=\ | |
122 | \ | |
123 | gtk/win_gtk.c \ | |
124 | \ | |
125 | png/png.c \ | |
126 | png/pngset.c \ | |
127 | png/pngget.c \ | |
128 | png/pngrutil.c \ | |
129 | png/pngtrans.c \ | |
130 | png/pngwutil.c \ | |
131 | png/pngread.c \ | |
132 | png/pngrio.c \ | |
133 | png/pngwio.c \ | |
134 | png/pngwrite.c \ | |
135 | png/pngrtran.c \ | |
136 | png/pngwtran.c \ | |
137 | png/pngmem.c \ | |
138 | png/pngerror.c \ | |
139 | png/pngpread.c \ | |
140 | \ | |
141 | zlib/adler32.c \ | |
142 | zlib/compress.c \ | |
143 | zlib/crc32.c \ | |
144 | zlib/gzio.c \ | |
145 | zlib/uncompr.c \ | |
146 | zlib/deflate.c \ | |
147 | zlib/trees.c \ | |
148 | zlib/zutil.c \ | |
149 | zlib/inflate.c \ | |
150 | zlib/infblock.c \ | |
151 | zlib/inftrees.c \ | |
152 | zlib/infcodes.c \ | |
153 | zlib/infutil.c \ | |
154 | zlib/inffast.c \ | |
155 | \ | |
156 | gdk_imlib/cache.c \ | |
157 | gdk_imlib/colors.c \ | |
158 | gdk_imlib/globals.c \ | |
159 | gdk_imlib/load.c \ | |
160 | gdk_imlib/misc.c \ | |
161 | gdk_imlib/rend.c \ | |
162 | gdk_imlib/save.c \ | |
163 | gdk_imlib/utils.c | |
164 | ||
165 | ||
166 | #define library objects | |
167 | LIB_OBJ=\ | |
168 | $(LIB_CPP_SRC:.cpp=.o) \ | |
169 | $(LIB_C_SRC:.c=.o) | |
170 | ||
171 | all:: | |
172 | -../mkdirs | |
173 | ||
174 | clean:: | |
175 | $(RM) -rf gtk | |
176 | $(RM) -rf common | |
177 | $(RM) -rf generic | |
178 | $(RM) -rf png | |
179 | $(RM) -rf zlib | |
180 | $(RM) -rf gdk_imlib | |
181 | ||
182 | #additional things needed for compile | |
183 | ADD_COMPILE= \ | |
184 | -DHAVE_LIBPNG -DDJPEG_PROG=\"\" -DCJPEG_PROG=\"\" | |
185 | ||
186 | # include the definitions now | |
187 | include ../../template.mak |