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 &
116 # Can't compile these yet under Watcom C++
218 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
219 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS)
221 all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS)
223 $(LIBTARGET) : $(OBJECTS)
225 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
226 wlib /b /c /n /p=512 $^@ @tmp.lbc
230 # @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
231 # wlib /b /c /n /p=512 $^@ @tmp.lbc
234 clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
243 accel.obj: $(MSWDIR)\accel.cpp
244 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
246 app.obj: $(MSWDIR)\app.cpp
247 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
249 bitmap.obj: $(MSWDIR)\bitmap.cpp
250 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
252 bmpbuttn.obj: $(MSWDIR)\bmpbuttn.cpp
253 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
255 brush.obj: $(MSWDIR)\brush.cpp
256 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
258 button.obj: $(MSWDIR)\button.cpp
259 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
261 caret.obj: $(MSWDIR)\caret.cpp
262 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
264 choice.obj: $(MSWDIR)\choice.cpp
265 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
267 checkbox.obj: $(MSWDIR)\checkbox.cpp
268 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
270 checklst.obj: $(MSWDIR)\checklst.cpp
271 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
273 clipbrd.obj: $(MSWDIR)\clipbrd.cpp
274 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
276 colordlg.obj: $(MSWDIR)\colordlg.cpp
277 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
279 colour.obj: $(MSWDIR)\colour.cpp
280 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
282 combobox.obj: $(MSWDIR)\combobox.cpp
283 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
285 control.obj: $(MSWDIR)\control.cpp
286 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
288 curico.obj: $(MSWDIR)\curico.cpp
289 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
291 cursor.obj: $(MSWDIR)\cursor.cpp
292 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
294 data.obj: $(MSWDIR)\data.cpp
295 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
297 dde.obj: $(MSWDIR)\dde.cpp
298 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
300 dc.obj: $(MSWDIR)\dc.cpp
301 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
303 dcmemory.obj: $(MSWDIR)\dcmemory.cpp
304 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
306 dcclient.obj: $(MSWDIR)\dcclient.cpp
307 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
309 dcprint.obj: $(MSWDIR)\dcprint.cpp
310 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
312 dcscreen.obj: $(MSWDIR)\dcscreen.cpp
313 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
315 dialog.obj: $(MSWDIR)\dialog.cpp
316 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
318 dib.obj: $(MSWDIR)\dib.cpp
319 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
321 dibutils.obj: $(MSWDIR)\dibutils.cpp
322 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
324 dirdlg.obj: $(MSWDIR)\dirdlg.cpp
325 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
327 filedlg.obj: $(MSWDIR)\filedlg.cpp
328 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
330 font.obj: $(MSWDIR)\font.cpp
331 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
333 fontdlg.obj: $(MSWDIR)\fontdlg.cpp
334 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
336 frame.obj: $(MSWDIR)\frame.cpp
337 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
339 gauge95.obj: $(MSWDIR)\gauge95.cpp
340 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
342 gaugemsw.obj: $(MSWDIR)\gaugemsw.cpp
343 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
345 gdiobj.obj: $(MSWDIR)\gdiobj.cpp
346 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
348 helpwin.obj: $(MSWDIR)\helpwin.cpp
349 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
351 icon.obj: $(MSWDIR)\icon.cpp
352 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
354 imaglist.obj: $(MSWDIR)\imaglist.cpp
355 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
357 iniconf.obj: $(MSWDIR)\iniconf.cpp
358 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
360 joystick.obj: $(MSWDIR)\joystick.cpp
361 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
363 listbox.obj: $(MSWDIR)\listbox.cpp
364 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
366 listctrl.obj: $(MSWDIR)\listctrl.cpp
367 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
369 main.obj: $(MSWDIR)\main.cpp
370 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
372 mdi.obj: $(MSWDIR)\mdi.cpp
373 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
375 menu.obj: $(MSWDIR)\menu.cpp
376 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
378 menuitem.obj: $(MSWDIR)\menuitem.cpp
379 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
381 metafile.obj: $(MSWDIR)\metafile.cpp
382 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
384 minifram.obj: $(MSWDIR)\minifram.cpp
385 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
387 msgdlg.obj: $(MSWDIR)\msgdlg.cpp
388 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
390 nativdlg.obj: $(MSWDIR)\nativdlg.cpp
391 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
393 notebook.obj: $(MSWDIR)\notebook.cpp
394 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
396 ownerdrw.obj: $(MSWDIR)\ownerdrw.cpp
397 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
399 palette.obj: $(MSWDIR)\palette.cpp
400 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
402 pen.obj: $(MSWDIR)\pen.cpp
403 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
405 penwin.obj: $(MSWDIR)\penwin.cpp
406 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
408 pnghand.obj: $(MSWDIR)\pnghand.cpp
409 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
411 printdlg.obj: $(MSWDIR)\printdlg.cpp
412 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
414 printwin.obj: $(MSWDIR)\printwin.cpp
415 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
417 radiobox.obj: $(MSWDIR)\radiobox.cpp
418 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
420 radiobut.obj: $(MSWDIR)\radiobut.cpp
421 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
423 region.obj: $(MSWDIR)\region.cpp
424 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
426 registry.obj: $(MSWDIR)\registry.cpp
427 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
429 regconf.obj: $(MSWDIR)\regconf.cpp
430 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
432 scrolbar.obj: $(MSWDIR)\scrolbar.cpp
433 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
435 settings.obj: $(MSWDIR)\settings.cpp
436 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
438 slidrmsw.obj: $(MSWDIR)\slidrmsw.cpp
439 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
441 slider95.obj: $(MSWDIR)\slider95.cpp
442 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
444 spinbutt.obj: $(MSWDIR)\spinbutt.cpp
445 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
447 statbmp.obj: $(MSWDIR)\statbmp.cpp
448 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
450 statbox.obj: $(MSWDIR)\statbox.cpp
451 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
453 statbr95.obj: $(MSWDIR)\statbr95.cpp
454 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
456 stattext.obj: $(MSWDIR)\stattext.cpp
457 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
459 tabctrl.obj: $(MSWDIR)\tabctrl.cpp
460 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
462 taskbar.obj: $(MSWDIR)\taskbar.cpp
463 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
465 tbar95.obj: $(MSWDIR)\tbar95.cpp
466 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
468 tbarmsw.obj: $(MSWDIR)\tbarmsw.cpp
469 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
471 textctrl.obj: $(MSWDIR)\textctrl.cpp
472 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
474 thread.obj: $(MSWDIR)\thread.cpp
475 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
477 timer.obj: $(MSWDIR)\timer.cpp
478 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
480 tooltip.obj: $(MSWDIR)\tooltip.cpp
481 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
483 treectrl.obj: $(MSWDIR)\treectrl.cpp
484 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
486 utils.obj: $(MSWDIR)\utils.cpp
487 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
489 utilsexc.obj: $(MSWDIR)\utilsexc.cpp
490 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
492 wave.obj: $(MSWDIR)\wave.cpp
493 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
495 window.obj: $(MSWDIR)\window.cpp
496 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
498 xpmhand.obj: $(MSWDIR)\xpmhand.cpp
499 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
501 droptgt.obj: $(OLEDIR)\droptgt.cpp
502 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
504 dropsrc.obj: $(OLEDIR)\dropsrc.cpp
505 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
507 dataobj.obj: $(OLEDIR)\dataobj.cpp
508 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
510 oleutils.obj: $(OLEDIR)\oleutils.cpp
511 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
513 uuid.obj: $(OLEDIR)\uuid.cpp
514 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
516 automtn.obj: $(OLEDIR)\automtn.cpp
517 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
519 ########################################################
520 # Common objects (always compiled)
522 cmndata.obj: $(COMMDIR)\cmndata.cpp
523 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
525 config.obj: $(COMMDIR)\config.cpp
526 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
528 dcbase.obj: $(COMMDIR)\dcbase.cpp
529 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
531 db.obj: $(COMMDIR)\db.cpp
532 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
534 dbtable.obj: $(COMMDIR)\dbtable.cpp
535 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
537 docview.obj: $(COMMDIR)\docview.cpp
538 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
540 docmdi.obj: $(COMMDIR)\docmdi.cpp
541 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
543 dynarray.obj: $(COMMDIR)\dynarray.cpp
544 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
546 dynlib.obj: $(COMMDIR)\dynlib.cpp
547 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
549 event.obj: $(COMMDIR)\event.cpp
550 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
552 file.obj: $(COMMDIR)\file.cpp
553 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
555 fileconf.obj: $(COMMDIR)\fileconf.cpp
556 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
558 filefn.obj: $(COMMDIR)\filefn.cpp
559 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
561 framecmn.obj: $(COMMDIR)\framecmn.cpp
562 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
564 gdicmn.obj: $(COMMDIR)\gdicmn.cpp
565 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
567 image.obj: $(COMMDIR)\image.cpp
568 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
570 imagpng.obj: $(COMMDIR)\imagpng.cpp
571 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
573 imagjpeg.obj: $(COMMDIR)\imagjpeg.cpp
574 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
576 intl.obj: $(COMMDIR)\intl.cpp
577 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
579 ipcbase.obj: $(COMMDIR)\ipcbase.cpp
580 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
582 helpbase.obj: $(COMMDIR)\helpbase.cpp
583 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
585 layout.obj: $(COMMDIR)\layout.cpp
586 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
588 log.obj: $(COMMDIR)\log.cpp
589 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
591 memory.obj: $(COMMDIR)\memory.cpp
592 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
594 mimetype.obj: $(COMMDIR)\mimetype.cpp
595 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
597 module.obj: $(COMMDIR)\module.cpp
598 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
600 object.obj: $(COMMDIR)\object.cpp
601 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
603 odbc.obj: $(COMMDIR)\odbc.cpp
604 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
606 prntbase.obj: $(COMMDIR)\prntbase.cpp
607 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
609 resource.obj: $(COMMDIR)\resource.cpp
610 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
612 tbarbase.obj: $(COMMDIR)\tbarbase.cpp
613 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
615 tbarsmpl.obj: $(COMMDIR)\tbarsmpl.cpp
616 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
618 textfile.obj: $(COMMDIR)\textfile.cpp
619 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
621 timercmn.obj: $(COMMDIR)\timercmn.cpp
622 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
624 utilscmn.obj: $(COMMDIR)\utilscmn.cpp
625 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
627 validate.obj: $(COMMDIR)\validate.cpp
628 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
630 valgen.obj: $(COMMDIR)\valgen.cpp
631 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
633 valtext.obj: $(COMMDIR)\valtext.cpp
634 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
636 date.obj: $(COMMDIR)\date.cpp
637 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
639 wxexpr.obj: $(COMMDIR)\wxexpr.cpp
640 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
642 hash.obj: $(COMMDIR)\hash.cpp
643 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
645 list.obj: $(COMMDIR)\list.cpp
646 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
648 paper.obj: $(COMMDIR)\paper.cpp
649 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
651 string.obj: $(COMMDIR)\string.cpp
652 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
654 socket.obj: $(COMMDIR)\socket.cpp
655 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
657 sckaddr.obj: $(COMMDIR)\sckaddr.cpp
658 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
660 sckfile.obj: $(COMMDIR)\sckfile.cpp
661 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
663 sckipc.obj: $(COMMDIR)\sckipc.cpp
664 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
666 sckstrm.obj: $(COMMDIR)\sckstrm.cpp
667 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
669 url.obj: $(COMMDIR)\url.cpp
670 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
672 http.obj: $(COMMDIR)\http.cpp
673 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
675 protocol.obj: $(COMMDIR)\protocol.cpp
676 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
678 tokenzr.obj: $(COMMDIR)\tokenzr.cpp
679 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
681 matrix.obj: $(COMMDIR)\matrix.cpp
682 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
684 time.obj: $(COMMDIR)\time.cpp
685 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
687 stream.obj: $(COMMDIR)\stream.cpp
688 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
690 wfstream.obj: $(COMMDIR)\wfstream.cpp
691 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
693 mstream.obj: $(COMMDIR)\mstream.cpp
694 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
696 zstream.obj: $(COMMDIR)\zstream.cpp
697 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
699 datstrm.obj: $(COMMDIR)\datstrm.cpp
700 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
702 objstrm.obj: $(COMMDIR)\objstrm.cpp
703 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
705 extended.obj: $(COMMDIR)\extended.c
706 *$(CC) $(CPPFLAGS) $(IFLAGS) $(COMMDIR)\extended.c
708 process.obj: $(COMMDIR)\process.cpp
709 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
711 variant.obj: $(COMMDIR)\variant.cpp
712 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
714 wincmn.obj: $(COMMDIR)\wincmn.cpp
715 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
717 wxchar.obj: $(COMMDIR)\wxchar.cpp
718 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
720 y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
721 *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
723 # *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS $(COMMDIR)\y_tab.c
725 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
726 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
728 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
729 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
731 ########################################################
732 # Generic objects (not always compiled, depending on
733 # whether platforms have native implementations)
735 choicdgg.obj: $(GENDIR)\choicdgg.cpp
736 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
738 colrdlgg.obj: $(GENDIR)\colrdgg.cpp
739 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
741 fontdlgg.obj: $(GENDIR)\fontdlgg.cpp
742 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
744 gridg.obj: $(GENDIR)\gridg.cpp
745 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
747 helpxlp.obj: $(GENDIR)\helpxlp.cpp
748 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
750 laywin.obj: $(GENDIR)\laywin.cpp
751 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
753 msgdlgg.obj: $(GENDIR)\msgdlgg.cpp
754 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
756 panelg.obj: $(GENDIR)\panelg.cpp
757 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
759 printps.obj: $(GENDIR)\printps.cpp
760 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
762 prop.obj: $(GENDIR)\prop.cpp
763 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
765 propform.obj: $(GENDIR)\propform.cpp
766 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
768 proplist.obj: $(GENDIR)\proplist.cpp
769 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
771 prntdlgg.obj: $(GENDIR)\prntdlgg.cpp
772 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
774 sashwin.obj: $(GENDIR)\sashwin.cpp
775 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
777 scrolwin.obj: $(GENDIR)\scrolwin.cpp
778 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
780 splitter.obj: $(GENDIR)\splitter.cpp
781 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
783 statusbr.obj: $(GENDIR)\statusbr.cpp
784 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
786 tabg.obj: $(GENDIR)\tabg.cpp
787 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
789 textdlgg.obj: $(GENDIR)\textdlgg.cpp
790 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
792 crbuffri.obj: $(XPMDIR)\crbuffri.c
793 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
795 crbuffrp.obj: $(XPMDIR)\crbuffrp.c
796 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
798 crdatfri.obj: $(XPMDIR)\crdatfri.c
799 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
801 crdatfrp.obj: $(XPMDIR)\crdatfrp.c
802 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
804 create.obj: $(XPMDIR)\create.c
805 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
807 crifrbuf.obj: $(XPMDIR)\crifrbuf.c
808 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
810 crifrdat.obj: $(XPMDIR)\crifrdat.c
811 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
813 crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c
814 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
816 crpfrdat.obj: $(XPMDIR)\crpfrdat.c
817 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
819 # TODO: what to do about this clash of filename????
820 #data.obj: $(XPMDIR)\data.c
821 # *$(CC) $(CPPFLAGS) $(IFLAGS) $<
823 hashtab.obj: $(XPMDIR)\hashtab.c
824 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
826 misc.obj: $(XPMDIR)\misc.c
827 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
829 parse.obj: $(XPMDIR)\parse.c
830 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
832 rdftodat.obj: $(XPMDIR)\rdftodat.c
833 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
835 rdftoi.obj: $(XPMDIR)\rdftoi.c
836 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
838 rdftop.obj: $(XPMDIR)\rdftop.c
839 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
841 rgb.obj: $(XPMDIR)\rgb.c
842 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
844 scan.obj: $(XPMDIR)\scan.c
845 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
847 simx.obj: $(XPMDIR)\simx.c
848 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
850 wrffrdat.obj: $(XPMDIR)\wrffrdat.c
851 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
853 wrffri.obj: $(XPMDIR)\wrffri.c
854 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
856 wrffrp.obj: $(XPMDIR)\wrffrp.c
857 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
859 OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
861 OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
862 infutil$(O) inffast$(O)
864 adler32.obj: adler32.c zutil.h zlib.h zconf.h
865 $(CC) -c $(CFLAGS) $*.c
867 compress.obj: compress.c zlib.h zconf.h
868 $(CC) -c $(CFLAGS) $*.c
870 crc32.obj: crc32.c zutil.h zlib.h zconf.h
871 $(CC) -c $(CFLAGS) $*.c
873 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
874 $(CC) -c $(CFLAGS) $*.c
876 gzio.obj: gzio.c zutil.h zlib.h zconf.h
877 $(CC) -c $(CFLAGS) $*.c
879 infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
881 $(CC) -c $(CFLAGS) $*.c
883 infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
885 $(CC) -c $(CFLAGS) $*.c
887 inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
888 $(CC) -c $(CFLAGS) $*.c
890 inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
891 $(CC) -c $(CFLAGS) $*.c
893 infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
894 $(CC) -c $(CFLAGS) $*.c
896 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
897 $(CC) -c $(CFLAGS) $*.c
899 trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
900 $(CC) -c $(CFLAGS) $*.c
902 uncompr.obj: uncompr.c zlib.h zconf.h
903 $(CC) -c $(CFLAGS) $*.c
905 zutil.obj: zutil.c zutil.h zlib.h zconf.h
906 $(CC) -c $(CFLAGS) $*.c
910 wmake -f makefile.wat all
915 wmake -f makefile.wat clean
920 wmake -f makefile.wat all
925 wmake -f makefile.wat clean
930 wmake -f makefile.wat all
933 clean_zlib: .SYMBOLIC
935 wmake -f makefile.wat clean