diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2008-01-13 23:37:16 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2008-01-13 23:37:16 +0000 |
commit | 7080132724615a99bee76d78199b32531191c301 (patch) | |
tree | bfbeafc214a7688ef52c1517d7dbdce087e37ca7 /main | |
parent | 569df5ea2bfdfdb30224b43b6f44d92d9c82040d (diff) |
Continue makefile refactoring (see rev 3004 log). This rev adds new
'clean' targets. It includes a stylistic change where targets use
hyphen instead of underscore (recommended by Ralph Giles).
Documentation needs to be updated for the latter. The language switch
build does not work with compile inits, it requires the romfs.dev to
be done cleanly in gs, without circular dependencies. The language
switch build does not work with the UFST without compile inits and
apparently never has (not yet investigated).
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@3010 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'main')
-rw-r--r-- | main/pcl6_gcc.mak | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak index 151b24022..8f49add30 100644 --- a/main/pcl6_gcc.mak +++ b/main/pcl6_gcc.mak @@ -30,6 +30,7 @@ XPSSRCDIR?=../xps ICCSRCDIR?=../gs/icclib COMMONDIR?=../common MAINSRCDIR?=../main +PSSRCDIR?=../gs/src # specify the location of zlib. We use zlib for bandlist compression. ZSRCDIR?=../gs/zlib @@ -127,14 +128,13 @@ PXL_FONT_SCALER=$(PL_SCALER) # to compile in the fonts uncomment the following (this option only # works with the artifex scaler on a unix platform) -# ROMFONTS?=true - # flags for UFST scaler. ifeq ($(PL_SCALER), ufst) UFST_ROOT?=../ufst UFST_BRIDGE?=1 +UFST_LIB_EXT?=.a UFST_LIB?=$(UFST_ROOT)/rts/lib/ -UFST_CFLAGS?= -DUFST_BRIDGE=$(UFST_BRIDGE) -DUFST_LIB_EXT=.a -DGCCx86 -DUFST_ROOT=$(UFST_ROOT) +UFST_CFLAGS?=-DGCCx86 -DUFST_ROOT=$(UFST_ROOT) UFST_INCLUDES?=-I$(UFST_ROOT)/rts/inc/ -I$(UFST_ROOT)/sys/inc/ -I$(UFST_ROOT)/rts/fco/ -I$(UFST_ROOT)/rts/gray/ -I$(UFST_ROOT)/rts/tt/ -DAGFA_FONT_TABLE # fco's are binary (-b), the following is only used if COMPILE_INITS=1 UFST_ROMFS_ARGS?=-b \ @@ -209,7 +209,8 @@ DEVICES_DEVS?=$(DD)ljet4.dev $(DD)djet500.dev $(DD)cljet5pr.dev $(DD)cljet5c.dev $(DD)bmpmono.dev $(DD)bmpsep8.dev \ $(DD)pbmraw.dev $(DD)pgmraw.dev $(DD)ppmraw.dev \ $(DD)png16m.dev $(DD)pngmono.dev $(DD)jpeg.dev \ - $(DD)wtscmyk.dev $(DD)wtsimdi.dev $(DD)imdi.dev + $(DD)wtscmyk.dev $(DD)wtsimdi.dev $(DD)imdi.dev \ + $(DD)romfs$(COMPILE_INITS).dev FEATURE_DEVS?=$(DD)colimlib.dev $(DD)dps2lib.dev $(DD)path1lib.dev\ $(DD)patlib.dev $(DD)psl2cs.dev $(DD)rld.dev $(DD)roplib.dev\ @@ -237,6 +238,9 @@ STDLIBS=-lm -lpthread -ldl DEVICE_DEVS=$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11mono.dev $(DD)x11cmyk.dev $(DEVICES_DEVS) $(DD)bmpamono.dev $(DD)bmpa16m.dev endif +#miscellaneous +XOBJS?=$(GLOBJDIR)/gsargs.o $(GLOBJDIR)/gconfig.o $(GLOBJDIR)/gscdefs.o + # Generic makefile include $(COMMONDIR)/ugcc_top.mak @@ -248,18 +252,9 @@ include $(PCLSRCDIR)/pcl.mak # Main program. -pdl_default: $(TARGET_XE)$(XE) +pdl-default: $(TARGET_XE)$(XE) echo Done. -clean: config-clean clean-not-config-clean - -clean-not-config-clean: pl.clean-not-config-clean pxl.clean-not-config-clean - $(RMN_) $(TARGET_XE)$(XE) - -config-clean: pl.config-clean pxl.config-clean - $(RMN_) *.tr $(GD)devs.tr$(CONFIG) $(GD)ld.tr - $(RMN_) $(PXLGEN)pconf.h $(PXLGEN)pconfig.h - lib: $(TARGET_LIB) echo Done lib. |