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