summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2010-12-22 19:16:02 +0000
committerRobin Watts <robin.watts@artifex.com>2010-12-22 19:16:02 +0000
commit4e6a3219639cdc5f2fcbd63379008d67239dff60 (patch)
tree28922f0674da28282dfbde655cea49ce70aab755 /main
parent098bf80ef7bc73fe9acad63029d86425ad45d745 (diff)
Add new top level GhostPDL makefile targets, pcl-lib, ls-lib, svg-lib, xps-lib
and all-lib. These build the same as pcl, ls-product, svg, xps etc, except the final product is a library that offers pl_main() as its top level entrypoint. The sole piece of code that is NOT included in the libs that is included in the exes is a 1 line 'main()' veneer that just calls pl_main. No expected cluster differences. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11973 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'main')
-rw-r--r--main/pcl6_gcc.mak1
-rw-r--r--main/pcl6_msvc.mak3
2 files changed, 4 insertions, 0 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak
index e044c6e59..3928d3279 100644
--- a/main/pcl6_gcc.mak
+++ b/main/pcl6_gcc.mak
@@ -127,6 +127,7 @@ TARGET_DEVS?=$(PXLOBJDIR)/pjl.dev $(PXLOBJDIR)/pxl.dev $(PCLOBJDIR)/pcl5c.dev $(
TARGET_XE?=$(GENDIR)/pcl6
TARGET_LIB?=$(GENDIR)/pcl6.a
MAIN_OBJ?=$(PLOBJDIR)/plmain.$(OBJ) $(PLOBJDIR)/plimpl.$(OBJ)
+REALMAIN_OBJ?=$(PLOBJDIR)/realmain.$(OBJ)
PCL_TOP_OBJ?=$(PCLOBJDIR)/pctop.$(OBJ)
PXL_TOP_OBJ?=$(PXLOBJDIR)/pxtop.$(OBJ)
TOP_OBJ?=$(PCL_TOP_OBJ) $(PXL_TOP_OBJ)
diff --git a/main/pcl6_msvc.mak b/main/pcl6_msvc.mak
index d913d3ae8..589524cd3 100644
--- a/main/pcl6_msvc.mak
+++ b/main/pcl6_msvc.mak
@@ -209,6 +209,9 @@ MAIN_OBJ=$(PLOBJDIR)\plmain.$(OBJ) $(PLOBJDIR)\plimpl.$(OBJ) $(PLOBJDIR)\dwtrace
$(PLOBJDIR)\dwimg.$(OBJ) $(PLOBJDIR)\dwreg.$(OBJ)
!endif
!endif
+!ifndef REALMAIN_OBJ
+REALMAIN_OBJ=$(PLOBJDIR)\realmain.$(OBJ)
+!endif
!ifndef PCL_TOP_OBJ
PCL_TOP_OBJ=$(PCLOBJDIR)\pctop.$(OBJ)
!endif