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