]> git.saurik.com Git - wxWidgets.git/blob - src/motif/Makefile.am
Added a few #if wxUSE_XXX
[wxWidgets.git] / src / motif / Makefile.am
1 ## Purpose: The automake makefile for wxWindows (src/motif subdirectory)
2 ## Author: Phil Blecker, Vadim Zeitlin
3 ## Version: $Id$
4 ##
5 ## Process this file with automake to produce Makefile.in
6
7 SUFFIXES = .cpp .c
8
9 DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
10 LIBS = $(GUILIBS)
11
12 VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${EXTRA_VPATH}
13
14 EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
15
16 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
17 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la
18
19 # these are the common files which always make part of the library
20 libwx_motif_la_SOURCES = \
21 \
22 extended.c \
23 parser.c \
24 \
25 cmndata.cpp \
26 dynarray.cpp \
27 filefn.cpp \
28 hash.cpp \
29 list.cpp \
30 matrix.cpp \
31 memory.cpp \
32 module.cpp \
33 object.cpp \
34 string.cpp \
35 timercmn.cpp \
36 utilscmn.cpp \
37 tokenzr.cpp \
38 variant.cpp \
39 wxchar.cpp \
40 \
41 config.cpp \
42 date.cpp \
43 datstrm.cpp \
44 db.cpp \
45 dbtable.cpp \
46 dcbase.cpp \
47 docmdi.cpp \
48 docview.cpp \
49 dynlib.cpp \
50 event.cpp \
51 file.cpp \
52 fileconf.cpp \
53 framecmn.cpp \
54 ftp.cpp \
55 gdicmn.cpp \
56 helpbase.cpp \
57 http.cpp \
58 image.cpp \
59 imagbmp.cpp \
60 imaggif.cpp \
61 imagjpeg.cpp \
62 imagpng.cpp \
63 intl.cpp \
64 ipcbase.cpp \
65 layout.cpp \
66 log.cpp \
67 longlong.cpp \
68 mimetype.cpp \
69 mstream.cpp \
70 objstrm.cpp \
71 odbc.cpp \
72 paper.cpp \
73 prntbase.cpp \
74 process.cpp \
75 protocol.cpp \
76 resource.cpp \
77 sckaddr.cpp \
78 sckfile.cpp \
79 sckint.cpp \
80 sckipc.cpp \
81 sckstrm.cpp \
82 serbase.cpp \
83 socket.cpp \
84 stream.cpp \
85 tbarbase.cpp \
86 tbarsmpl.cpp \
87 textfile.cpp \
88 time.cpp \
89 url.cpp \
90 valgen.cpp \
91 validate.cpp \
92 valtext.cpp \
93 wfstream.cpp \
94 wincmn.cpp \
95 wxexpr.cpp \
96 zstream.cpp \
97 \
98 caret.cpp \
99 choicdgg.cpp \
100 colrdlgg.cpp \
101 dcpsg.cpp \
102 dirdlgg.cpp \
103 fontdlgg.cpp \
104 gridg.cpp \
105 helpext.cpp \
106 helphtml.cpp \
107 imaglist.cpp \
108 laywin.cpp \
109 listctrl.cpp \
110 msgdlgg.cpp \
111 panelg.cpp \
112 printps.cpp \
113 prntdlgg.cpp \
114 progdlgg.cpp \
115 prop.cpp \
116 propform.cpp \
117 proplist.cpp \
118 sashwin.cpp \
119 scrolwin.cpp \
120 splitter.cpp \
121 statusbr.cpp \
122 tabg.cpp \
123 textdlgg.cpp \
124 treectrl.cpp \
125 \
126 threadpsx.cpp \
127 utilsunx.cpp \
128 \
129 accel.cpp \
130 app.cpp \
131 bitmap.cpp \
132 bmpbuttn.cpp \
133 brush.cpp \
134 button.cpp \
135 checkbox.cpp \
136 checklst.cpp \
137 choice.cpp \
138 clipbrd.cpp \
139 colour.cpp \
140 combobox.cpp \
141 control.cpp \
142 cursor.cpp \
143 data.cpp \
144 dataobj.cpp \
145 dc.cpp \
146 dcclient.cpp \
147 dcmemory.cpp \
148 dcscreen.cpp \
149 dialog.cpp \
150 dnd.cpp \
151 filedlg.cpp \
152 font.cpp \
153 frame.cpp \
154 gauge.cpp \
155 gdiobj.cpp \
156 icon.cpp \
157 listbox.cpp \
158 main.cpp \
159 mdi.cpp \
160 menu.cpp \
161 minifram.cpp \
162 notebook.cpp \
163 palette.cpp \
164 pen.cpp \
165 radiobox.cpp \
166 radiobut.cpp \
167 region.cpp \
168 scrolbar.cpp \
169 settings.cpp \
170 slider.cpp \
171 spinbutt.cpp \
172 statbmp.cpp \
173 statbox.cpp \
174 statline.cpp \
175 stattext.cpp \
176 textctrl.cpp \
177 timer.cpp \
178 tooltip.cpp \
179 utilsres.cpp \
180 wave.cpp \
181 window.cpp
182
183 # these are the sources which we build by our own rules
184 #
185 # TODO: parser.y can be included into SOURCES, but for the sake of my life I
186 # don't know where to put lexer.l - if I put it in the sources too,
187 # automake tries to build lexer.lo... and fails, of course. (VZ)
188 BUILT_SOURCES = parser.c lexer.c
189 parser.c: $(srcdir)/../common/parser.y lexer.c
190 $(YACC) $(srcdir)/../common/parser.y
191 @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
192 sed -e "s/BUFSIZ/5000/g" | \
193 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
194 sed -e "s/yy/PROIO_yy/g" | \
195 sed -e "s/input/PROIO_input/g" | \
196 sed -e "s/unput/PROIO_unput/g" > parser.c
197 @$(RM) y.tab.c
198
199 lexer.c: $(srcdir)/../common/lexer.l
200 $(LEX) $(srcdir)/../common/lexer.l
201 @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
202 sed -e "s/yy/PROIO_yy/g" | \
203 sed -e "s/input/PROIO_input/g" | \
204 sed -e "s/unput/PROIO_unput/g" > lexer.c
205 @$(RM) lex.yy.c
206
207 libwx_motif_la_LDFLAGS = -rpath @libdir@ \
208 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
209 -release $(LT_RELEASE)
210 libwx_motif_la_LIBADD = $(LTLIBOBJS)
211 libwx_motif_la_DEPENDENCIES = $(libwx_motif_la_LIBADD) lexer.l parser.y