home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / UsingPDF / GhostScript / source / gs5.10 / winint.mak < prev    next >
Encoding:
Text File  |  1997-09-09  |  3.0 KB  |  96 lines

  1. #    Copyright (C) 1997 Aladdin Enterprises.  All rights reserved.
  2. # This file is part of Aladdin Ghostscript.
  3. # Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  4. # or distributor accepts any responsibility for the consequences of using it,
  5. # or for whether it serves any particular purpose or works at all, unless he
  6. # or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  7. # License (the "License") for full details.
  8. # Every copy of Aladdin Ghostscript must include a copy of the License,
  9. # normally in a plain ASCII text file named PUBLIC.  The License grants you
  10. # the right to copy, modify and redistribute Aladdin Ghostscript, but only
  11. # under certain conditions described in the License.  Among other things, the
  12. # License requires that the copyright notice and this notice be preserved on
  13. # all copies.
  14.  
  15. # Common interpreter makefile section for 32-bit MS Windows.
  16.  
  17. # This makefile must be acceptable to Microsoft Visual C++, Watcom C++,
  18. # and Borland C++.  For this reason, the only conditional directives
  19. # allowed are !if[n]def, !else, and !endif.
  20.  
  21.  
  22. # Include the generic makefile.
  23. !include int.mak
  24.  
  25. # ----------------------------- Main program ------------------------------ #
  26.  
  27. CCBEGIN=$(CCC) *.c
  28.  
  29. ICONS=gsgraph.ico gstext.ico
  30.  
  31. GS_ALL=$(INT_ALL) $(INTASM)\
  32.   $(LIB_ALL) $(LIBCTR) lib.tr $(ld_tr) $(GSDLL).res $(GSDLL).def $(ICONS)
  33.  
  34. # Make the icons from their text form.
  35.  
  36. gsgraph.ico: gsgraph.icx echogs$(XE)
  37.         echogs -wb gsgraph.ico -n -X -r gsgraph.icx
  38.  
  39. gstext.ico: gstext.icx echogs$(XE)
  40.         echogs -wb gstext.ico -n -X -r gstext.icx
  41.  
  42. # resources for short EXE loader (no dialogs)
  43. $(GS).res: dwmain.rc dwmain.h $(ICONS)
  44.     $(RCOMP) -i$(INCDIR) -r -fo$(GS).res dwmain.rc
  45.  
  46. # resources for main program (includes dialogs)
  47. $(GSDLL).res: gsdll32.rc gp_mswin.h $(ICONS)
  48.     $(RCOMP) -i$(INCDIR) -r -fo$(GSDLL).res gsdll32.rc
  49.  
  50.  
  51. # Modules for small EXE loader.
  52.  
  53. DWOBJ=dwdll.obj dwimg.obj dwmain.obj dwtext.obj gscdefs.obj
  54.  
  55. dwdll.obj: dwdll.cpp $(AK) dwdll.h gsdll.h
  56.     $(CPP) $(COMPILE_FOR_EXE) -c dwdll.cpp
  57.  
  58. dwimg.obj: dwimg.cpp $(AK) dwmain.h dwdll.h dwtext.h dwimg.h gscdefs.h gsdll.h
  59.     $(CPP) $(COMPILE_FOR_EXE) -c dwimg.cpp
  60.  
  61. dwmain.obj: dwmain.cpp $(AK) dwdll.h gscdefs.h gsdll.h
  62.     $(CPP) $(COMPILE_FOR_EXE) -c dwmain.cpp
  63.  
  64. dwtext.obj: dwtext.cpp $(AK) dwtext.h
  65.     $(CPP) $(COMPILE_FOR_EXE) -c dwtext.cpp
  66.  
  67. # Modules for big EXE
  68.  
  69. DWOBJNO = dwnodll.obj dwimg.obj dwmain.obj dwtext.obj
  70.  
  71. dwnodll.obj: dwnodll.cpp $(AK) dwdll.h gsdll.h
  72.     $(CPP) $(COMPILE_FOR_EXE) -c dwnodll.cpp
  73.  
  74. # Compile gsdll.c, the main program of the DLL.
  75.  
  76. gsdll.obj: gsdll.c $(AK) gsdll.h $(ghost_h)
  77.  
  78. # Modules for console mode EXEs
  79.  
  80. OBJC=dwmainc.obj dwdllc.obj gscdefs.obj
  81. OBJCNO=dwmainc.obj dwnodllc.obj
  82.  
  83. dwmainc.obj: dwmainc.cpp $(AK) dwmain.h dwdll.h gscdefs.h gsdll.h
  84.     $(CPP) $(COMPILE_FOR_CONSOLE_EXE) -c dwmainc.cpp
  85.  
  86. dwdllc.obj: dwdll.cpp $(AK) dwdll.h gsdll.h
  87.     $(CPP) $(COMPILE_FOR_CONSOLE_EXE) -c $(CCOBJNAME)dwdllc.obj dwdll.cpp
  88.  
  89. dwnodllc.obj: dwnodll.cpp $(AK) dwdll.h gsdll.h
  90.     $(CPP) $(COMPILE_FOR_CONSOLE_EXE) -c $(CCOBJNAME)dwnodllc.obj dwnodll.cpp
  91.  
  92. # end of winint.mak
  93.