]> git.saurik.com Git - wxWidgets.git/blame - src/motif/makefile.unx
Added CTRL-TAB navigation to notebook
[wxWidgets.git] / src / motif / makefile.unx
CommitLineData
08ee50db
JS
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
11EXTRACFLAGS=-DLEX_SCANNER
12
13include ../make.env
14
15LIB_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 \
ee4c6942 33 ../common/image.cpp \
08ee50db
JS
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 \
08ee50db
JS
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 \
7fe7d506 49 ../common/time.cpp \
08ee50db
JS
50 ../common/timercmn.cpp \
51 ../common/utilscmn.cpp \
52 ../common/wincmn.cpp \
53 ../common/framecmn.cpp \
54 ../common/stream.cpp \
55 ../common/datstrm.cpp \
25331334 56 ../common/wfstream.cpp \
08ee50db
JS
57 ../common/mstream.cpp \
58 ../common/zstream.cpp \
59 ../common/objstrm.cpp \
60 ../common/sckstrm.cpp \
61 ../common/validate.cpp \
89c684ef 62 ../common/valgen.cpp \
08ee50db
JS
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 choice.cpp \
83 clipbrd.cpp \
84 colour.cpp \
08ee50db
JS
85 control.cpp \
86 combobox.cpp \
87 cursor.cpp \
88 data.cpp \
2d120f83 89 dataobj.cpp \
08ee50db
JS
90 dc.cpp \
91 dcclient.cpp \
92 dcmemory.cpp \
93 dcscreen.cpp \
94 dialog.cpp \
08ee50db
JS
95 dnd.cpp \
96 filedlg.cpp \
97 font.cpp \
08ee50db
JS
98 frame.cpp \
99 gauge.cpp \
100 gdiobj.cpp \
08ee50db
JS
101 icon.cpp \
102 listbox.cpp \
103 joystick.cpp \
104 main.cpp \
105 mdi.cpp \
106 menu.cpp \
107 menuitem.cpp \
08ee50db
JS
108 minifram.cpp \
109 msgdlg.cpp \
08ee50db
JS
110 palette.cpp \
111 pen.cpp \
08ee50db
JS
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 taskbar.cpp \
123 textctrl.cpp \
124 thread.cpp \
125 timer.cpp \
0d57be45 126 toolbar.cpp \
08ee50db
JS
127 utils.cpp \
128 utilsexc.cpp \
129 wave.cpp \
130 window.cpp \
131\
132 ../generic/choicdgg.cpp \
133 ../generic/colrdlgg.cpp \
94b49b93 134 ../generic/dirdlgg.cpp \
bf38cbff 135 ../generic/dcpsg.cpp \
08ee50db
JS
136 ../generic/fontdlgg.cpp \
137 ../generic/gridg.cpp \
f3a65071 138 ../generic/helphtml.cpp \
55acd85e 139 ../generic/helpext.cpp \
08ee50db
JS
140 ../generic/imaglist.cpp \
141 ../generic/listctrl.cpp \
142 ../generic/laywin.cpp \
143 ../generic/msgdlgg.cpp \
793f619f 144 ../generic/notebook.cpp \
08ee50db
JS
145 ../generic/panelg.cpp \
146 ../generic/printps.cpp \
147 ../generic/prntdlgg.cpp \
e3a43801
JS
148 ../generic/prop.cpp \
149 ../generic/propform.cpp \
150 ../generic/proplist.cpp \
08ee50db
JS
151 ../generic/sashwin.cpp \
152 ../generic/scrolwin.cpp \
153 ../generic/splitter.cpp \
154 ../generic/statusbr.cpp \
155 ../generic/tabg.cpp \
156 ../generic/textdlgg.cpp \
157 ../generic/treectrl.cpp
158
3dd4e4e0
JS
159ZLIB_SRC=\
160 ../zlib/adler32.c ../zlib/deflate.c ../zlib/infblock.c\
161 ../zlib/inflate.c ../zlib/zutil.c ../zlib/compress.c \
162 ../zlib/infcodes.c ../zlib/inftrees.c ../zlib/trees.c \
163 ../zlib/crc32.c ../zlib/gzio.c ../zlib/inffast.c\
164 ../zlib/infutil.c ../zlib/uncompr.c
08ee50db
JS
165
166LIB_C_SRC=\
167\
168 ../common/y_tab.c \
169 ../common/extended.c
170
3dd4e4e0
JS
171# Only need to compile zlib files if we don't
172# already have a zlib library installed on our system
173# (or we wish to statically link them for some reason)
89c7e962 174EXTRA_C_SRC=\
ee4c6942 175 xmcombo/xmcombo.c
8704bf74
JS
176
177EXTRA_CPP_SRC=\
621793f4
JS
178
179# mdi/lib/XsComponent.C\
180# mdi/lib/XsMDICanvas.C\
181# mdi/lib/XsMDIWindow.C\
182# mdi/lib/XsMotifWindow.C\
183# mdi/lib/XsMoveOutline.C\
184# mdi/lib/XsOutline.C\
185# mdi/lib/XsResizeOutline.C
89c7e962 186
ee4c6942 187all: $(WXLIB) png zlib
08ee50db
JS
188
189# Define library objects
190OBJECTS=\
8704bf74 191 $(LIB_CPP_SRC:.cpp=.o) $(LIB_C_SRC:.c=.o) $(EXTRA_C_SRC:.c=.o) $(EXTRA_CPP_SRC:.C=.o)
08ee50db
JS
192
193$(WXLIB) : $(OBJECTS)
194 ar $(AROPTIONS) $@ $(OBJECTS)
195 $(RANLIB) $@
196
197../common/y_tab.$(OBJSUFF): ../common/y_tab.c ../common/lex_yy.c
f57fe24c 198 $(CCLEX) -c $(CFLAGS) -DNO_CONFIGURE -o $@ ../common/y_tab.c
08ee50db
JS
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
a91b47e8
JS
204 $(LEX) ../common/lexer.l
205 sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
08ee50db
JS
206 sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
207 sed -e "s/YYLMAX 200/YYLMAX 5000/g" > ../common/lex_yy.c
a91b47e8 208 /bin/rm -f lex.yy.c
08ee50db 209
a91b47e8
JS
210# The above should work with both lex and flex, but just in case not,
211# here are alternative syntaxes.
212#
213# Flex-style syntax:
214# $(LEX) -olex.yy.c ../common/lexer.l
215
216# Lex-style syntax:
750b78ba
JS
217# $(LEX) ../common/lexer.l
218
08ee50db
JS
219# Replace yacc with bison if you run into compilation
220# problems with y_tab.c.
221../common/y_tab.c: ../common/parser.y
222 $(YACC) ../common/parser.y
223 mv y.tab.c ../common/y_tab.c
224
89c7e962
JS
225combobox/combobox.o: combobox/combobox.c
226 $(CCC) -c $(CFLAGS) -o $@ combobox/combobox.c
08ee50db 227
ee4c6942
JS
228zlib:
229 cd ../zlib; make -f makefile.unx motif
230
231png:
232 cd ../png; make -f makefile.unx motif
233
234clean: cleanzlib cleanpng
08ee50db
JS
235 rm -f $(OBJECTS) $(WXLIB)
236
ee4c6942
JS
237cleanzlib:
238 cd ../zlib; make -f makefile.unx cleanmotif
239
240cleanpng:
241 cd ../png; make -f makefile.unx cleanmotif
242