diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1998-07-26 07:36:41 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1998-07-26 07:36:41 +0000 |
commit | eec0ef527f18c5978c4476c9490f4de4c4249628 (patch) | |
tree | 5588d5e1300a245186594893c930949a19bcbbce /gs/src/winint.mak | |
parent | d4bdba93ef34f68d27148e1b31088d1d3e786e8c (diff) |
Initial revision
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@246 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src/winint.mak')
-rw-r--r-- | gs/src/winint.mak | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/gs/src/winint.mak b/gs/src/winint.mak new file mode 100644 index 000000000..3cd47b52a --- /dev/null +++ b/gs/src/winint.mak @@ -0,0 +1,96 @@ +# Copyright (C) 1997 Aladdin Enterprises. All rights reserved. +# +# This file is part of Aladdin Ghostscript. +# +# Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author +# or distributor accepts any responsibility for the consequences of using it, +# or for whether it serves any particular purpose or works at all, unless he +# or she says so in writing. Refer to the Aladdin Ghostscript Free Public +# License (the "License") for full details. +# +# Every copy of Aladdin Ghostscript must include a copy of the License, +# normally in a plain ASCII text file named PUBLIC. The License grants you +# the right to copy, modify and redistribute Aladdin Ghostscript, but only +# under certain conditions described in the License. Among other things, the +# License requires that the copyright notice and this notice be preserved on +# all copies. + +# Common interpreter makefile section for 32-bit MS Windows. + +# This makefile must be acceptable to Microsoft Visual C++, Watcom C++, +# and Borland C++. For this reason, the only conditional directives +# allowed are !if[n]def, !else, and !endif. + + +# Include the generic makefile. +!include int.mak + +# ----------------------------- Main program ------------------------------ # + +CCBEGIN=$(CCC) *.c + +ICONS=gsgraph.ico gstext.ico + +GS_ALL=$(INT_ALL) $(INTASM)\ + $(LIB_ALL) $(LIBCTR) lib.tr $(ld_tr) $(GSDLL).res $(GSDLL).def $(ICONS) + +# Make the icons from their text form. + +gsgraph.ico: gsgraph.icx echogs$(XE) + echogs -wb gsgraph.ico -n -X -r gsgraph.icx + +gstext.ico: gstext.icx echogs$(XE) + echogs -wb gstext.ico -n -X -r gstext.icx + +# resources for short EXE loader (no dialogs) +$(GS).res: dwmain.rc dwmain.h $(ICONS) + $(RCOMP) -i$(INCDIR) -r -fo$(GS).res dwmain.rc + +# resources for main program (includes dialogs) +$(GSDLL).res: gsdll32.rc gp_mswin.h $(ICONS) + $(RCOMP) -i$(INCDIR) -r -fo$(GSDLL).res gsdll32.rc + + +# Modules for small EXE loader. + +DWOBJ=dwdll.obj dwimg.obj dwmain.obj dwtext.obj gscdefs.obj + +dwdll.obj: dwdll.cpp $(AK) dwdll.h gsdll.h + $(CPP) $(COMPILE_FOR_EXE) -c dwdll.cpp + +dwimg.obj: dwimg.cpp $(AK) dwmain.h dwdll.h dwtext.h dwimg.h gscdefs.h gsdll.h + $(CPP) $(COMPILE_FOR_EXE) -c dwimg.cpp + +dwmain.obj: dwmain.cpp $(AK) dwdll.h gscdefs.h gsdll.h + $(CPP) $(COMPILE_FOR_EXE) -c dwmain.cpp + +dwtext.obj: dwtext.cpp $(AK) dwtext.h + $(CPP) $(COMPILE_FOR_EXE) -c dwtext.cpp + +# Modules for big EXE + +DWOBJNO = dwnodll.obj dwimg.obj dwmain.obj dwtext.obj + +dwnodll.obj: dwnodll.cpp $(AK) dwdll.h gsdll.h + $(CPP) $(COMPILE_FOR_EXE) -c dwnodll.cpp + +# Compile gsdll.c, the main program of the DLL. + +gsdll.obj: gsdll.c $(AK) gsdll.h $(ghost_h) + $(CCCWIN) gsdll.c + +# Modules for console mode EXEs + +OBJC=dwmainc.obj dwdllc.obj gscdefs.obj +OBJCNO=dwmainc.obj dwnodllc.obj + +dwmainc.obj: dwmainc.cpp $(AK) dwmain.h dwdll.h gscdefs.h gsdll.h + $(CPP) $(COMPILE_FOR_CONSOLE_EXE) -c dwmainc.cpp + +dwdllc.obj: dwdll.cpp $(AK) dwdll.h gsdll.h + $(CPP) $(COMPILE_FOR_CONSOLE_EXE) -c $(CCOBJNAME)dwdllc.obj dwdll.cpp + +dwnodllc.obj: dwnodll.cpp $(AK) dwdll.h gsdll.h + $(CPP) $(COMPILE_FOR_CONSOLE_EXE) -c $(CCOBJNAME)dwnodllc.obj dwnodll.cpp + +# end of winint.mak |