7 # Makefile : Builds wxWindows library for Watcom C++, WIN32
11 !include $(WXDIR)\src\makewat.env
15 LIBTARGET = $(WXLIB)\wx.lib
17 # ODBCLIB = ..\..\contrib\odbc\odbc32.lib
19 EXTRATARGETS = xpm png zlib
20 EXTRATARGETSCLEAN = clean_xpm clean_png clean_zlib
21 GENDIR=$(WXDIR)\src\generic
22 COMMDIR=$(WXDIR)\src\common
23 XPMDIR=$(WXDIR)\src\xpm
25 MSWDIR=$(WXDIR)\src\msw
27 DOCDIR = $(WXDIR)\docs
29 GENERICOBJS= choicdgg.obj &
43 # These are generic things that don't need to be compiled on MSW,
44 # but sometimes it's useful to do so for testing purposes.
45 NONESSENTIALOBJS= printps.obj &
52 COMMONOBJS = cmndata.obj &
114 # Can't compile these yet under Watcom C++
215 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
216 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS)
218 all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS)
220 $(LIBTARGET) : $(OBJECTS)
222 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
223 wlib /b /c /n /p=512 $^@ @tmp.lbc
227 # @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
228 # wlib /b /c /n /p=512 $^@ @tmp.lbc
231 clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
240 accel.obj: $(MSWDIR)\accel.cpp
241 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
243 app.obj: $(MSWDIR)\app.cpp
244 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
246 bitmap.obj: $(MSWDIR)\bitmap.cpp
247 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
249 bmpbuttn.obj: $(MSWDIR)\bmpbuttn.cpp
250 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
252 brush.obj: $(MSWDIR)\brush.cpp
253 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
255 button.obj: $(MSWDIR)\button.cpp
256 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
258 choice.obj: $(MSWDIR)\choice.cpp
259 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
261 checkbox.obj: $(MSWDIR)\checkbox.cpp
262 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
264 checklst.obj: $(MSWDIR)\checklst.cpp
265 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
267 clipbrd.obj: $(MSWDIR)\clipbrd.cpp
268 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
270 colordlg.obj: $(MSWDIR)\colordlg.cpp
271 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
273 colour.obj: $(MSWDIR)\colour.cpp
274 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
276 combobox.obj: $(MSWDIR)\combobox.cpp
277 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
279 control.obj: $(MSWDIR)\control.cpp
280 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
282 curico.obj: $(MSWDIR)\curico.cpp
283 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
285 cursor.obj: $(MSWDIR)\cursor.cpp
286 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
288 data.obj: $(MSWDIR)\data.cpp
289 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
291 dde.obj: $(MSWDIR)\dde.cpp
292 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
294 dc.obj: $(MSWDIR)\dc.cpp
295 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
297 dcmemory.obj: $(MSWDIR)\dcmemory.cpp
298 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
300 dcclient.obj: $(MSWDIR)\dcclient.cpp
301 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
303 dcprint.obj: $(MSWDIR)\dcprint.cpp
304 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
306 dcscreen.obj: $(MSWDIR)\dcscreen.cpp
307 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
309 dialog.obj: $(MSWDIR)\dialog.cpp
310 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
312 dib.obj: $(MSWDIR)\dib.cpp
313 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
315 dibutils.obj: $(MSWDIR)\dibutils.cpp
316 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
318 dirdlg.obj: $(MSWDIR)\dirdlg.cpp
319 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
321 filedlg.obj: $(MSWDIR)\filedlg.cpp
322 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
324 font.obj: $(MSWDIR)\font.cpp
325 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
327 fontdlg.obj: $(MSWDIR)\fontdlg.cpp
328 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
330 frame.obj: $(MSWDIR)\frame.cpp
331 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
333 gauge95.obj: $(MSWDIR)\gauge95.cpp
334 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
336 gaugemsw.obj: $(MSWDIR)\gaugemsw.cpp
337 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
339 gdiobj.obj: $(MSWDIR)\gdiobj.cpp
340 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
342 helpwin.obj: $(MSWDIR)\helpwin.cpp
343 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
345 icon.obj: $(MSWDIR)\icon.cpp
346 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
348 imaglist.obj: $(MSWDIR)\imaglist.cpp
349 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
351 iniconf.obj: $(MSWDIR)\iniconf.cpp
352 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
354 joystick.obj: $(MSWDIR)\joystick.cpp
355 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
357 listbox.obj: $(MSWDIR)\listbox.cpp
358 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
360 listctrl.obj: $(MSWDIR)\listctrl.cpp
361 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
363 main.obj: $(MSWDIR)\main.cpp
364 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
366 mdi.obj: $(MSWDIR)\mdi.cpp
367 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
369 menu.obj: $(MSWDIR)\menu.cpp
370 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
372 menuitem.obj: $(MSWDIR)\menuitem.cpp
373 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
375 metafile.obj: $(MSWDIR)\metafile.cpp
376 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
378 minifram.obj: $(MSWDIR)\minifram.cpp
379 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
381 msgdlg.obj: $(MSWDIR)\msgdlg.cpp
382 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
384 nativdlg.obj: $(MSWDIR)\nativdlg.cpp
385 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
387 notebook.obj: $(MSWDIR)\notebook.cpp
388 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
390 ownerdrw.obj: $(MSWDIR)\ownerdrw.cpp
391 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
393 palette.obj: $(MSWDIR)\palette.cpp
394 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
396 pen.obj: $(MSWDIR)\pen.cpp
397 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
399 penwin.obj: $(MSWDIR)\penwin.cpp
400 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
402 pnghand.obj: $(MSWDIR)\pnghand.cpp
403 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
405 printdlg.obj: $(MSWDIR)\printdlg.cpp
406 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
408 printwin.obj: $(MSWDIR)\printwin.cpp
409 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
411 radiobox.obj: $(MSWDIR)\radiobox.cpp
412 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
414 radiobut.obj: $(MSWDIR)\radiobut.cpp
415 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
417 region.obj: $(MSWDIR)\region.cpp
418 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
420 registry.obj: $(MSWDIR)\registry.cpp
421 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
423 regconf.obj: $(MSWDIR)\regconf.cpp
424 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
426 scrolbar.obj: $(MSWDIR)\scrolbar.cpp
427 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
429 settings.obj: $(MSWDIR)\settings.cpp
430 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
432 slidrmsw.obj: $(MSWDIR)\slidrmsw.cpp
433 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
435 slider95.obj: $(MSWDIR)\slider95.cpp
436 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
438 spinbutt.obj: $(MSWDIR)\spinbutt.cpp
439 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
441 statbmp.obj: $(MSWDIR)\statbmp.cpp
442 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
444 statbox.obj: $(MSWDIR)\statbox.cpp
445 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
447 statbr95.obj: $(MSWDIR)\statbr95.cpp
448 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
450 stattext.obj: $(MSWDIR)\stattext.cpp
451 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
453 tabctrl.obj: $(MSWDIR)\tabctrl.cpp
454 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
456 taskbar.obj: $(MSWDIR)\taskbar.cpp
458 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
460 tbar95.obj: $(MSWDIR)\tbar95.cpp
461 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
463 tbarmsw.obj: $(MSWDIR)\tbarmsw.cpp
464 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
466 textctrl.obj: $(MSWDIR)\textctrl.cpp
467 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
469 thread.obj: $(MSWDIR)\thread.cpp
470 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
472 timer.obj: $(MSWDIR)\timer.cpp
473 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
475 tooltip.obj: $(MSWDIR)\tooltip.cpp
476 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
478 treectrl.obj: $(MSWDIR)\treectrl.cpp
480 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
482 utils.obj: $(MSWDIR)\utils.cpp
483 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
485 utilsexc.obj: $(MSWDIR)\utilsexc.cpp
486 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
488 wave.obj: $(MSWDIR)\wave.cpp
489 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
491 window.obj: $(MSWDIR)\window.cpp
492 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
494 xpmhand.obj: $(MSWDIR)\xpmhand.cpp
495 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
497 droptgt.obj: $(OLEDIR)\droptgt.cpp
498 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
500 dropsrc.obj: $(OLEDIR)\dropsrc.cpp
501 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
503 dataobj.obj: $(OLEDIR)\dataobj.cpp
504 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
506 oleutils.obj: $(OLEDIR)\oleutils.cpp
507 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
509 uuid.obj: $(OLEDIR)\uuid.cpp
510 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
512 automtn.obj: $(OLEDIR)\automtn.cpp
513 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
515 ########################################################
516 # Common objects (always compiled)
518 cmndata.obj: $(COMMDIR)\cmndata.cpp
519 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
521 config.obj: $(COMMDIR)\config.cpp
522 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
524 db.obj: $(COMMDIR)\db.cpp
525 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
527 dbtable.obj: $(COMMDIR)\dbtable.cpp
528 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
530 docview.obj: $(COMMDIR)\docview.cpp
531 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
533 docmdi.obj: $(COMMDIR)\docmdi.cpp
534 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
536 dynarray.obj: $(COMMDIR)\dynarray.cpp
537 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
539 dynlib.obj: $(COMMDIR)\dynlib.cpp
540 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
542 event.obj: $(COMMDIR)\event.cpp
543 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
545 file.obj: $(COMMDIR)\file.cpp
546 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
548 fileconf.obj: $(COMMDIR)\fileconf.cpp
549 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
551 filefn.obj: $(COMMDIR)\filefn.cpp
552 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
554 framecmn.obj: $(COMMDIR)\framecmn.cpp
555 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
557 gdicmn.obj: $(COMMDIR)\gdicmn.cpp
558 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
560 image.obj: $(COMMDIR)\image.cpp
561 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
563 imagpng.obj: $(COMMDIR)\imagpng.cpp
564 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
566 imagjpeg.obj: $(COMMDIR)\imagjpeg.cpp
567 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
569 intl.obj: $(COMMDIR)\intl.cpp
570 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
572 ipcbase.obj: $(COMMDIR)\ipcbase.cpp
573 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
575 helpbase.obj: $(COMMDIR)\helpbase.cpp
576 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
578 layout.obj: $(COMMDIR)\layout.cpp
579 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
581 log.obj: $(COMMDIR)\log.cpp
582 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
584 memory.obj: $(COMMDIR)\memory.cpp
585 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
587 mimetype.obj: $(COMMDIR)\mimetype.cpp
588 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
590 module.obj: $(COMMDIR)\module.cpp
591 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
593 object.obj: $(COMMDIR)\object.cpp
594 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
596 odbc.obj: $(COMMDIR)\odbc.cpp
597 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
599 prntbase.obj: $(COMMDIR)\prntbase.cpp
600 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
602 resource.obj: $(COMMDIR)\resource.cpp
603 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
605 tbarbase.obj: $(COMMDIR)\tbarbase.cpp
606 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
608 tbarsmpl.obj: $(COMMDIR)\tbarsmpl.cpp
609 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
611 textfile.obj: $(COMMDIR)\textfile.cpp
612 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
614 timercmn.obj: $(COMMDIR)\timercmn.cpp
615 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
617 utilscmn.obj: $(COMMDIR)\utilscmn.cpp
618 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
620 validate.obj: $(COMMDIR)\validate.cpp
621 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
623 valgen.obj: $(COMMDIR)\valgen.cpp
624 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
626 valtext.obj: $(COMMDIR)\valtext.cpp
627 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
629 date.obj: $(COMMDIR)\date.cpp
630 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
632 wxexpr.obj: $(COMMDIR)\wxexpr.cpp
633 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
635 hash.obj: $(COMMDIR)\hash.cpp
636 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
638 list.obj: $(COMMDIR)\list.cpp
639 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
641 paper.obj: $(COMMDIR)\paper.cpp
642 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
644 string.obj: $(COMMDIR)\string.cpp
645 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
647 socket.obj: $(COMMDIR)\socket.cpp
648 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
650 sckaddr.obj: $(COMMDIR)\sckaddr.cpp
651 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
653 sckfile.obj: $(COMMDIR)\sckfile.cpp
654 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
656 sckipc.obj: $(COMMDIR)\sckipc.cpp
657 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
659 sckstrm.obj: $(COMMDIR)\sckstrm.cpp
660 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
662 url.obj: $(COMMDIR)\url.cpp
663 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
665 http.obj: $(COMMDIR)\http.cpp
666 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
668 protocol.obj: $(COMMDIR)\protocol.cpp
669 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
671 tokenzr.obj: $(COMMDIR)\tokenzr.cpp
672 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
674 matrix.obj: $(COMMDIR)\matrix.cpp
675 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
677 time.obj: $(COMMDIR)\time.cpp
678 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
680 stream.obj: $(COMMDIR)\stream.cpp
681 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
683 wfstream.obj: $(COMMDIR)\wfstream.cpp
684 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
686 mstream.obj: $(COMMDIR)\mstream.cpp
687 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
689 zstream.obj: $(COMMDIR)\zstream.cpp
690 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
692 datstrm.obj: $(COMMDIR)\datstrm.cpp
693 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
695 objstrm.obj: $(COMMDIR)\objstrm.cpp
696 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
698 extended.obj: $(COMMDIR)\extended.c
699 *$(CC) $(CPPFLAGS) $(IFLAGS) $(COMMDIR)\extended.c
701 process.obj: $(COMMDIR)\process.cpp
702 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
704 variant.obj: $(COMMDIR)\variant.cpp
705 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
707 wincmn.obj: $(COMMDIR)\wincmn.cpp
708 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
710 y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
711 *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
713 # *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS $(COMMDIR)\y_tab.c
715 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
716 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
718 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
719 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
721 ########################################################
722 # Generic objects (not always compiled, depending on
723 # whether platforms have native implementations)
725 choicdgg.obj: $(GENDIR)\choicdgg.cpp
726 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
728 colrdlgg.obj: $(GENDIR)\colrdgg.cpp
729 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
731 fontdlgg.obj: $(GENDIR)\fontdlgg.cpp
732 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
734 gridg.obj: $(GENDIR)\gridg.cpp
735 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
737 helpxlp.obj: $(GENDIR)\helpxlp.cpp
738 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
740 laywin.obj: $(GENDIR)\laywin.cpp
741 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
743 msgdlgg.obj: $(GENDIR)\msgdlgg.cpp
744 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
746 panelg.obj: $(GENDIR)\panelg.cpp
747 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
749 printps.obj: $(GENDIR)\printps.cpp
750 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
752 prop.obj: $(GENDIR)\prop.cpp
753 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
755 propform.obj: $(GENDIR)\propform.cpp
756 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
758 proplist.obj: $(GENDIR)\proplist.cpp
759 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
761 prntdlgg.obj: $(GENDIR)\prntdlgg.cpp
762 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
764 sashwin.obj: $(GENDIR)\sashwin.cpp
765 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
767 scrolwin.obj: $(GENDIR)\scrolwin.cpp
768 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
770 splitter.obj: $(GENDIR)\splitter.cpp
771 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
773 statusbr.obj: $(GENDIR)\statusbr.cpp
774 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
776 tabg.obj: $(GENDIR)\tabg.cpp
777 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
779 textdlgg.obj: $(GENDIR)\textdlgg.cpp
780 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
782 crbuffri.obj: $(XPMDIR)\crbuffri.c
783 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
785 crbuffrp.obj: $(XPMDIR)\crbuffrp.c
786 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
788 crdatfri.obj: $(XPMDIR)\crdatfri.c
789 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
791 crdatfrp.obj: $(XPMDIR)\crdatfrp.c
792 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
794 create.obj: $(XPMDIR)\create.c
795 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
797 crifrbuf.obj: $(XPMDIR)\crifrbuf.c
798 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
800 crifrdat.obj: $(XPMDIR)\crifrdat.c
801 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
803 crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c
804 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
806 crpfrdat.obj: $(XPMDIR)\crpfrdat.c
807 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
809 # TODO: what to do about this clash of filename????
810 #data.obj: $(XPMDIR)\data.c
811 # *$(CC) $(CPPFLAGS) $(IFLAGS) $<
813 hashtab.obj: $(XPMDIR)\hashtab.c
814 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
816 misc.obj: $(XPMDIR)\misc.c
817 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
819 parse.obj: $(XPMDIR)\parse.c
820 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
822 rdftodat.obj: $(XPMDIR)\rdftodat.c
823 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
825 rdftoi.obj: $(XPMDIR)\rdftoi.c
826 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
828 rdftop.obj: $(XPMDIR)\rdftop.c
829 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
831 rgb.obj: $(XPMDIR)\rgb.c
832 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
834 scan.obj: $(XPMDIR)\scan.c
835 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
837 simx.obj: $(XPMDIR)\simx.c
838 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
840 wrffrdat.obj: $(XPMDIR)\wrffrdat.c
841 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
843 wrffri.obj: $(XPMDIR)\wrffri.c
844 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
846 wrffrp.obj: $(XPMDIR)\wrffrp.c
847 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
849 OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
851 OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
852 infutil$(O) inffast$(O)
854 adler32.obj: adler32.c zutil.h zlib.h zconf.h
855 $(CC) -c $(CFLAGS) $*.c
857 compress.obj: compress.c zlib.h zconf.h
858 $(CC) -c $(CFLAGS) $*.c
860 crc32.obj: crc32.c zutil.h zlib.h zconf.h
861 $(CC) -c $(CFLAGS) $*.c
863 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
864 $(CC) -c $(CFLAGS) $*.c
866 gzio.obj: gzio.c zutil.h zlib.h zconf.h
867 $(CC) -c $(CFLAGS) $*.c
869 infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
871 $(CC) -c $(CFLAGS) $*.c
873 infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
875 $(CC) -c $(CFLAGS) $*.c
877 inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
878 $(CC) -c $(CFLAGS) $*.c
880 inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
881 $(CC) -c $(CFLAGS) $*.c
883 infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
884 $(CC) -c $(CFLAGS) $*.c
886 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
887 $(CC) -c $(CFLAGS) $*.c
889 trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
890 $(CC) -c $(CFLAGS) $*.c
892 uncompr.obj: uncompr.c zlib.h zconf.h
893 $(CC) -c $(CFLAGS) $*.c
895 zutil.obj: zutil.c zutil.h zlib.h zconf.h
896 $(CC) -c $(CFLAGS) $*.c
900 wmake -f makefile.wat all
905 wmake -f makefile.wat clean
910 wmake -f makefile.wat all
915 wmake -f makefile.wat clean
920 wmake -f makefile.wat all
923 clean_zlib: .SYMBOLIC
925 wmake -f makefile.wat clean