summaryrefslogtreecommitdiffstats
path: root/print/ghostscript-afpl/files/patch-src:smartgdi-contrib.mak
blob: 3b832daff662793fc91e6ec77b5343066b322693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/smartgdi-contrib.mak.orig	Wed Jun 19 21:43:43 2002
+++ src/smartgdi-contrib.mak	Mon Jul 21 13:59:00 2003
@@ -3,10 +3,12 @@
 ### Note : this driver is used by Samsung SmartGDI compatible printers.   ###
 ###
 
+gdi_opts=-DGS_VERSION_MAJOR=$(GS_VERSION_MAJOR)
+
 GDIMONO=$(GLOBJ)gdevgdi.$(OBJ) $(HPPCL)
 
 $(DD)gdi.dev: $(GDIMONO) $(DD)page.dev
 	$(SETPDEV) $(DD)gdi $(GDIMONO)
 
 $(GLOBJ)gdevgdi.$(OBJ): $(GLSRC)gdevgdi.c $(PDEVH) $(gdevpcl_h)
-	$(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(GLSRC)gdevgdi.c
+	$(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(gdi_opts) $(GLSRC)gdevgdi.c
OpenPOWER on IntegriCloud