1# Copyright (C) 2001-2019 Artifex Software, Inc.
2# All Rights Reserved.
3#
4# This software is provided AS-IS with no warranty, either express or
5# implied.
6#
7# This software is distributed under license and may not be copied,
8# modified or distributed except as expressly authorized under the terms
9# of the license contained in the file LICENSE in this distribution.
10#
11# Refer to licensing information at http://www.artifex.com or contact
12# Artifex Software, Inc.,  1305 Grant Avenue - Suite 200, Novato,
13# CA 94945, U.S.A., +1(415)492-9861, for further information.
14#
15# makefile for PC window system (MS Windows and OS/2) -specific device
16# drivers.
17
18# Define the name of this makefile.
19PCWIN_MAK=$(GLSRC)pcwin.mak $(TOP_MAKEFILES)
20
21# We have to isolate these in their own file because the MS Windows code
22# requires special compilation switches, different from all other files
23# and platforms.
24
25### -------------------- The MS-Windows 3.n DLL ------------------------- ###
26
27gp_mswin_h=$(GLSRC)gp_mswin.h $(windows__h)
28gsdll_h=$(GLSRC)gsdll.h $(iapi_h) $(windows__h)
29gsdllwin_h=$(GLSRC)gsdllwin.h $(windows__h) $(gs_dll_call_h)
30
31### -------------------- The MS-Windows DIB 3.n printer ----------------- ###
32
33mswinpr2_=$(GLOBJ)gdevwpr2.$(OBJ)
34$(DD)mswinpr2.dev: $(mswinpr2_) $(GLD)page.dev $(PCWIN_MAK)
35	$(SETPDEV) $(DD)mswinpr2 $(mswinpr2_)
36
37$(GLOBJ)gdevwpr2.$(OBJ): $(DEVSRC)gdevwpr2.c $(PDEVH) $(windows__h)\
38 $(gdevpccm_h) $(gp_h) $(gp_mswin_h) $(gsicc_manage_h) $(PCWIN_MAK)
39	$(GLCCWIN) $(GLO_)gdevwpr2.$(OBJ) $(C_) $(DEVSRC)gdevwpr2.c
40