]> git.saurik.com Git - wxWidgets.git/blob - src/motif/makefile.unx
Added facenames support to wxFont
[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 dnd.cpp \
95 filedlg.cpp \
96 font.cpp \
97 fontdlg.cpp \
98 frame.cpp \
99 gauge.cpp \
100 gdiobj.cpp \
101 helpxxxx.cpp \
102 icon.cpp \
103 listbox.cpp \
104 joystick.cpp \
105 main.cpp \
106 mdi.cpp \
107 menu.cpp \
108 menuitem.cpp \
109 metafile.cpp \
110 minifram.cpp \
111 msgdlg.cpp \
112 palette.cpp \
113 pen.cpp \
114 print.cpp \
115 radiobox.cpp \
116 radiobut.cpp \
117 region.cpp \
118 scrolbar.cpp \
119 settings.cpp \
120 slider.cpp \
121 spinbutt.cpp \
122 statbox.cpp \
123 statbmp.cpp \
124 stattext.cpp \
125 taskbar.cpp \
126 textctrl.cpp \
127 thread.cpp \
128 timer.cpp \
129 toolbar.cpp \
130 utils.cpp \
131 utilsexc.cpp \
132 wave.cpp \
133 window.cpp \
134 \
135 ../generic/choicdgg.cpp \
136 ../generic/colrdlgg.cpp \
137 ../generic/dirdlgg.cpp \
138 ../generic/fontdlgg.cpp \
139 ../generic/gridg.cpp \
140 ../generic/helpext.cpp \
141 ../generic/imaglist.cpp \
142 ../generic/listctrl.cpp \
143 ../generic/laywin.cpp \
144 ../generic/msgdlgg.cpp \
145 ../generic/notebook.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 # dirdlg.cpp \
160 # treectrl.cpp \
161 # listctrl.cpp \
162 # imaglist.cpp \
163 # statusbr.cpp \
164
165 ZLIB_SRC=\
166 ../zlib/adler32.c ../zlib/deflate.c ../zlib/infblock.c\
167 ../zlib/inflate.c ../zlib/zutil.c ../zlib/compress.c \
168 ../zlib/infcodes.c ../zlib/inftrees.c ../zlib/trees.c \
169 ../zlib/crc32.c ../zlib/gzio.c ../zlib/inffast.c\
170 ../zlib/infutil.c ../zlib/uncompr.c
171
172 LIB_C_SRC=\
173 \
174 ../common/y_tab.c \
175 ../common/extended.c
176
177 # Only need to compile zlib files if we don't
178 # already have a zlib library installed on our system
179 # (or we wish to statically link them for some reason)
180 EXTRA_C_SRC=\
181 xmcombo/xmcombo.c # $(ZLIB_SRC)
182
183 EXTRA_CPP_SRC=\
184
185 # mdi/lib/XsComponent.C\
186 # mdi/lib/XsMDICanvas.C\
187 # mdi/lib/XsMDIWindow.C\
188 # mdi/lib/XsMotifWindow.C\
189 # mdi/lib/XsMoveOutline.C\
190 # mdi/lib/XsOutline.C\
191 # mdi/lib/XsResizeOutline.C
192
193 all: $(WXLIB)
194
195 # Define library objects
196 OBJECTS=\
197 $(LIB_CPP_SRC:.cpp=.o) $(LIB_C_SRC:.c=.o) $(EXTRA_C_SRC:.c=.o) $(EXTRA_CPP_SRC:.C=.o)
198
199 $(WXLIB) : $(OBJECTS)
200 ar $(AROPTIONS) $@ $(OBJECTS)
201 $(RANLIB) $@
202
203 ../common/y_tab.$(OBJSUFF): ../common/y_tab.c ../common/lex_yy.c
204 $(CCLEX) -c $(CFLAGS) -DNO_CONFIGURE -o $@ ../common/y_tab.c
205
206 # Replace lex with flex if you run into compilation
207 # problems with lex_yy.c. See also note about LEX_SCANNER
208 # above.
209 ../common/lex_yy.c: ../common/lexer.l
210 $(LEX) -o../common/lex.yy.c ../common/lexer.l
211 sed -e "s/BUFSIZ/5000/g" < ../common/lex.yy.c | \
212 sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
213 sed -e "s/YYLMAX 200/YYLMAX 5000/g" > ../common/lex_yy.c
214 /bin/rm -f ../common/lex.yy.c
215
216 # Replace yacc with bison if you run into compilation
217 # problems with y_tab.c.
218 ../common/y_tab.c: ../common/parser.y
219 $(YACC) ../common/parser.y
220 mv y.tab.c ../common/y_tab.c
221
222 combobox/combobox.o: combobox/combobox.c
223 $(CCC) -c $(CFLAGS) -o $@ combobox/combobox.c
224
225 clean:
226 rm -f $(OBJECTS) $(WXLIB)
227