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 &
44 # These are generic things that don't need to be compiled on MSW,
45 # but sometimes it's useful to do so for testing purposes.
46 NONESSENTIALOBJS= printps.obj &
53 COMMONOBJS = cmndata.obj &
117 # Can't compile these yet under Watcom C++
219 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
220 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS)
222 all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS)
224 $(LIBTARGET) : $(OBJECTS)
226 @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
227 wlib /b /c /n /p=512 $^@ @tmp.lbc
231 # @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i
232 # wlib /b /c /n /p=512 $^@ @tmp.lbc
235 clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
244 accel.obj: $(MSWDIR)\accel.cpp
245 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
247 app.obj: $(MSWDIR)\app.cpp
248 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
250 bitmap.obj: $(MSWDIR)\bitmap.cpp
251 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
253 bmpbuttn.obj: $(MSWDIR)\bmpbuttn.cpp
254 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
256 brush.obj: $(MSWDIR)\brush.cpp
257 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
259 button.obj: $(MSWDIR)\button.cpp
260 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
262 caret.obj: $(MSWDIR)\caret.cpp
263 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
265 choice.obj: $(MSWDIR)\choice.cpp
266 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
268 checkbox.obj: $(MSWDIR)\checkbox.cpp
269 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
271 checklst.obj: $(MSWDIR)\checklst.cpp
272 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
274 clipbrd.obj: $(MSWDIR)\clipbrd.cpp
275 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
277 colordlg.obj: $(MSWDIR)\colordlg.cpp
278 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
280 colour.obj: $(MSWDIR)\colour.cpp
281 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
283 combobox.obj: $(MSWDIR)\combobox.cpp
284 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
286 control.obj: $(MSWDIR)\control.cpp
287 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
289 curico.obj: $(MSWDIR)\curico.cpp
290 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
292 cursor.obj: $(MSWDIR)\cursor.cpp
293 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
295 data.obj: $(MSWDIR)\data.cpp
296 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
298 dde.obj: $(MSWDIR)\dde.cpp
299 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
301 dc.obj: $(MSWDIR)\dc.cpp
302 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
304 dcmemory.obj: $(MSWDIR)\dcmemory.cpp
305 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
307 dcclient.obj: $(MSWDIR)\dcclient.cpp
308 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
310 dcprint.obj: $(MSWDIR)\dcprint.cpp
311 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
313 dcscreen.obj: $(MSWDIR)\dcscreen.cpp
314 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
316 dialog.obj: $(MSWDIR)\dialog.cpp
317 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
319 dib.obj: $(MSWDIR)\dib.cpp
320 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
322 dibutils.obj: $(MSWDIR)\dibutils.cpp
323 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
325 dirdlg.obj: $(MSWDIR)\dirdlg.cpp
326 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
328 filedlg.obj: $(MSWDIR)\filedlg.cpp
329 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
331 font.obj: $(MSWDIR)\font.cpp
332 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
334 fontdlg.obj: $(MSWDIR)\fontdlg.cpp
335 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
337 frame.obj: $(MSWDIR)\frame.cpp
338 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
340 gauge95.obj: $(MSWDIR)\gauge95.cpp
341 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
343 gaugemsw.obj: $(MSWDIR)\gaugemsw.cpp
344 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
346 gdiobj.obj: $(MSWDIR)\gdiobj.cpp
347 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
349 helpwin.obj: $(MSWDIR)\helpwin.cpp
350 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
352 icon.obj: $(MSWDIR)\icon.cpp
353 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
355 imaglist.obj: $(MSWDIR)\imaglist.cpp
356 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
358 iniconf.obj: $(MSWDIR)\iniconf.cpp
359 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
361 joystick.obj: $(MSWDIR)\joystick.cpp
362 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
364 listbox.obj: $(MSWDIR)\listbox.cpp
365 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
367 listctrl.obj: $(MSWDIR)\listctrl.cpp
368 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
370 main.obj: $(MSWDIR)\main.cpp
371 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
373 mdi.obj: $(MSWDIR)\mdi.cpp
374 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
376 menu.obj: $(MSWDIR)\menu.cpp
377 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
379 menuitem.obj: $(MSWDIR)\menuitem.cpp
380 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
382 metafile.obj: $(MSWDIR)\metafile.cpp
383 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
385 minifram.obj: $(MSWDIR)\minifram.cpp
386 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
388 msgdlg.obj: $(MSWDIR)\msgdlg.cpp
389 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
391 nativdlg.obj: $(MSWDIR)\nativdlg.cpp
392 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
394 notebook.obj: $(MSWDIR)\notebook.cpp
395 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
397 ownerdrw.obj: $(MSWDIR)\ownerdrw.cpp
398 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
400 palette.obj: $(MSWDIR)\palette.cpp
401 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
403 pen.obj: $(MSWDIR)\pen.cpp
404 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
406 penwin.obj: $(MSWDIR)\penwin.cpp
407 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
409 pnghand.obj: $(MSWDIR)\pnghand.cpp
410 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
412 printdlg.obj: $(MSWDIR)\printdlg.cpp
413 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
415 printwin.obj: $(MSWDIR)\printwin.cpp
416 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
418 radiobox.obj: $(MSWDIR)\radiobox.cpp
419 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
421 radiobut.obj: $(MSWDIR)\radiobut.cpp
422 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
424 region.obj: $(MSWDIR)\region.cpp
425 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
427 registry.obj: $(MSWDIR)\registry.cpp
428 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
430 regconf.obj: $(MSWDIR)\regconf.cpp
431 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
433 scrolbar.obj: $(MSWDIR)\scrolbar.cpp
434 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
436 settings.obj: $(MSWDIR)\settings.cpp
437 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
439 slidrmsw.obj: $(MSWDIR)\slidrmsw.cpp
440 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
442 slider95.obj: $(MSWDIR)\slider95.cpp
443 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
445 spinbutt.obj: $(MSWDIR)\spinbutt.cpp
446 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
448 statbmp.obj: $(MSWDIR)\statbmp.cpp
449 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
451 statbox.obj: $(MSWDIR)\statbox.cpp
452 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
454 statbr95.obj: $(MSWDIR)\statbr95.cpp
455 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
457 stattext.obj: $(MSWDIR)\stattext.cpp
458 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
460 tabctrl.obj: $(MSWDIR)\tabctrl.cpp
461 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
463 taskbar.obj: $(MSWDIR)\taskbar.cpp
464 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
466 tbar95.obj: $(MSWDIR)\tbar95.cpp
467 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
469 tbarmsw.obj: $(MSWDIR)\tbarmsw.cpp
470 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
472 textctrl.obj: $(MSWDIR)\textctrl.cpp
473 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
475 thread.obj: $(MSWDIR)\thread.cpp
476 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
478 timer.obj: $(MSWDIR)\timer.cpp
479 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
481 tooltip.obj: $(MSWDIR)\tooltip.cpp
482 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
484 treectrl.obj: $(MSWDIR)\treectrl.cpp
485 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
487 utils.obj: $(MSWDIR)\utils.cpp
488 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
490 utilsexc.obj: $(MSWDIR)\utilsexc.cpp
491 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
493 wave.obj: $(MSWDIR)\wave.cpp
494 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
496 window.obj: $(MSWDIR)\window.cpp
497 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
499 xpmhand.obj: $(MSWDIR)\xpmhand.cpp
500 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
502 droptgt.obj: $(OLEDIR)\droptgt.cpp
503 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
505 dropsrc.obj: $(OLEDIR)\dropsrc.cpp
506 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
508 dataobj.obj: $(OLEDIR)\dataobj.cpp
509 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
511 oleutils.obj: $(OLEDIR)\oleutils.cpp
512 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
514 uuid.obj: $(OLEDIR)\uuid.cpp
515 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
517 automtn.obj: $(OLEDIR)\automtn.cpp
518 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
520 ########################################################
521 # Common objects (always compiled)
523 cmndata.obj: $(COMMDIR)\cmndata.cpp
524 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
526 config.obj: $(COMMDIR)\config.cpp
527 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
529 dcbase.obj: $(COMMDIR)\dcbase.cpp
530 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
532 db.obj: $(COMMDIR)\db.cpp
533 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
535 dbtable.obj: $(COMMDIR)\dbtable.cpp
536 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
538 docview.obj: $(COMMDIR)\docview.cpp
539 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
541 docmdi.obj: $(COMMDIR)\docmdi.cpp
542 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
544 dynarray.obj: $(COMMDIR)\dynarray.cpp
545 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
547 dynlib.obj: $(COMMDIR)\dynlib.cpp
548 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
550 event.obj: $(COMMDIR)\event.cpp
551 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
553 file.obj: $(COMMDIR)\file.cpp
554 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
556 fileconf.obj: $(COMMDIR)\fileconf.cpp
557 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
559 filefn.obj: $(COMMDIR)\filefn.cpp
560 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
562 framecmn.obj: $(COMMDIR)\framecmn.cpp
563 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
565 gdicmn.obj: $(COMMDIR)\gdicmn.cpp
566 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
568 image.obj: $(COMMDIR)\image.cpp
569 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
571 imagpng.obj: $(COMMDIR)\imagpng.cpp
572 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
574 imagjpeg.obj: $(COMMDIR)\imagjpeg.cpp
575 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
577 intl.obj: $(COMMDIR)\intl.cpp
578 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
580 ipcbase.obj: $(COMMDIR)\ipcbase.cpp
581 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
583 helpbase.obj: $(COMMDIR)\helpbase.cpp
584 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
586 layout.obj: $(COMMDIR)\layout.cpp
587 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
589 log.obj: $(COMMDIR)\log.cpp
590 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
592 memory.obj: $(COMMDIR)\memory.cpp
593 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
595 mimetype.obj: $(COMMDIR)\mimetype.cpp
596 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
598 module.obj: $(COMMDIR)\module.cpp
599 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
601 object.obj: $(COMMDIR)\object.cpp
602 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
604 odbc.obj: $(COMMDIR)\odbc.cpp
605 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
607 prntbase.obj: $(COMMDIR)\prntbase.cpp
608 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
610 resource.obj: $(COMMDIR)\resource.cpp
611 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
613 tbarbase.obj: $(COMMDIR)\tbarbase.cpp
614 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
616 tbarsmpl.obj: $(COMMDIR)\tbarsmpl.cpp
617 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
619 textfile.obj: $(COMMDIR)\textfile.cpp
620 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
622 timercmn.obj: $(COMMDIR)\timercmn.cpp
623 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
625 utilscmn.obj: $(COMMDIR)\utilscmn.cpp
626 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
628 validate.obj: $(COMMDIR)\validate.cpp
629 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
631 valgen.obj: $(COMMDIR)\valgen.cpp
632 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
634 valtext.obj: $(COMMDIR)\valtext.cpp
635 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
637 date.obj: $(COMMDIR)\date.cpp
638 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
640 wxexpr.obj: $(COMMDIR)\wxexpr.cpp
641 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
643 hash.obj: $(COMMDIR)\hash.cpp
644 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
646 list.obj: $(COMMDIR)\list.cpp
647 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
649 paper.obj: $(COMMDIR)\paper.cpp
650 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
652 string.obj: $(COMMDIR)\string.cpp
653 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
655 socket.obj: $(COMMDIR)\socket.cpp
656 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
658 sckaddr.obj: $(COMMDIR)\sckaddr.cpp
659 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
661 sckfile.obj: $(COMMDIR)\sckfile.cpp
662 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
664 sckipc.obj: $(COMMDIR)\sckipc.cpp
665 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
667 sckstrm.obj: $(COMMDIR)\sckstrm.cpp
668 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
670 url.obj: $(COMMDIR)\url.cpp
671 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
673 http.obj: $(COMMDIR)\http.cpp
674 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
676 protocol.obj: $(COMMDIR)\protocol.cpp
677 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
679 tokenzr.obj: $(COMMDIR)\tokenzr.cpp
680 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
682 matrix.obj: $(COMMDIR)\matrix.cpp
683 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
685 time.obj: $(COMMDIR)\time.cpp
686 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
688 stream.obj: $(COMMDIR)\stream.cpp
689 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
691 wfstream.obj: $(COMMDIR)\wfstream.cpp
692 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
694 mstream.obj: $(COMMDIR)\mstream.cpp
695 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
697 zstream.obj: $(COMMDIR)\zstream.cpp
698 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
700 datstrm.obj: $(COMMDIR)\datstrm.cpp
701 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
703 objstrm.obj: $(COMMDIR)\objstrm.cpp
704 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
706 extended.obj: $(COMMDIR)\extended.c
707 *$(CC) $(CPPFLAGS) $(IFLAGS) $(COMMDIR)\extended.c
709 process.obj: $(COMMDIR)\process.cpp
710 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
712 variant.obj: $(COMMDIR)\variant.cpp
713 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
715 wincmn.obj: $(COMMDIR)\wincmn.cpp
716 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
718 wxchar.obj: $(COMMDIR)\wxchar.cpp
719 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
721 y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
722 *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
724 # *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS $(COMMDIR)\y_tab.c
726 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
727 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
729 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
730 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
732 ########################################################
733 # Generic objects (not always compiled, depending on
734 # whether platforms have native implementations)
736 choicdgg.obj: $(GENDIR)\choicdgg.cpp
737 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
739 colrdlgg.obj: $(GENDIR)\colrdgg.cpp
740 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
742 fontdlgg.obj: $(GENDIR)\fontdlgg.cpp
743 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
745 gridg.obj: $(GENDIR)\gridg.cpp
746 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
748 helpxlp.obj: $(GENDIR)\helpxlp.cpp
749 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
751 laywin.obj: $(GENDIR)\laywin.cpp
752 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
754 msgdlgg.obj: $(GENDIR)\msgdlgg.cpp
755 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
757 panelg.obj: $(GENDIR)\panelg.cpp
758 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
760 printps.obj: $(GENDIR)\printps.cpp
761 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
763 progdlgg.obj: $(GENDIR)\progdlgg.cpp
764 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
766 prop.obj: $(GENDIR)\prop.cpp
767 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
769 propform.obj: $(GENDIR)\propform.cpp
770 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
772 proplist.obj: $(GENDIR)\proplist.cpp
773 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
775 prntdlgg.obj: $(GENDIR)\prntdlgg.cpp
776 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
778 sashwin.obj: $(GENDIR)\sashwin.cpp
779 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
781 scrolwin.obj: $(GENDIR)\scrolwin.cpp
782 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
784 splitter.obj: $(GENDIR)\splitter.cpp
785 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
787 statusbr.obj: $(GENDIR)\statusbr.cpp
788 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
790 tabg.obj: $(GENDIR)\tabg.cpp
791 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
793 textdlgg.obj: $(GENDIR)\textdlgg.cpp
794 *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
796 crbuffri.obj: $(XPMDIR)\crbuffri.c
797 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
799 crbuffrp.obj: $(XPMDIR)\crbuffrp.c
800 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
802 crdatfri.obj: $(XPMDIR)\crdatfri.c
803 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
805 crdatfrp.obj: $(XPMDIR)\crdatfrp.c
806 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
808 create.obj: $(XPMDIR)\create.c
809 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
811 crifrbuf.obj: $(XPMDIR)\crifrbuf.c
812 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
814 crifrdat.obj: $(XPMDIR)\crifrdat.c
815 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
817 crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c
818 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
820 crpfrdat.obj: $(XPMDIR)\crpfrdat.c
821 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
823 # TODO: what to do about this clash of filename????
824 #data.obj: $(XPMDIR)\data.c
825 # *$(CC) $(CPPFLAGS) $(IFLAGS) $<
827 hashtab.obj: $(XPMDIR)\hashtab.c
828 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
830 misc.obj: $(XPMDIR)\misc.c
831 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
833 parse.obj: $(XPMDIR)\parse.c
834 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
836 rdftodat.obj: $(XPMDIR)\rdftodat.c
837 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
839 rdftoi.obj: $(XPMDIR)\rdftoi.c
840 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
842 rdftop.obj: $(XPMDIR)\rdftop.c
843 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
845 rgb.obj: $(XPMDIR)\rgb.c
846 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
848 scan.obj: $(XPMDIR)\scan.c
849 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
851 simx.obj: $(XPMDIR)\simx.c
852 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
854 wrffrdat.obj: $(XPMDIR)\wrffrdat.c
855 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
857 wrffri.obj: $(XPMDIR)\wrffri.c
858 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
860 wrffrp.obj: $(XPMDIR)\wrffrp.c
861 *$(CC) $(CPPFLAGS) $(IFLAGS) $<
863 OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
865 OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
866 infutil$(O) inffast$(O)
868 adler32.obj: adler32.c zutil.h zlib.h zconf.h
869 $(CC) -c $(CFLAGS) $*.c
871 compress.obj: compress.c zlib.h zconf.h
872 $(CC) -c $(CFLAGS) $*.c
874 crc32.obj: crc32.c zutil.h zlib.h zconf.h
875 $(CC) -c $(CFLAGS) $*.c
877 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
878 $(CC) -c $(CFLAGS) $*.c
880 gzio.obj: gzio.c zutil.h zlib.h zconf.h
881 $(CC) -c $(CFLAGS) $*.c
883 infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
885 $(CC) -c $(CFLAGS) $*.c
887 infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
889 $(CC) -c $(CFLAGS) $*.c
891 inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
892 $(CC) -c $(CFLAGS) $*.c
894 inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
895 $(CC) -c $(CFLAGS) $*.c
897 infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
898 $(CC) -c $(CFLAGS) $*.c
900 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
901 $(CC) -c $(CFLAGS) $*.c
903 trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
904 $(CC) -c $(CFLAGS) $*.c
906 uncompr.obj: uncompr.c zlib.h zconf.h
907 $(CC) -c $(CFLAGS) $*.c
909 zutil.obj: zutil.c zutil.h zlib.h zconf.h
910 $(CC) -c $(CFLAGS) $*.c
914 wmake -f makefile.wat all
919 wmake -f makefile.wat clean
924 wmake -f makefile.wat all
929 wmake -f makefile.wat clean
934 wmake -f makefile.wat all
937 clean_zlib: .SYMBOLIC
939 wmake -f makefile.wat clean