summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2001-06-19 05:55:37 +0000
committerHenry Stiles <henry.stiles@artifex.com>2001-06-19 05:55:37 +0000
commitc8c795435def832a39671b783a6841a7a1a63856 (patch)
tree5bf16fea99455d0ddaba58a222593c2091047764 /common
parent478746ee3a5ca00dc80d0a25b016c0a67a4a8ea3 (diff)
MSVC will not allow an empty file in a link file. Problem introduced with
agfa integration. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1375 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'common')
-rw-r--r--common/msvc_top.mak15
1 files changed, 8 insertions, 7 deletions
diff --git a/common/msvc_top.mak b/common/msvc_top.mak
index a9bfff87c..0846c1a28 100644
--- a/common/msvc_top.mak
+++ b/common/msvc_top.mak
@@ -97,22 +97,23 @@ $(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
+# AGFA Workaround to add needed ufst font libraries.
!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) $(FONTLIB)
$(LINK_SETUP)
$(LINK) $(LCT) /OUT:$(TARGET_XE)$(XE) $(MAIN_OBJ) $(TOP_OBJ) @$(GENDIR)\ldall.tr @$(LIBCTR) @$(FONTLIB)
+
+!ELSE
+$(TARGET_XE)$(XE): $(GENDIR)\ldall.tr $(MAIN_OBJ) $(TOP_OBJ) $(LIBCTR)
+ $(LINK_SETUP)
+ $(LINK) $(LCT) /OUT:$(TARGET_XE)$(XE) $(MAIN_OBJ) $(TOP_OBJ) @$(GENDIR)\ldall.tr @$(LIBCTR) @$(FONTLIB)
+
+!ENDIF