summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2001-06-18 20:12:12 +0000
committerHenry Stiles <henry.stiles@artifex.com>2001-06-18 20:12:12 +0000
commit478746ee3a5ca00dc80d0a25b016c0a67a4a8ea3 (patch)
tree22358ace7d476754ce43958766b33e18a2b5c941 /common
parent741d48b14c4d5c397ce72247d6853a1f9ce792da (diff)
linking modifications for the agfa libraries.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1374 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'common')
-rw-r--r--common/msvc_top.mak21
1 files changed, 18 insertions, 3 deletions
diff --git a/common/msvc_top.mak b/common/msvc_top.mak
index 4405f8648..a9bfff87c 100644
--- a/common/msvc_top.mak
+++ b/common/msvc_top.mak
@@ -28,7 +28,7 @@ clean_gs:
GLOBJDIR=$(GLOBJDIR) clean
erase $(TARGET_XE).ilk
erase $(TARGET_XE).pdb
-
+
# Define names of utility programs
AUXGENDIR=$(GLGENDIR)
AUXGEN=$(AUXGENDIR)$(D)
@@ -97,7 +97,22 @@ $(GENDIR)\ldall.tr: $(MAKEFILE) $(GENDIR)\ldgs.tr $(GENDIR)\ldconf.tr
echo $(GLOBJDIR)\gscdefs.$(OBJ) >>$(GENDIR)\ldall.tr
$(CP_) $(GENDIR)\ldall.tr+$(GENDIR)\ldconf.tr $(GENDIR)\ldall.tr
+!IF "$(PL_FONT_SCALER)" == "ufst"
+# HACK in the AGFA STUFF here.
+
+FONTLIB=$(GENDIR)\fontlib.tr
+
+
+# I have no idea what NODEFAULTLIB means.
+$(FONTLIB): $(MAKEFILE)
+ echo /NODEFAULTLIB:LIBC.lib > $(FONTLIB)
+ echo $(UFST_LIBDIR)\fco_lib.lib >>$(FONTLIB)
+ echo $(UFST_LIBDIR)\if_lib.lib >>$(FONTLIB)
+ echo $(UFST_LIBDIR)\tt_lib.lib >>$(FONTLIB)
+!ELSE
+FONTLIB=
+!ENDIF
-$(TARGET_XE)$(XE): $(GENDIR)\ldall.tr $(MAIN_OBJ) $(TOP_OBJ) $(LIBCTR)
+$(TARGET_XE)$(XE): $(GENDIR)\ldall.tr $(MAIN_OBJ) $(TOP_OBJ) $(LIBCTR) $(FONTLIB)
$(LINK_SETUP)
- $(LINK) $(LCT) /OUT:$(TARGET_XE)$(XE) $(MAIN_OBJ) $(TOP_OBJ) @$(GENDIR)\ldall.tr @$(LIBCTR)
+ $(LINK) $(LCT) /OUT:$(TARGET_XE)$(XE) $(MAIN_OBJ) $(TOP_OBJ) @$(GENDIR)\ldall.tr @$(LIBCTR) @$(FONTLIB)