]> git.saurik.com Git - wxWidgets.git/blob - src/gtk/makefile.unx
Dialog items inherit parent's font now
[wxWidgets.git] / src / gtk / makefile.unx
1 #
2 # File: makefile.unx
3 # Author: Robert Roebling
4 # Created: 1998
5 # Updated:
6 # Copyright: (c) 1998
7 #
8 #
9 # Makefile for wxGtk library, Unix
10
11 EXTRACFLAGS=-DLEX_SCANNER
12
13 include ../make.env
14
15 LIB_CPP_SRC=\
16 \
17 ../common/cmndata.cpp \
18 ../common/config.cpp \
19 ../common/date.cpp \
20 ../common/docmdi.cpp \
21 ../common/docview.cpp \
22 ../common/dynarray.cpp \
23 ../common/dynlib.cpp \
24 ../common/event.cpp \
25 ../common/file.cpp \
26 ../common/fileconf.cpp \
27 ../common/filefn.cpp \
28 ../common/gdicmn.cpp \
29 ../common/hash.cpp \
30 ../common/helpbase.cpp \
31 ../common/intl.cpp \
32 ../common/image.cpp \
33 ../common/ipcbase.cpp \
34 ../common/layout.cpp \
35 ../common/list.cpp \
36 ../common/log.cpp \
37 ../common/matrix.cpp \
38 ../common/memory.cpp \
39 ../common/module.cpp \
40 ../common/object.cpp \
41 ../common/odbc.cpp \
42 ../common/postscrp.cpp \
43 ../common/prntbase.cpp \
44 ../common/resource.cpp \
45 ../common/serbase.cpp \
46 ../common/string.cpp \
47 ../common/textfile.cpp \
48 ../common/time.cpp \
49 ../common/timercmn.cpp \
50 ../common/utilscmn.cpp \
51 ../common/wincmn.cpp \
52 ../common/framecmn.cpp \
53 ../common/stream.cpp \
54 ../common/datstrm.cpp \
55 ../common/wfstream.cpp \
56 ../common/mstream.cpp \
57 ../common/zstream.cpp \
58 ../common/objstrm.cpp \
59 ../common/sckstrm.cpp \
60 ../common/validate.cpp \
61 ../common/valtext.cpp \
62 ../common/variant.cpp \
63 ../common/wxexpr.cpp \
64 ../common/socket.cpp \
65 ../common/sckaddr.cpp \
66 ../common/sckipc.cpp \
67 ../common/protocol.cpp \
68 ../common/ftp.cpp \
69 ../common/http.cpp \
70 ../common/url.cpp \
71 ../common/tokenzr.cpp \
72 \
73 accel.cpp \
74 app.cpp \
75 bitmap.cpp \
76 bmpbuttn.cpp \
77 brush.cpp \
78 button.cpp \
79 checkbox.cpp \
80 checklst.cpp \
81 choice.cpp \
82 clipbrd.cpp \
83 colour.cpp \
84 control.cpp \
85 combobox.cpp \
86 cursor.cpp \
87 data.cpp \
88 dataobj.cpp \
89 dc.cpp \
90 dcclient.cpp \
91 dcmemory.cpp \
92 dcscreen.cpp \
93 dcps.cpp \
94 dialog.cpp \
95 dnd.cpp \
96 filedlg.cpp \
97 font.cpp \
98 frame.cpp \
99 gauge.cpp \
100 gdiobj.cpp \
101 icon.cpp \
102 listbox.cpp \
103 main.cpp \
104 mdi.cpp \
105 menu.cpp \
106 minifram.cpp \
107 notebook.cpp \
108 palette.cpp \
109 pen.cpp \
110 radiobox.cpp \
111 radiobut.cpp \
112 region.cpp \
113 scrolbar.cpp \
114 settings.cpp \
115 slider.cpp \
116 spinbutt.cpp \
117 statbox.cpp \
118 statbmp.cpp \
119 stattext.cpp \
120 tbargtk.cpp \
121 threadpsx.cpp \
122 textctrl.cpp \
123 timer.cpp \
124 utilsgtk.cpp \
125 utilsres.cpp \
126 wave.cpp \
127 window.cpp \
128 \
129 ../generic/choicdgg.cpp \
130 ../generic/colrdlgg.cpp \
131 ../generic/dirdlgg.cpp \
132 ../generic/fontdlgg.cpp \
133 ../generic/gridg.cpp \
134 ../generic/helpext.cpp \
135 ../generic/imaglist.cpp \
136 ../generic/listctrl.cpp \
137 ../generic/laywin.cpp \
138 ../generic/msgdlgg.cpp \
139 ../generic/panelg.cpp \
140 ../generic/printps.cpp \
141 ../generic/prntdlgg.cpp \
142 ../generic/sashwin.cpp \
143 ../generic/scrolwin.cpp \
144 ../generic/splitter.cpp \
145 ../generic/statusbr.cpp \
146 ../generic/tabg.cpp \
147 ../generic/textdlgg.cpp \
148 ../generic/treectrl.cpp
149
150
151 ZLIB_SRC=\
152 ../zlib/adler32.c ../zlib/deflate.c ../zlib/infblock.c\
153 ../zlib/inflate.c ../zlib/zutil.c ../zlib/compress.c \
154 ../zlib/infcodes.c ../zlib/inftrees.c ../zlib/trees.c \
155 ../zlib/crc32.c ../zlib/gzio.c ../zlib/inffast.c\
156 ../zlib/infutil.c ../zlib/uncompr.c
157
158 PNG_SRC=\
159 ../png/png.c \
160 ../png/pngset.c \
161 ../png/pngget.c \
162 ../png/pngrutil.c \
163 ../png/pngtrans.c \
164 ../png/pngwutil.c \
165 ../png/pngread.c \
166 ../png/pngrio.c \
167 ../png/pngwio.c \
168 ../png/pngwrite.c \
169 ../png/pngrtran.c \
170 ../png/pngwtran.c \
171 ../png/pngmem.c \
172 ../png/pngerror.c \
173 ../png/pngpread.c
174
175 LIB_C_SRC=\
176 \
177 win_gtk.c \
178 ../common/y_tab.c \
179 ../common/extended.c
180
181 # Only need to compile zlib files if we don't
182 # already have a zlib library installed on our system
183 # (or we wish to statically link them for some reason)
184 EXTRA_C_SRC=\
185 $(ZLIB_SRC) $(PNG_SRC)
186
187 all: $(WXLIB)
188
189 # Define library objects
190 OBJECTS=\
191 $(LIB_CPP_SRC:.cpp=.o) $(LIB_C_SRC:.c=.o) $(EXTRA_C_SRC:.c=.o)
192
193 $(WXLIB) : $(OBJECTS)
194 ar $(AROPTIONS) $@ $(OBJECTS)
195 $(RANLIB) $@
196
197 ../common/y_tab.$(OBJSUFF): ../common/y_tab.c ../common/lex_yy.c
198 $(CCLEX) -c $(CFLAGS) -DNO_CONFIGURE -o $@ ../common/y_tab.c
199
200 # Replace lex with flex if you run into compilation
201 # problems with lex_yy.c. See also note about LEX_SCANNER
202 # above.
203 ../common/lex_yy.c: ../common/lexer.l
204 $(LEX) -o../common/lex.yy.c ../common/lexer.l
205 sed -e "s/BUFSIZ/5000/g" < ../common/lex.yy.c | \
206 sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
207 sed -e "s/YYLMAX 200/YYLMAX 5000/g" > ../common/lex_yy.c
208 /bin/rm -f ../common/lex.yy.c
209
210 # Replace yacc with bison if you run into compilation
211 # problems with y_tab.c.
212 ../common/y_tab.c: ../common/parser.y
213 $(YACC) ../common/parser.y
214 mv y.tab.c ../common/y_tab.c
215
216 clean:
217 rm -f $(OBJECTS) $(WXLIB)
218