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