1# Copyright (C) 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 16# $Id: pcwin.mak,v 1.5 2002/10/29 09:22:29 ghostgum Exp $ 17# makefile for PC window system (MS Windows and OS/2) -specific device 18# drivers. 19 20# Define the name of this makefile. 21PCWIN_MAK=$(GLSRC)pcwin.mak 22 23# We have to isolate these in their own file because the MS Windows code 24# requires special compilation switches, different from all other files 25# and platforms. 26 27### -------------------- The MS-Windows 3.n DLL ------------------------- ### 28 29gp_mswin_h=$(GLSRC)gp_mswin.h 30gsdll_h=$(GLSRC)gsdll.h 31gsdllwin_h=$(GLSRC)gsdllwin.h 32 33gdevmswn_h=$(GLSRC)gdevmswn.h $(GDEVH)\ 34 $(dos__h) $(memory__h) $(string__h) $(windows__h)\ 35 $(gp_mswin_h) 36 37# This is deprecated and requires the interpreter / PSSRCDIR. 38$(GLOBJ)gdevmswn.$(OBJ): $(GLSRC)gdevmswn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h)\ 39 $(gsdll_h) $(gsdllwin_h) $(gsparam_h) $(gdevpccm_h) 40 $(GLCCWIN) -I$(PSSRCDIR) $(GLO_)gdevmswn.$(OBJ) $(C_) $(GLSRC)gdevmswn.c 41 42$(GLOBJ)gdevmsxf.$(OBJ): $(GLSRC)gdevmsxf.c $(ctype__h) $(math__h) $(memory__h) $(string__h)\ 43 $(gdevmswn_h) $(gsstruct_h) $(gsutil_h) $(gxxfont_h) 44 $(GLCCWIN) $(GLO_)gdevmsxf.$(OBJ) $(C_) $(GLSRC)gdevmsxf.c 45 46# An implementation using a DIB filled by an image device. 47# This is deprecated and requires the interpreter / PSSRCDIR. 48$(GLOBJ)gdevwdib.$(OBJ): $(GLSRC)gdevwdib.c\ 49 $(gdevmswn_h) $(gsdll_h) $(gsdllwin_h) $(gxdevmem_h) 50 $(GLCCWIN) -I$(PSSRCDIR) $(GLO_)gdevwdib.$(OBJ) $(C_) $(GLSRC)gdevwdib.c 51 52mswindll1_=$(GLOBJ)gdevmswn.$(OBJ) $(GLOBJ)gdevmsxf.$(OBJ) $(GLOBJ)gdevwdib.$(OBJ) 53mswindll2_=$(GLOBJ)gdevemap.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) 54mswindll_=$(mswindll1_) $(mswindll2_) 55$(GLGEN)mswindll.dev: $(mswindll_) 56 $(SETDEV) $(GLGEN)mswindll $(mswindll1_) 57 $(ADDMOD) $(GLGEN)mswindll $(mswindll2_) 58 59### -------------------- The MS-Windows DDB 3.n printer ----------------- ### 60 61mswinprn_=$(GLOBJ)gdevwprn.$(OBJ) $(GLOBJ)gdevmsxf.$(OBJ) 62$(DD)mswinprn.dev: $(mswinprn_) 63 $(SETDEV) $(DD)mswinprn $(mswinprn_) 64 65$(GLOBJ)gdevwprn.$(OBJ): $(GLSRC)gdevwprn.c $(gdevmswn_h) $(gp_h) 66 $(GLCCWIN) $(GLO_)gdevwprn.$(OBJ) $(C_) $(GLSRC)gdevwprn.c 67 68### -------------------- The MS-Windows DIB 3.n printer ----------------- ### 69 70mswinpr2_=$(GLOBJ)gdevwpr2.$(OBJ) 71$(DD)mswinpr2.dev: $(mswinpr2_) $(GLD)page.dev 72 $(SETPDEV) $(DD)mswinpr2 $(mswinpr2_) 73 74$(GLOBJ)gdevwpr2.$(OBJ): $(GLSRC)gdevwpr2.c $(PDEVH) $(windows__h)\ 75 $(gdevpccm_h) $(gp_h) $(gp_mswin_h) 76 $(GLCCWIN) $(GLO_)gdevwpr2.$(OBJ) $(C_) $(GLSRC)gdevwpr2.c 77 78### ------------------ OS/2 Presentation Manager device ----------------- ### 79 80os2pm_=$(GLOBJ)gdevpm.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) 81$(DD)os2pm.dev: $(os2pm_) 82 $(SETDEV) $(DD)os2pm $(os2pm_) 83 84os2dll_=$(GLOBJ)gdevpm.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) 85$(GLGEN)os2dll.dev: $(os2dll_) 86 $(SETDEV) $(GLGEN)os2dll $(os2dll_) 87 88$(GLOBJ)gdevpm.$(OBJ): $(GLSRC)gdevpm.c $(string__h)\ 89 $(gp_h) $(gpcheck_h)\ 90 $(gsdll_h) $(gsdllwin_h) $(gserrors_h) $(gsexit_h) $(gsparam_h)\ 91 $(gx_h) $(gxdevice_h) $(gxdevmem_h)\ 92 $(gdevpccm_h) $(GLSRC)gdevpm.h 93 $(GLCC) $(GLO_)gdevpm.$(OBJ) $(C_) $(GLSRC)gdevpm.c 94 95### --------------------------- The OS/2 printer ------------------------ ### 96 97os2prn_=$(GLOBJ)gdevos2p.$(OBJ) 98$(DD)os2prn.dev: $(os2prn_) $(GLD)page.dev 99 $(SETPDEV) $(DD)os2prn $(os2prn_) 100 101$(GLOBJ)gdevos2p.$(OBJ): $(GLSRC)gdevos2p.c $(gp_h) $(gdevpccm_h) $(gdevprn_h) $(gscdefs_h) 102 $(GLCC) $(GLO_)gdevos2p.$(OBJ) $(C_) $(GLSRC)gdevos2p.c 103