wctail.mak 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # Copyright (C) 1995, 1997, 1998, 1999 Aladdin Enterprises. All rights reserved.
  2. #
  3. # This software is provided AS-IS with no warranty, either express or
  4. # implied.
  5. #
  6. # This software is distributed under license and may not be copied,
  7. # modified or distributed except as expressly authorized under the terms
  8. # of the license contained in the file LICENSE in this distribution.
  9. #
  10. # For more information about licensing, please refer to
  11. # http://www.ghostscript.com/licensing/. For information on
  12. # commercial licensing, go to http://www.artifex.com/licensing/ or
  13. # contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  14. # San Rafael, CA 94903, U.S.A., +1(415)492-9861.
  15. # $Id: wctail.mak,v 1.7 2003/04/15 14:36:43 giles Exp $
  16. # wctail.mak
  17. # Last part of Watcom C/C++ makefile common to MS-DOS and MS Windows.
  18. # Define the name of this makefile.
  19. WCTAIL_MAK=$(GLSRCDIR)\wctail.mak
  20. # Include the generic makefiles, except for devs.mak, contrib.mak,
  21. # int.mak, and cfonts.mak.
  22. #!include $(COMMONDIR)/watcdefs.mak
  23. #!include $(COMMONDIR)/pcdefs.mak
  24. #!include $(COMMONDIR)/generic.mak
  25. !include $(GLSRCDIR)\version.mak
  26. !include $(GLSRCDIR)\gs.mak
  27. !include $(GLSRCDIR)\lib.mak
  28. !include $(GLSRCDIR)\jpeg.mak
  29. # zlib.mak must precede libpng.mak
  30. !include $(GLSRCDIR)\zlib.mak
  31. !include $(GLSRCDIR)\libpng.mak
  32. !include $(GLSRCDIR)\jbig2.mak
  33. !include $(GLSRCDIR)\icclib.mak
  34. !include $(GLSRCDIR)\ijs.mak
  35. # -------------------------- Auxiliary programs --------------------------- #
  36. temp_tr=$(GLOBJ)_temp_.tr
  37. $(ECHOGS_XE): $(AUXGEN)echogs.$(OBJ)
  38. echo OPTION STUB=$(STUB) >$(temp_tr)
  39. echo $(LIBPATHS) >>$(temp_tr)
  40. $(LINK) @$(temp_tr) FILE $(AUXGEN)echogs
  41. $(AUXGEN)echogs.$(OBJ): $(GLSRC)echogs.c
  42. $(CCAUX) $(GLSRC)echogs.c $(O_)$(AUXGEN)echogs.$(OBJ)
  43. $(GENARCH_XE): $(AUXGEN)genarch.$(OBJ)
  44. echo $(LIBPATHS) >$(temp_tr)
  45. $(LINK) @$(temp_tr) FILE $(AUXGEN)genarch
  46. $(AUXGEN)genarch.$(OBJ): $(GLSRC)genarch.c $(stdpre_h)
  47. $(CCAUX) $(GLSRC)genarch.c $(O_)$(AUXGEN)genarch.$(OBJ)
  48. $(GENCONF_XE): $(AUXGEN)genconf.$(OBJ)
  49. echo OPTION STUB=$(STUB) >$(temp_tr)
  50. echo OPTION STACK=8k >>$(temp_tr)
  51. echo $(LIBPATHS) >>$(temp_tr)
  52. $(LINK) @$(temp_tr) FILE $(AUXGEN)genconf
  53. $(AUXGEN)genconf.$(OBJ): $(GLSRC)genconf.c $(stdpre_h)
  54. $(CCAUX) $(GLSRC)genconf.c $(O_)$(AUXGEN)genconf.$(OBJ)
  55. $(GENDEV_XE): $(AUXGEN)gendev.$(OBJ)
  56. echo OPTION STUB=$(STUB) >$(temp_tr)
  57. echo OPTION STACK=8k >>$(temp_tr)
  58. echo $(LIBPATHS) >>$(temp_tr)
  59. $(LINK) @$(temp_tr) FILE $(AUXGEN)gendev
  60. $(AUXGEN)gendev.$(OBJ): $(GLSRC)gendev.c $(stdpre_h)
  61. $(CCAUX) $(GLSRC)gendev.c $(O_)$(AUXGEN)gendev.$(OBJ)
  62. $(GENINIT_XE): $(AUXGEN)geninit.$(OBJ)
  63. echo OPTION STUB=$(STUB) >$(temp_tr)
  64. echo OPTION STACK=8k >>$(temp_tr)
  65. echo $(LIBPATHS) >>$(temp_tr)
  66. $(LINK) @$(temp_tr) FILE $(AUXGEN)geninit
  67. $(AUXGEN)geninit.$(OBJ): $(GLSRC)geninit.c $(stdpre_h)
  68. $(CCAUX) $(GLSRC)geninit.c $(O_)$(AUXGEN)geninit.$(OBJ)
  69. # No special gconfig_.h is needed.
  70. # Watcom `make' supports output redirection.
  71. $(gconfig__h): $(WCTAIL_MAK)
  72. echo /* This file deliberately left blank. */ >$(gconfig__h)
  73. $(gconfigv_h): $(WCTAIL_MAK) $(TOP_MAKEFILES) $(ECHOGS_XE)
  74. $(ECHOGS_XE) -w $(gconfigv_h) -x 23 define USE_ASM -x 2028 -q $(USE_ASM)-0 -x 29
  75. $(ECHOGS_XE) -a $(gconfigv_h) -x 23 define USE_FPU -x 2028 -q $(FPU_TYPE)-0 -x 29
  76. $(ECHOGS_XE) -a $(gconfigv_h) -x 23 define EXTEND_NAMES 0$(EXTEND_NAMES)
  77. $(ECHOGS_XE) -a $(gconfigv_h) -x 23 define SYSTEM_CONSTANTS_ARE_WRITABLE 0$(SYSTEM_CONSTANTS_ARE_WRITABLE)