| 1 | # This file was automatically generated by tmake at 16:36, 2001/11/20 |
| 2 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T! |
| 3 | |
| 4 | # |
| 5 | # File: makefile.g95 |
| 6 | # Author: Julian Smart, Robert Roebling, Vadim Zeitlin |
| 7 | # Created: 1993 |
| 8 | # Updated: 1999 |
| 9 | # Copyright:(c) 1993, AIAI, University of Edinburgh, |
| 10 | # Copyright:(c) 1999, Vadim Zeitlin |
| 11 | # Copyright:(c) 1999, Robert Roebling |
| 12 | # |
| 13 | # Makefile for libwx.a |
| 14 | |
| 15 | # Replace this with your own path if necessary |
| 16 | WXDIR = ../.. |
| 17 | |
| 18 | # All common compiler flags and options are now in |
| 19 | # this central makefile. |
| 20 | include $(WXDIR)/src/makeg95.env |
| 21 | |
| 22 | # DLL Name, if building wxWindows as a DLL. |
| 23 | ifdef WXMAKINGDLL |
| 24 | WXDLL = $(WXDIR)/lib/wxmsw$(WXVERSION)$(UNIEXT).dll |
| 25 | WXDEF = wxmsw$(WXVERSION)$(UNIEXT).def |
| 26 | DLL_EXTRA_LIBS = $(WXDIR)/lib/libzlib.a \ |
| 27 | $(WXDIR)/lib/libpng.a $(WXDIR)/lib/libjpeg.a \ |
| 28 | $(WXDIR)/lib/libtiff.a $(WXDIR)/lib/libregex.a |
| 29 | DLL_LDFLAGS = -L$(WXDIR)/lib |
| 30 | DLL_LDLIBS = -mwindows -lcomctl32 -lctl3d32 -lole32 -loleaut32 \ |
| 31 | -luuid -lrpcrt4 -lodbc32 -lwinmm -lopengl32 \ |
| 32 | -lwsock32 $(DLL_EXTRA_LIBS) \ |
| 33 | -lstdc++ |
| 34 | endif |
| 35 | |
| 36 | # Subordinate library possibilities |
| 37 | |
| 38 | EXTRAOBJS= |
| 39 | |
| 40 | GENDIR = $(WXDIR)/src/generic |
| 41 | COMMDIR = $(WXDIR)/src/common |
| 42 | HTMLDIR = $(WXDIR)/src/html |
| 43 | ZLIBDIR = $(WXDIR)/src/zlib |
| 44 | PNGDIR = $(WXDIR)/src/png |
| 45 | JPEGDIR = $(WXDIR)/src/jpeg |
| 46 | TIFFDIR = $(WXDIR)/src/tiff |
| 47 | OLEDIR = $(WXDIR)/src/msw/ole |
| 48 | MSWDIR = $(WXDIR)/src/msw |
| 49 | REGEXDIR= $(WXDIR)/src/regex |
| 50 | |
| 51 | ZLIBLIB = $(WXDIR)/lib/libzlib.a |
| 52 | PNGLIB = $(WXDIR)/lib/libpng.a |
| 53 | JPEGLIB = $(WXDIR)/lib/libjpeg.a |
| 54 | TIFFLIB = $(WXDIR)/lib/libtiff.a |
| 55 | REGEXLIB= $(WXDIR)/lib/libregex.a |
| 56 | |
| 57 | DOCDIR = $(WXDIR)/docs |
| 58 | |
| 59 | # Only use the WIN32 wxDirDialog if we have a recent |
| 60 | # version of Mingw32 |
| 61 | ifeq ($(MINGW32),1) |
| 62 | ifneq "$(findstring 2.95, $(MINGW32VERSION))" "" |
| 63 | DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF) |
| 64 | else |
| 65 | DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF) |
| 66 | endif |
| 67 | else |
| 68 | DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF) |
| 69 | endif |
| 70 | |
| 71 | GENERICOBJS = \ |
| 72 | $(GENDIR)/busyinfo.$(OBJSUFF) \ |
| 73 | $(GENDIR)/calctrl.$(OBJSUFF) \ |
| 74 | $(GENDIR)/choicdgg.$(OBJSUFF) \ |
| 75 | $(GENDIR)/dcpsg.$(OBJSUFF) \ |
| 76 | $(GENDIR)/dirctrlg.$(OBJSUFF) \ |
| 77 | $(GENDIR)/dragimgg.$(OBJSUFF) \ |
| 78 | $(GENDIR)/grid.$(OBJSUFF) \ |
| 79 | $(GENDIR)/gridctrl.$(OBJSUFF) \ |
| 80 | $(GENDIR)/gridsel.$(OBJSUFF) \ |
| 81 | $(GENDIR)/laywin.$(OBJSUFF) \ |
| 82 | $(GENDIR)/logg.$(OBJSUFF) \ |
| 83 | $(GENDIR)/numdlgg.$(OBJSUFF) \ |
| 84 | $(GENDIR)/panelg.$(OBJSUFF) \ |
| 85 | $(GENDIR)/progdlgg.$(OBJSUFF) \ |
| 86 | $(GENDIR)/prop.$(OBJSUFF) \ |
| 87 | $(GENDIR)/propform.$(OBJSUFF) \ |
| 88 | $(GENDIR)/proplist.$(OBJSUFF) \ |
| 89 | $(GENDIR)/sashwin.$(OBJSUFF) \ |
| 90 | $(GENDIR)/scrlwing.$(OBJSUFF) \ |
| 91 | $(GENDIR)/spinctlg.$(OBJSUFF) \ |
| 92 | $(GENDIR)/splash.$(OBJSUFF) \ |
| 93 | $(GENDIR)/splitter.$(OBJSUFF) \ |
| 94 | $(GENDIR)/statusbr.$(OBJSUFF) \ |
| 95 | $(GENDIR)/tbarsmpl.$(OBJSUFF) \ |
| 96 | $(GENDIR)/textdlgg.$(OBJSUFF) \ |
| 97 | $(GENDIR)/tipdlg.$(OBJSUFF) \ |
| 98 | $(GENDIR)/tipwin.$(OBJSUFF) \ |
| 99 | $(GENDIR)/treectlg.$(OBJSUFF) \ |
| 100 | $(GENDIR)/treelay.$(OBJSUFF) \ |
| 101 | $(GENDIR)/wizard.$(OBJSUFF) |
| 102 | |
| 103 | COMMONOBJS = \ |
| 104 | $(COMMDIR)/y_tab.$(OBJSUFF) \ |
| 105 | $(COMMDIR)/appcmn.$(OBJSUFF) \ |
| 106 | $(COMMDIR)/choiccmn.$(OBJSUFF) \ |
| 107 | $(COMMDIR)/clipcmn.$(OBJSUFF) \ |
| 108 | $(COMMDIR)/clntdata.$(OBJSUFF) \ |
| 109 | $(COMMDIR)/cmdline.$(OBJSUFF) \ |
| 110 | $(COMMDIR)/cmdproc.$(OBJSUFF) \ |
| 111 | $(COMMDIR)/cmndata.$(OBJSUFF) \ |
| 112 | $(COMMDIR)/config.$(OBJSUFF) \ |
| 113 | $(COMMDIR)/containr.$(OBJSUFF) \ |
| 114 | $(COMMDIR)/cshelp.$(OBJSUFF) \ |
| 115 | $(COMMDIR)/ctrlcmn.$(OBJSUFF) \ |
| 116 | $(COMMDIR)/ctrlsub.$(OBJSUFF) \ |
| 117 | $(COMMDIR)/datetime.$(OBJSUFF) \ |
| 118 | $(COMMDIR)/datstrm.$(OBJSUFF) \ |
| 119 | $(COMMDIR)/db.$(OBJSUFF) \ |
| 120 | $(COMMDIR)/dbgrid.$(OBJSUFF) \ |
| 121 | $(COMMDIR)/dbtable.$(OBJSUFF) \ |
| 122 | $(COMMDIR)/dcbase.$(OBJSUFF) \ |
| 123 | $(COMMDIR)/dircmn.$(OBJSUFF) \ |
| 124 | $(COMMDIR)/dlgcmn.$(OBJSUFF) \ |
| 125 | $(COMMDIR)/dndcmn.$(OBJSUFF) \ |
| 126 | $(COMMDIR)/dobjcmn.$(OBJSUFF) \ |
| 127 | $(COMMDIR)/docmdi.$(OBJSUFF) \ |
| 128 | $(COMMDIR)/docview.$(OBJSUFF) \ |
| 129 | $(COMMDIR)/dseldlg.$(OBJSUFF) \ |
| 130 | $(COMMDIR)/dynarray.$(OBJSUFF) \ |
| 131 | $(COMMDIR)/dynlib.$(OBJSUFF) \ |
| 132 | $(COMMDIR)/effects.$(OBJSUFF) \ |
| 133 | $(COMMDIR)/encconv.$(OBJSUFF) \ |
| 134 | $(COMMDIR)/event.$(OBJSUFF) \ |
| 135 | $(COMMDIR)/extended.$(OBJSUFF) \ |
| 136 | $(COMMDIR)/fddlgcmn.$(OBJSUFF) \ |
| 137 | $(COMMDIR)/ffile.$(OBJSUFF) \ |
| 138 | $(COMMDIR)/file.$(OBJSUFF) \ |
| 139 | $(COMMDIR)/fileconf.$(OBJSUFF) \ |
| 140 | $(COMMDIR)/filefn.$(OBJSUFF) \ |
| 141 | $(COMMDIR)/filename.$(OBJSUFF) \ |
| 142 | $(COMMDIR)/filesys.$(OBJSUFF) \ |
| 143 | $(COMMDIR)/fontcmn.$(OBJSUFF) \ |
| 144 | $(COMMDIR)/fontmap.$(OBJSUFF) \ |
| 145 | $(COMMDIR)/framecmn.$(OBJSUFF) \ |
| 146 | $(COMMDIR)/fs_inet.$(OBJSUFF) \ |
| 147 | $(COMMDIR)/fs_mem.$(OBJSUFF) \ |
| 148 | $(COMMDIR)/fs_zip.$(OBJSUFF) \ |
| 149 | $(COMMDIR)/ftp.$(OBJSUFF) \ |
| 150 | $(COMMDIR)/gaugecmn.$(OBJSUFF) \ |
| 151 | $(COMMDIR)/gdicmn.$(OBJSUFF) \ |
| 152 | $(COMMDIR)/geometry.$(OBJSUFF) \ |
| 153 | $(COMMDIR)/gifdecod.$(OBJSUFF) \ |
| 154 | $(COMMDIR)/hash.$(OBJSUFF) \ |
| 155 | $(COMMDIR)/helpbase.$(OBJSUFF) \ |
| 156 | $(COMMDIR)/http.$(OBJSUFF) \ |
| 157 | $(COMMDIR)/imagall.$(OBJSUFF) \ |
| 158 | $(COMMDIR)/imagbmp.$(OBJSUFF) \ |
| 159 | $(COMMDIR)/image.$(OBJSUFF) \ |
| 160 | $(COMMDIR)/imaggif.$(OBJSUFF) \ |
| 161 | $(COMMDIR)/imagjpeg.$(OBJSUFF) \ |
| 162 | $(COMMDIR)/imagpcx.$(OBJSUFF) \ |
| 163 | $(COMMDIR)/imagpng.$(OBJSUFF) \ |
| 164 | $(COMMDIR)/imagpnm.$(OBJSUFF) \ |
| 165 | $(COMMDIR)/imagtiff.$(OBJSUFF) \ |
| 166 | $(COMMDIR)/imagxpm.$(OBJSUFF) \ |
| 167 | $(COMMDIR)/intl.$(OBJSUFF) \ |
| 168 | $(COMMDIR)/ipcbase.$(OBJSUFF) \ |
| 169 | $(COMMDIR)/layout.$(OBJSUFF) \ |
| 170 | $(COMMDIR)/lboxcmn.$(OBJSUFF) \ |
| 171 | $(COMMDIR)/list.$(OBJSUFF) \ |
| 172 | $(COMMDIR)/log.$(OBJSUFF) \ |
| 173 | $(COMMDIR)/longlong.$(OBJSUFF) \ |
| 174 | $(COMMDIR)/matrix.$(OBJSUFF) \ |
| 175 | $(COMMDIR)/memory.$(OBJSUFF) \ |
| 176 | $(COMMDIR)/menucmn.$(OBJSUFF) \ |
| 177 | $(COMMDIR)/mimecmn.$(OBJSUFF) \ |
| 178 | $(COMMDIR)/module.$(OBJSUFF) \ |
| 179 | $(COMMDIR)/mstream.$(OBJSUFF) \ |
| 180 | $(COMMDIR)/nbkbase.$(OBJSUFF) \ |
| 181 | $(COMMDIR)/object.$(OBJSUFF) \ |
| 182 | $(COMMDIR)/objstrm.$(OBJSUFF) \ |
| 183 | $(COMMDIR)/paper.$(OBJSUFF) \ |
| 184 | $(COMMDIR)/popupcmn.$(OBJSUFF) \ |
| 185 | $(COMMDIR)/prntbase.$(OBJSUFF) \ |
| 186 | $(COMMDIR)/process.$(OBJSUFF) \ |
| 187 | $(COMMDIR)/protocol.$(OBJSUFF) \ |
| 188 | $(COMMDIR)/quantize.$(OBJSUFF) \ |
| 189 | $(COMMDIR)/radiocmn.$(OBJSUFF) \ |
| 190 | $(COMMDIR)/regex.$(OBJSUFF) \ |
| 191 | $(COMMDIR)/resource.$(OBJSUFF) \ |
| 192 | $(COMMDIR)/sckaddr.$(OBJSUFF) \ |
| 193 | $(COMMDIR)/sckfile.$(OBJSUFF) \ |
| 194 | $(COMMDIR)/sckipc.$(OBJSUFF) \ |
| 195 | $(COMMDIR)/sckstrm.$(OBJSUFF) \ |
| 196 | $(COMMDIR)/serbase.$(OBJSUFF) \ |
| 197 | $(COMMDIR)/sizer.$(OBJSUFF) \ |
| 198 | $(COMMDIR)/socket.$(OBJSUFF) \ |
| 199 | $(COMMDIR)/statbar.$(OBJSUFF) \ |
| 200 | $(COMMDIR)/strconv.$(OBJSUFF) \ |
| 201 | $(COMMDIR)/stream.$(OBJSUFF) \ |
| 202 | $(COMMDIR)/string.$(OBJSUFF) \ |
| 203 | $(COMMDIR)/sysopt.$(OBJSUFF) \ |
| 204 | $(COMMDIR)/tbarbase.$(OBJSUFF) \ |
| 205 | $(COMMDIR)/textbuf.$(OBJSUFF) \ |
| 206 | $(COMMDIR)/textcmn.$(OBJSUFF) \ |
| 207 | $(COMMDIR)/textfile.$(OBJSUFF) \ |
| 208 | $(COMMDIR)/timercmn.$(OBJSUFF) \ |
| 209 | $(COMMDIR)/tokenzr.$(OBJSUFF) \ |
| 210 | $(COMMDIR)/toplvcmn.$(OBJSUFF) \ |
| 211 | $(COMMDIR)/treebase.$(OBJSUFF) \ |
| 212 | $(COMMDIR)/txtstrm.$(OBJSUFF) \ |
| 213 | $(COMMDIR)/unzip.$(OBJSUFF) \ |
| 214 | $(COMMDIR)/url.$(OBJSUFF) \ |
| 215 | $(COMMDIR)/utilscmn.$(OBJSUFF) \ |
| 216 | $(COMMDIR)/valgen.$(OBJSUFF) \ |
| 217 | $(COMMDIR)/validate.$(OBJSUFF) \ |
| 218 | $(COMMDIR)/valtext.$(OBJSUFF) \ |
| 219 | $(COMMDIR)/variant.$(OBJSUFF) \ |
| 220 | $(COMMDIR)/wfstream.$(OBJSUFF) \ |
| 221 | $(COMMDIR)/wincmn.$(OBJSUFF) \ |
| 222 | $(COMMDIR)/wxchar.$(OBJSUFF) \ |
| 223 | $(COMMDIR)/wxexpr.$(OBJSUFF) \ |
| 224 | $(COMMDIR)/xpmdecod.$(OBJSUFF) \ |
| 225 | $(COMMDIR)/zipstrm.$(OBJSUFF) \ |
| 226 | $(COMMDIR)/zstream.$(OBJSUFF) |
| 227 | |
| 228 | HTMLOBJS = \ |
| 229 | $(HTMLDIR)/helpctrl.$(OBJSUFF) \ |
| 230 | $(HTMLDIR)/helpdata.$(OBJSUFF) \ |
| 231 | $(HTMLDIR)/helpfrm.$(OBJSUFF) \ |
| 232 | $(HTMLDIR)/htmlcell.$(OBJSUFF) \ |
| 233 | $(HTMLDIR)/htmlfilt.$(OBJSUFF) \ |
| 234 | $(HTMLDIR)/htmlpars.$(OBJSUFF) \ |
| 235 | $(HTMLDIR)/htmltag.$(OBJSUFF) \ |
| 236 | $(HTMLDIR)/htmlwin.$(OBJSUFF) \ |
| 237 | $(HTMLDIR)/htmprint.$(OBJSUFF) \ |
| 238 | $(HTMLDIR)/m_dflist.$(OBJSUFF) \ |
| 239 | $(HTMLDIR)/m_fonts.$(OBJSUFF) \ |
| 240 | $(HTMLDIR)/m_hline.$(OBJSUFF) \ |
| 241 | $(HTMLDIR)/m_image.$(OBJSUFF) \ |
| 242 | $(HTMLDIR)/m_layout.$(OBJSUFF) \ |
| 243 | $(HTMLDIR)/m_links.$(OBJSUFF) \ |
| 244 | $(HTMLDIR)/m_list.$(OBJSUFF) \ |
| 245 | $(HTMLDIR)/m_meta.$(OBJSUFF) \ |
| 246 | $(HTMLDIR)/m_pre.$(OBJSUFF) \ |
| 247 | $(HTMLDIR)/m_tables.$(OBJSUFF) \ |
| 248 | $(HTMLDIR)/winpars.$(OBJSUFF) |
| 249 | |
| 250 | MSWOBJS = \ |
| 251 | $(MSWDIR)/accel.$(OBJSUFF) \ |
| 252 | $(MSWDIR)/app.$(OBJSUFF) \ |
| 253 | $(MSWDIR)/bitmap.$(OBJSUFF) \ |
| 254 | $(MSWDIR)/bmpbuttn.$(OBJSUFF) \ |
| 255 | $(MSWDIR)/brush.$(OBJSUFF) \ |
| 256 | $(MSWDIR)/button.$(OBJSUFF) \ |
| 257 | $(MSWDIR)/caret.$(OBJSUFF) \ |
| 258 | $(MSWDIR)/checkbox.$(OBJSUFF) \ |
| 259 | $(MSWDIR)/checklst.$(OBJSUFF) \ |
| 260 | $(MSWDIR)/choice.$(OBJSUFF) \ |
| 261 | $(MSWDIR)/clipbrd.$(OBJSUFF) \ |
| 262 | $(MSWDIR)/colordlg.$(OBJSUFF) \ |
| 263 | $(MSWDIR)/colour.$(OBJSUFF) \ |
| 264 | $(MSWDIR)/combobox.$(OBJSUFF) \ |
| 265 | $(MSWDIR)/control.$(OBJSUFF) \ |
| 266 | $(MSWDIR)/curico.$(OBJSUFF) \ |
| 267 | $(MSWDIR)/cursor.$(OBJSUFF) \ |
| 268 | $(MSWDIR)/data.$(OBJSUFF) \ |
| 269 | $(MSWDIR)/dc.$(OBJSUFF) \ |
| 270 | $(MSWDIR)/dcclient.$(OBJSUFF) \ |
| 271 | $(MSWDIR)/dcmemory.$(OBJSUFF) \ |
| 272 | $(MSWDIR)/dcprint.$(OBJSUFF) \ |
| 273 | $(MSWDIR)/dcscreen.$(OBJSUFF) \ |
| 274 | $(MSWDIR)/dde.$(OBJSUFF) \ |
| 275 | $(MSWDIR)/dialog.$(OBJSUFF) \ |
| 276 | $(MSWDIR)/dialup.$(OBJSUFF) \ |
| 277 | $(MSWDIR)/dib.$(OBJSUFF) \ |
| 278 | $(MSWDIR)/dibutils.$(OBJSUFF) \ |
| 279 | $(MSWDIR)/dir.$(OBJSUFF) \ |
| 280 | $(MSWDIR)/dragimag.$(OBJSUFF) \ |
| 281 | $(MSWDIR)/enhmeta.$(OBJSUFF) \ |
| 282 | $(MSWDIR)/evtloop.$(OBJSUFF) \ |
| 283 | $(MSWDIR)/fdrepdlg.$(OBJSUFF) \ |
| 284 | $(MSWDIR)/filedlg.$(OBJSUFF) \ |
| 285 | $(MSWDIR)/font.$(OBJSUFF) \ |
| 286 | $(MSWDIR)/fontdlg.$(OBJSUFF) \ |
| 287 | $(MSWDIR)/fontenum.$(OBJSUFF) \ |
| 288 | $(MSWDIR)/fontutil.$(OBJSUFF) \ |
| 289 | $(MSWDIR)/frame.$(OBJSUFF) \ |
| 290 | $(MSWDIR)/gauge95.$(OBJSUFF) \ |
| 291 | $(MSWDIR)/gdiimage.$(OBJSUFF) \ |
| 292 | $(MSWDIR)/gdiobj.$(OBJSUFF) \ |
| 293 | $(MSWDIR)/glcanvas.$(OBJSUFF) \ |
| 294 | $(MSWDIR)/gsocket.$(OBJSUFF) \ |
| 295 | $(MSWDIR)/gsockmsw.$(OBJSUFF) \ |
| 296 | $(MSWDIR)/helpbest.$(OBJSUFF) \ |
| 297 | $(MSWDIR)/helpchm.$(OBJSUFF) \ |
| 298 | $(MSWDIR)/helpwin.$(OBJSUFF) \ |
| 299 | $(MSWDIR)/icon.$(OBJSUFF) \ |
| 300 | $(MSWDIR)/imaglist.$(OBJSUFF) \ |
| 301 | $(MSWDIR)/joystick.$(OBJSUFF) \ |
| 302 | $(MSWDIR)/listbox.$(OBJSUFF) \ |
| 303 | $(MSWDIR)/listctrl.$(OBJSUFF) \ |
| 304 | $(MSWDIR)/main.$(OBJSUFF) \ |
| 305 | $(MSWDIR)/mdi.$(OBJSUFF) \ |
| 306 | $(MSWDIR)/menu.$(OBJSUFF) \ |
| 307 | $(MSWDIR)/menuitem.$(OBJSUFF) \ |
| 308 | $(MSWDIR)/metafile.$(OBJSUFF) \ |
| 309 | $(MSWDIR)/mimetype.$(OBJSUFF) \ |
| 310 | $(MSWDIR)/minifram.$(OBJSUFF) \ |
| 311 | $(MSWDIR)/msgdlg.$(OBJSUFF) \ |
| 312 | $(MSWDIR)/nativdlg.$(OBJSUFF) \ |
| 313 | $(MSWDIR)/notebook.$(OBJSUFF) \ |
| 314 | $(MSWDIR)/ownerdrw.$(OBJSUFF) \ |
| 315 | $(MSWDIR)/palette.$(OBJSUFF) \ |
| 316 | $(MSWDIR)/pen.$(OBJSUFF) \ |
| 317 | $(MSWDIR)/penwin.$(OBJSUFF) \ |
| 318 | $(MSWDIR)/printdlg.$(OBJSUFF) \ |
| 319 | $(MSWDIR)/printwin.$(OBJSUFF) \ |
| 320 | $(MSWDIR)/radiobox.$(OBJSUFF) \ |
| 321 | $(MSWDIR)/radiobut.$(OBJSUFF) \ |
| 322 | $(MSWDIR)/regconf.$(OBJSUFF) \ |
| 323 | $(MSWDIR)/region.$(OBJSUFF) \ |
| 324 | $(MSWDIR)/registry.$(OBJSUFF) \ |
| 325 | $(MSWDIR)/scrolbar.$(OBJSUFF) \ |
| 326 | $(MSWDIR)/settings.$(OBJSUFF) \ |
| 327 | $(MSWDIR)/slider95.$(OBJSUFF) \ |
| 328 | $(MSWDIR)/snglinst.$(OBJSUFF) \ |
| 329 | $(MSWDIR)/spinbutt.$(OBJSUFF) \ |
| 330 | $(MSWDIR)/spinctrl.$(OBJSUFF) \ |
| 331 | $(MSWDIR)/statbmp.$(OBJSUFF) \ |
| 332 | $(MSWDIR)/statbox.$(OBJSUFF) \ |
| 333 | $(MSWDIR)/statbr95.$(OBJSUFF) \ |
| 334 | $(MSWDIR)/statline.$(OBJSUFF) \ |
| 335 | $(MSWDIR)/stattext.$(OBJSUFF) \ |
| 336 | $(MSWDIR)/tabctrl.$(OBJSUFF) \ |
| 337 | $(MSWDIR)/taskbar.$(OBJSUFF) \ |
| 338 | $(MSWDIR)/tbar95.$(OBJSUFF) \ |
| 339 | $(MSWDIR)/textctrl.$(OBJSUFF) \ |
| 340 | $(MSWDIR)/tglbtn.$(OBJSUFF) \ |
| 341 | $(MSWDIR)/thread.$(OBJSUFF) \ |
| 342 | $(MSWDIR)/timer.$(OBJSUFF) \ |
| 343 | $(MSWDIR)/tooltip.$(OBJSUFF) \ |
| 344 | $(MSWDIR)/toplevel.$(OBJSUFF) \ |
| 345 | $(MSWDIR)/treectrl.$(OBJSUFF) \ |
| 346 | $(MSWDIR)/utils.$(OBJSUFF) \ |
| 347 | $(MSWDIR)/utilsexc.$(OBJSUFF) \ |
| 348 | $(MSWDIR)/wave.$(OBJSUFF) \ |
| 349 | $(MSWDIR)/window.$(OBJSUFF) |
| 350 | |
| 351 | ADVANCEDOBJS = \ |
| 352 | $(COMMDIR)/odbc.$(OBJSUFF) \ |
| 353 | $(MSWDIR)/ole/automtn.$(OBJSUFF) \ |
| 354 | $(MSWDIR)/ole/dataobj.$(OBJSUFF) \ |
| 355 | $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \ |
| 356 | $(MSWDIR)/ole/droptgt.$(OBJSUFF) \ |
| 357 | $(MSWDIR)/ole/oleutils.$(OBJSUFF) \ |
| 358 | $(MSWDIR)/ole/uuid.$(OBJSUFF) |
| 359 | |
| 360 | ZLIBOBJS = \ |
| 361 | $(ZLIBDIR)/adler32.$(OBJSUFF) \ |
| 362 | $(ZLIBDIR)/compress.$(OBJSUFF) \ |
| 363 | $(ZLIBDIR)/crc32.$(OBJSUFF) \ |
| 364 | $(ZLIBDIR)/gzio.$(OBJSUFF) \ |
| 365 | $(ZLIBDIR)/uncompr.$(OBJSUFF) \ |
| 366 | $(ZLIBDIR)/deflate.$(OBJSUFF) \ |
| 367 | $(ZLIBDIR)/trees.$(OBJSUFF) \ |
| 368 | $(ZLIBDIR)/zutil.$(OBJSUFF) \ |
| 369 | $(ZLIBDIR)/inflate.$(OBJSUFF) \ |
| 370 | $(ZLIBDIR)/infblock.$(OBJSUFF) \ |
| 371 | $(ZLIBDIR)/inftrees.$(OBJSUFF) \ |
| 372 | $(ZLIBDIR)/infcodes.$(OBJSUFF) \ |
| 373 | $(ZLIBDIR)/infutil.$(OBJSUFF) \ |
| 374 | $(ZLIBDIR)/inffast.$(OBJSUFF) |
| 375 | |
| 376 | PNGOBJS = \ |
| 377 | $(PNGDIR)/png.$(OBJSUFF) \ |
| 378 | $(PNGDIR)/pngread.$(OBJSUFF) \ |
| 379 | $(PNGDIR)/pngrtran.$(OBJSUFF) \ |
| 380 | $(PNGDIR)/pngrutil.$(OBJSUFF) \ |
| 381 | $(PNGDIR)/pngpread.$(OBJSUFF) \ |
| 382 | $(PNGDIR)/pngtrans.$(OBJSUFF) \ |
| 383 | $(PNGDIR)/pngwrite.$(OBJSUFF) \ |
| 384 | $(PNGDIR)/pngwtran.$(OBJSUFF) \ |
| 385 | $(PNGDIR)/pngwutil.$(OBJSUFF) \ |
| 386 | $(PNGDIR)/pngerror.$(OBJSUFF) \ |
| 387 | $(PNGDIR)/pngmem.$(OBJSUFF) \ |
| 388 | $(PNGDIR)/pngwio.$(OBJSUFF) \ |
| 389 | $(PNGDIR)/pngrio.$(OBJSUFF) \ |
| 390 | $(PNGDIR)/pngget.$(OBJSUFF) \ |
| 391 | $(PNGDIR)/pngset.$(OBJSUFF) |
| 392 | |
| 393 | |
| 394 | JPEGOBJS = \ |
| 395 | $(JPEGDIR)/jcomapi.$(OBJSUFF) \ |
| 396 | $(JPEGDIR)/jutils.$(OBJSUFF) \ |
| 397 | $(JPEGDIR)/jerror.$(OBJSUFF) \ |
| 398 | $(JPEGDIR)/jmemmgr.$(OBJSUFF) \ |
| 399 | $(JPEGDIR)/jmemnobs.$(OBJSUFF) \ |
| 400 | $(JPEGDIR)/jcapimin.$(OBJSUFF) \ |
| 401 | $(JPEGDIR)/jcapistd.$(OBJSUFF) \ |
| 402 | $(JPEGDIR)/jctrans.$(OBJSUFF) \ |
| 403 | $(JPEGDIR)/jcparam.$(OBJSUFF) \ |
| 404 | $(JPEGDIR)/jdatadst.$(OBJSUFF) \ |
| 405 | $(JPEGDIR)/jcinit.$(OBJSUFF) \ |
| 406 | $(JPEGDIR)/jcmaster.$(OBJSUFF) \ |
| 407 | $(JPEGDIR)/jcmarker.$(OBJSUFF) \ |
| 408 | $(JPEGDIR)/jcmainct.$(OBJSUFF) \ |
| 409 | $(JPEGDIR)/jcprepct.$(OBJSUFF) \ |
| 410 | $(JPEGDIR)/jccoefct.$(OBJSUFF) \ |
| 411 | $(JPEGDIR)/jccolor.$(OBJSUFF) \ |
| 412 | $(JPEGDIR)/jcsample.$(OBJSUFF) \ |
| 413 | $(JPEGDIR)/jchuff.$(OBJSUFF) \ |
| 414 | $(JPEGDIR)/jcphuff.$(OBJSUFF) \ |
| 415 | $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \ |
| 416 | $(JPEGDIR)/jfdctfst.$(OBJSUFF) \ |
| 417 | $(JPEGDIR)/jfdctflt.$(OBJSUFF) \ |
| 418 | $(JPEGDIR)/jfdctint.$(OBJSUFF) \ |
| 419 | $(JPEGDIR)/jdapimin.$(OBJSUFF) \ |
| 420 | $(JPEGDIR)/jdapistd.$(OBJSUFF) \ |
| 421 | $(JPEGDIR)/jdtrans.$(OBJSUFF) \ |
| 422 | $(JPEGDIR)/jdatasrc.$(OBJSUFF) \ |
| 423 | $(JPEGDIR)/jdmaster.$(OBJSUFF) \ |
| 424 | $(JPEGDIR)/jdinput.$(OBJSUFF) \ |
| 425 | $(JPEGDIR)/jdmarker.$(OBJSUFF) \ |
| 426 | $(JPEGDIR)/jdhuff.$(OBJSUFF) \ |
| 427 | $(JPEGDIR)/jdphuff.$(OBJSUFF) \ |
| 428 | $(JPEGDIR)/jdmainct.$(OBJSUFF) \ |
| 429 | $(JPEGDIR)/jdcoefct.$(OBJSUFF) \ |
| 430 | $(JPEGDIR)/jdpostct.$(OBJSUFF) \ |
| 431 | $(JPEGDIR)/jddctmgr.$(OBJSUFF) \ |
| 432 | $(JPEGDIR)/jidctfst.$(OBJSUFF) \ |
| 433 | $(JPEGDIR)/jidctflt.$(OBJSUFF) \ |
| 434 | $(JPEGDIR)/jidctint.$(OBJSUFF) \ |
| 435 | $(JPEGDIR)/jidctred.$(OBJSUFF) \ |
| 436 | $(JPEGDIR)/jdsample.$(OBJSUFF) \ |
| 437 | $(JPEGDIR)/jdcolor.$(OBJSUFF) \ |
| 438 | $(JPEGDIR)/jquant1.$(OBJSUFF) \ |
| 439 | $(JPEGDIR)/jquant2.$(OBJSUFF) \ |
| 440 | $(JPEGDIR)/jdmerge.$(OBJSUFF) |
| 441 | |
| 442 | TIFFOBJS = $(TIFFDIR)/tif_aux.o \ |
| 443 | $(TIFFDIR)/tif_close.o \ |
| 444 | $(TIFFDIR)/tif_codec.o \ |
| 445 | $(TIFFDIR)/tif_compress.o \ |
| 446 | $(TIFFDIR)/tif_dir.o \ |
| 447 | $(TIFFDIR)/tif_dirinfo.o \ |
| 448 | $(TIFFDIR)/tif_dirread.o \ |
| 449 | $(TIFFDIR)/tif_dirwrite.o \ |
| 450 | $(TIFFDIR)/tif_dumpmode.o \ |
| 451 | $(TIFFDIR)/tif_error.o \ |
| 452 | $(TIFFDIR)/tif_fax3.o \ |
| 453 | $(TIFFDIR)/tif_fax3sm.o \ |
| 454 | $(TIFFDIR)/tif_flush.o \ |
| 455 | $(TIFFDIR)/tif_getimage.o \ |
| 456 | $(TIFFDIR)/tif_jpeg.o \ |
| 457 | $(TIFFDIR)/tif_luv.o \ |
| 458 | $(TIFFDIR)/tif_lzw.o \ |
| 459 | $(TIFFDIR)/tif_next.o \ |
| 460 | $(TIFFDIR)/tif_open.o \ |
| 461 | $(TIFFDIR)/tif_packbits.o \ |
| 462 | $(TIFFDIR)/tif_pixarlog.o \ |
| 463 | $(TIFFDIR)/tif_predict.o \ |
| 464 | $(TIFFDIR)/tif_print.o \ |
| 465 | $(TIFFDIR)/tif_read.o \ |
| 466 | $(TIFFDIR)/tif_strip.o \ |
| 467 | $(TIFFDIR)/tif_swab.o \ |
| 468 | $(TIFFDIR)/tif_thunder.o \ |
| 469 | $(TIFFDIR)/tif_tile.o \ |
| 470 | $(TIFFDIR)/tif_version.o \ |
| 471 | $(TIFFDIR)/tif_warning.o \ |
| 472 | $(TIFFDIR)/tif_win32.o \ |
| 473 | $(TIFFDIR)/tif_write.o \ |
| 474 | $(TIFFDIR)/tif_zip.o |
| 475 | |
| 476 | ifeq ($(MINGW32),1) |
| 477 | ifneq "$(findstring 2.95, $(MINGW32VERSION))" "" |
| 478 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS) |
| 479 | else |
| 480 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) |
| 481 | endif |
| 482 | else |
| 483 | OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) |
| 484 | endif |
| 485 | |
| 486 | # MBN: if anyone has a better solution for this kludge, step |
| 487 | # forward, *please* |
| 488 | # this tests is we are on cygwin or not ( will _not_ work if you are using |
| 489 | # ZSH on plain Win32, tought ); it uses the presence of "/" |
| 490 | # in the PATH variable |
| 491 | |
| 492 | # how do you do "VAR=\" ? BLEAGH! |
| 493 | BACKSLASH=$(subst a,\,a) |
| 494 | ifeq (,$(findstring /,$(PATH))) |
| 495 | IS_CYGWIN=0 |
| 496 | PATH_SEPARATOR:=$(BACKSLASH) |
| 497 | PATH_SUBST=/ |
| 498 | else |
| 499 | IS_CYGWIN=1 |
| 500 | PATH_SEPARATOR=/ |
| 501 | PATH_SUBST:=$(BACKSLASH) |
| 502 | endif |
| 503 | |
| 504 | #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT)) |
| 505 | ARCHINCDIR=$(WXDIR)/lib/msw$(INCEXT) |
| 506 | |
| 507 | SETUP_H=$(ARCHINCDIR)/wx/setup.h |
| 508 | |
| 509 | ifndef WXMAKINGDLL |
| 510 | all: $(SETUP_H) $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) |
| 511 | else |
| 512 | all: $(SETUP_H) $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) $(WXDLL) |
| 513 | endif |
| 514 | |
| 515 | $(ARCHINCDIR)/wx: |
| 516 | mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)) |
| 517 | mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx) |
| 518 | |
| 519 | $(SETUP_H): $(ARCHINCDIR)/wx |
| 520 | $(COPY) $(WXDIR)/include/wx/msw/setup.h $@ |
| 521 | |
| 522 | # $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@) |
| 523 | |
| 524 | ifndef WXMAKINGDLL |
| 525 | |
| 526 | $(WXLIB): $(OBJECTS) $(EXTRAOBJS) |
| 527 | ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS) |
| 528 | $(RANLIB) $@ |
| 529 | |
| 530 | else |
| 531 | |
| 532 | # The new linker is a few orders of magnitude faster than the old way |
| 533 | # of creating DLLs. |
| 534 | ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes" |
| 535 | |
| 536 | $(WXDLL): $(OBJECTS) $(EXTRAOBJS) |
| 537 | $(CC) -shared -o $@ \ |
| 538 | -Wl,--output-def,$(WXDEF) \ |
| 539 | -Wl,--out-implib,$(WXLIB) \ |
| 540 | $(OBJECTS) $(EXTRAOBJS) \ |
| 541 | $(DLL_LDFLAGS) $(DLL_LDLIBS) |
| 542 | else |
| 543 | |
| 544 | ifeq ($(MINGW32),1) |
| 545 | DLL_ENTRY = _DllMainCRTStartup@12 |
| 546 | else |
| 547 | DLL_ENTRY = __cygwin_dll_entry@12 |
| 548 | endif |
| 549 | LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \ |
| 550 | $(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000 |
| 551 | |
| 552 | DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \ |
| 553 | --def $(WXDEF) \ |
| 554 | --base-file wx.base --output-exp wx.exp |
| 555 | |
| 556 | $(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS) |
| 557 | $(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \ |
| 558 | --dllname $(notdir $(WXDLL)) \ |
| 559 | $(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS) |
| 560 | |
| 561 | $(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF) |
| 562 | $(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF) |
| 563 | $(DLLTOOL) $(DLL_STUFF) |
| 564 | $(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF) |
| 565 | $(DLLTOOL) $(DLL_STUFF) |
| 566 | $(CC) -mdll wx.exp -o $@ $(LD_STUFF) |
| 567 | -$(RM) wx.base |
| 568 | -$(RM) wx.exp |
| 569 | |
| 570 | endif |
| 571 | |
| 572 | endif |
| 573 | |
| 574 | |
| 575 | $(ZLIBLIB): $(ZLIBOBJS) |
| 576 | $(AR) $(AROPTIONS) $@ $(ZLIBOBJS) |
| 577 | $(RANLIB) $@ |
| 578 | |
| 579 | $(PNGLIB): $(PNGOBJS) |
| 580 | $(AR) $(AROPTIONS) $@ $(PNGOBJS) |
| 581 | $(RANLIB) $@ |
| 582 | |
| 583 | $(JPEGLIB): $(JPEGOBJS) |
| 584 | $(AR) $(AROPTIONS) $@ $(JPEGOBJS) |
| 585 | $(RANLIB) $@ |
| 586 | |
| 587 | $(TIFFLIB): $(TIFFOBJS) |
| 588 | $(AR) $(AROPTIONS) $@ $(TIFFOBJS) |
| 589 | $(RANLIB) $@ |
| 590 | |
| 591 | $(REGEXLIB): |
| 592 | $(MAKE) -C $(REGEXDIR) -f makefile.g95 WXDIR=$(WXDIR) |
| 593 | |
| 594 | $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(ARCHINCDIR)/wx/setup.h |
| 595 | |
| 596 | $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c |
| 597 | $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c |
| 598 | |
| 599 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c |
| 600 | $(COPY) ../common/dosyacc.c ../common/y_tab.c |
| 601 | |
| 602 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c |
| 603 | $(COPY) ../common/doslex.c ../common/lex_yy.c |
| 604 | |
| 605 | # Replace lex with flex if you run into compilation |
| 606 | # problems with lex_yy.c. See also note about LEX_SCANNER |
| 607 | # above. |
| 608 | # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l |
| 609 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l |
| 610 | # |
| 611 | # Try one of these if the above line doesn't work. |
| 612 | # Alternative syntax (1) |
| 613 | # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c |
| 614 | # Alternative syntax (2) |
| 615 | # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l |
| 616 | # |
| 617 | # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \ |
| 618 | # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \ |
| 619 | # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c |
| 620 | # rm -f lex.yy.c |
| 621 | # |
| 622 | # Replace yacc with bison if you run into compilation |
| 623 | # problems with y_tab.c. |
| 624 | # |
| 625 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y |
| 626 | # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y |
| 627 | # |
| 628 | # If you use e.g. gcc on Unix, uncomment these lines |
| 629 | # and comment out the above. |
| 630 | # |
| 631 | # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y |
| 632 | # $(YACC) $(COMMDIR)/parser.y |
| 633 | # mv y.tab.c $(COMMDIR)/y_tab.c |
| 634 | |
| 635 | clean: |
| 636 | -$(RM) *.o |
| 637 | -$(RM) ole/*.o |
| 638 | -$(RM) *.bak |
| 639 | -$(RM) core |
| 640 | -$(RM) ../common/y_tab.c |
| 641 | -$(RM) ../common/lex_yy.c |
| 642 | -$(RM) ../common/*.o |
| 643 | -$(RM) ../common/*.bak |
| 644 | -$(RM) ../generic/*.o |
| 645 | -$(RM) ../generic/*.bak |
| 646 | -$(RM) ../html/*.o |
| 647 | -$(RM) ../zlib/*.o |
| 648 | -$(RM) ../zlib/*.bak |
| 649 | -$(RM) ../png/*.o |
| 650 | -$(RM) ../png/*.bak |
| 651 | -$(RM) ../jpeg/*.o |
| 652 | -$(RM) ../jpeg/*.bak |
| 653 | -$(RM) ../tiff/*.o |
| 654 | -$(RM) ../tiff/*.bak |
| 655 | -$(RM) ../regex/*.o |
| 656 | -$(RM) ../regex/*.bak |
| 657 | |
| 658 | cleanall: clean |
| 659 | -$(RM) $(WXLIB) |
| 660 | -$(RM) $(ZLIBLIB) |
| 661 | -$(RM) $(PNGLIB) |
| 662 | -$(RM) $(JPEGLIB) |
| 663 | -$(RM) $(TIFFLIB) |
| 664 | -$(RM) $(REGEXLIB) |
| 665 | |
| 666 | ifdef WXMAKINGDLL |
| 667 | -$(RM) $(WXDLL) |
| 668 | -$(RM) $(WXDEF) |
| 669 | ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes" |
| 670 | -$(RM) wx.base |
| 671 | -$(RM) wx.exp |
| 672 | endif |
| 673 | endif |
| 674 | |