]> git.saurik.com Git - wxWidgets.git/blob - src/stubs/makefile.unx
wxEVT_COMMAND_CHOICE_SELECTED => wxEVT_COMMAND_COMBOBOX_SELECTED
[wxWidgets.git] / src / stubs / makefile.unx
1 #
2 # File: makefile.unx
3 # Author: Julian Smart
4 # Created: 1998
5 # Updated:
6 # Copyright: (c) 1998
7 #
8 #
9 # Makefile for wxStubs 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/ipcbase.cpp \
33 ../common/layout.cpp \
34 ../common/list.cpp \
35 ../common/log.cpp \
36 ../common/matrix.cpp \
37 ../common/memory.cpp \
38 ../common/module.cpp \
39 ../common/object.cpp \
40 ../common/odbc.cpp \
41 ../common/prntbase.cpp \
42 ../common/resource.cpp \
43 ../common/serbase.cpp \
44 ../common/string.cpp \
45 ../common/textfile.cpp \
46 ../common/tbarbase.cpp \
47 ../common/tbarsmpl.cpp \
48 ../common/timercmn.cpp \
49 ../common/utilscmn.cpp \
50 ../common/wincmn.cpp \
51 ../common/framecmn.cpp \
52 ../common/stream.cpp \
53 ../common/datstrm.cpp \
54 ../common/fstream.cpp \
55 ../common/mstream.cpp \
56 ../common/zstream.cpp \
57 ../common/objstrm.cpp \
58 ../common/sckstrm.cpp \
59 ../common/validate.cpp \
60 ../common/valtext.cpp \
61 ../common/variant.cpp \
62 ../common/wxexpr.cpp \
63 ../common/socket.cpp \
64 ../common/sckaddr.cpp \
65 ../common/sckipc.cpp \
66 ../common/protocol.cpp \
67 ../common/ftp.cpp \
68 ../common/http.cpp \
69 ../common/url.cpp \
70 ../common/tokenzr.cpp \
71 \
72 accel.cpp \
73 app.cpp \
74 bitmap.cpp \
75 bmpbuttn.cpp \
76 brush.cpp \
77 button.cpp \
78 checkbox.cpp \
79 choice.cpp \
80 clipbrd.cpp \
81 colour.cpp \
82 colordlg.cpp \
83 control.cpp \
84 combobox.cpp \
85 cursor.cpp \
86 data.cpp \
87 dc.cpp \
88 dcclient.cpp \
89 dcmemory.cpp \
90 dcscreen.cpp \
91 dialog.cpp \
92 dnd.cpp \
93 filedlg.cpp \
94 font.cpp \
95 fontdlg.cpp \
96 frame.cpp \
97 gauge.cpp \
98 gdiobj.cpp \
99 helpxxxx.cpp \
100 icon.cpp \
101 listbox.cpp \
102 joystick.cpp \
103 main.cpp \
104 mdi.cpp \
105 menu.cpp \
106 menuitem.cpp \
107 metafile.cpp \
108 minifram.cpp \
109 msgdlg.cpp \
110 notebook.cpp \
111 palette.cpp \
112 pen.cpp \
113 print.cpp \
114 radiobox.cpp \
115 radiobut.cpp \
116 region.cpp \
117 scrolbar.cpp \
118 settings.cpp \
119 slider.cpp \
120 spinbutt.cpp \
121 statbox.cpp \
122 statbmp.cpp \
123 stattext.cpp \
124 taskbar.cpp \
125 textctrl.cpp \
126 thread.cpp \
127 timer.cpp \
128 toolbar.cpp \
129 utils.cpp \
130 utilsexc.cpp \
131 wave.cpp \
132 window.cpp \
133 \
134 ../generic/choicdgg.cpp \
135 ../generic/colrdlgg.cpp \
136 ../generic/dcpsg.cpp \
137 ../generic/dirdlgg.cpp \
138 ../generic/fontdlgg.cpp \
139 ../generic/gridg.cpp \
140 ../generic/imaglist.cpp \
141 ../generic/listctrl.cpp \
142 ../generic/laywin.cpp \
143 ../generic/msgdlgg.cpp \
144 ../generic/panelg.cpp \
145 ../generic/prop.cpp \
146 ../generic/proplist.cpp \
147 ../generic/propform.cpp \
148 ../generic/printps.cpp \
149 ../generic/prntdlgg.cpp \
150 ../generic/sashwin.cpp \
151 ../generic/scrolwin.cpp \
152 ../generic/splitter.cpp \
153 ../generic/statusbr.cpp \
154 ../generic/tabg.cpp \
155 ../generic/textdlgg.cpp \
156 ../generic/treectrl.cpp
157
158 # If you're not using the generic ones, you
159 # may wish to define platform-specific ones
160 # dirdlg.cpp \
161 # treectrl.cpp \
162 # listctrl.cpp \
163 # imaglist.cpp \
164 # statusbr.cpp \
165
166 LIB_C_SRC=\
167 \
168 ../common/y_tab.c \
169 ../common/extended.c
170
171 all: $(WXLIB)
172
173 # Define library objects
174 OBJECTS=\
175 $(LIB_CPP_SRC:.cpp=.o) $(LIB_C_SRC:.c=.o)
176
177 $(WXLIB) : $(OBJECTS)
178 ar $(AROPTIONS) $@ $(OBJECTS)
179 $(RANLIB) $@
180
181 ../common/y_tab.$(OBJSUFF): ../common/y_tab.c ../common/lex_yy.c
182 $(CCLEX) -c $(CFLAGS) -o $@ ../common/y_tab.c
183
184 # Replace lex with flex if you run into compilation
185 # problems with lex_yy.c. See also note about LEX_SCANNER
186 # above.
187 ../common/lex_yy.c: ../common/lexer.l
188 $(LEX) -o../common/lex.yy.c ../common/lexer.l
189 sed -e "s/BUFSIZ/5000/g" < ../common/lex.yy.c | \
190 sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
191 sed -e "s/YYLMAX 200/YYLMAX 5000/g" > ../common/lex_yy.c
192 /bin/rm -f ../common/lex.yy.c
193
194 # Replace yacc with bison if you run into compilation
195 # problems with y_tab.c.
196 ../common/y_tab.c: ../common/parser.y
197 $(YACC) ../common/parser.y
198 mv y.tab.c ../common/y_tab.c
199
200
201 clean:
202 rm -f $(OBJECTS) $(WXLIB)
203