summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2001-08-03 17:20:00 +0000
committerHenry Stiles <henry.stiles@artifex.com>2001-08-03 17:20:00 +0000
commitd7c9d5902ebf73ae59eb0d89384149b8b3f16324 (patch)
tree6b9beb4f54074aa51d3e5c8238b4c4e188e81fc5 /common
parentab46e6253578d43572e15ce7a0b3b3bcd72b8eea (diff)
removes obsolete makefile and gets rid of LD_LIBRARY_PATH - thanks to
Raph for pointing out this security problem already fixed in gs. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1440 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'common')
-rw-r--r--common/sgi_top.mak80
-rw-r--r--common/ugcc_top.mak2
2 files changed, 1 insertions, 81 deletions
diff --git a/common/sgi_top.mak b/common/sgi_top.mak
deleted file mode 100644
index 886f829b7..000000000
--- a/common/sgi_top.mak
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright (C) 1997, 1998 Aladdin Enterprises. All rights reserved.
-# Unauthorized use, copying, and/or distribution prohibited.
-
-# sgi_top.mak
-# Generic top-level makefile for Silicon Graphics Irix 6.* platforms.
-
-SHELL = /bin/sh
-
-# The product-specific top-level makefile defines the following:
-#
-# MAKEFILE, CCLD, COMMONDIR, CONFIG, DEVICE_DEVS, GCFLAGS, GENDIR
-# GLSRCDIR, GLGENDIR, GLOBJDIR,
-# MAIN_OBJ, TARGET_DEVS, TARGET_XE
-#
-# It also must include the product-specific *.mak.
-
-default: $(TARGET_XE)
-
-# Platform specification
-include $(COMMONDIR)/sgidefs.mak
-include $(COMMONDIR)/unixdefs.mak
-include $(COMMONDIR)/generic.mak
-
-# Configure for debugging
-debug:
- make GENOPT='-DDEBUG'
-
-# Configure for profiling
-pg-fp:
- make GENOPT='' \
- CFLAGS='-pg -O2 $(CDEFS) $(SGICFLAGS) $(XCFLAGS)' \
- LDFLAGS='$(XLDFLAGS) -pg'
-
-# Configure for optimization (product configuration)
-product:
- make GENOPT='' \
- CFLAGS='-O2 $(CDEFS) $(SGICFLAGS) $(XCFLAGS)' \
- FPU_TYPE=1 \
- XOBJS='$(GLOBJDIR)/gsfemu.o'
-
-# Build the required GS library files.
-# It's simplest always to build the floating point emulator,
-# even though we don't always link it in.
-$(GENDIR)/ldl$(CONFIG).tr: $(MAKEFILE)
- -mkdir $(GLGENDIR)
- -mkdir $(GLOBJDIR)
- make \
- SGICFLAGS='$(SGICFLAGS)' FPU_TYPE='$(FPU_TYPE)' \
- CONFIG='$(CONFIG)' \
- FEATURE_DEVS='$(FEATURE_DEVS)' \
- DEVICE_DEVS='$(DEVICE_DEVS) $(DD)bbox.dev' \
- BAND_LIST_STORAGE=memory BAND_LIST_COMPRESSOR=zlib \
- GLSRCDIR='$(GLSRCDIR)' \
- GLGENDIR='$(GLGENDIR)' GLOBJDIR='$(GLOBJDIR)' \
- -f $(GLSRCDIR)/sgicclib.mak \
- $(GLOBJDIR)/ld$(CONFIG).tr \
- $(GLOBJDIR)/gsargs.o $(GLOBJDIR)/gsfemu.o \
- $(GLOBJDIR)/gconfig$(CONFIG).o $(GLOBJDIR)/gscdefs$(CONFIG).o
- cp $(GLOBJDIR)/ld$(CONFIG).tr $(GENDIR)/ldl$(CONFIG).tr
-
-# Build the configuration file.
-$(GENDIR)/pconf$(CONFIG).h $(GENDIR)/ldconf$(CONFIG).tr: $(TARGET_DEVS) \
- $(GLOBJDIR)/genconf$(XE)
- $(GLOBJDIR)/genconf -n - $(TARGET_DEVS) -h $(GENDIR)/pconf$(CONFIG).h \
- -p "%s&s&&" -o $(GENDIR)/ldconf$(CONFIG).tr
-
-# Link a Unix executable.
-$(TARGET_XE): $(GENDIR)/ldl$(CONFIG).tr $(GENDIR)/ldconf$(CONFIG).tr $(MAIN_OBJ)
- $(ECHOGS_XE) -w $(GENDIR)/ldt.tr -n - $(CCLD) $(LDFLAGS) $(XLIBDIRS)\
- -o $(TARGET_XE)
- $(ECHOGS_XE) -a $(GENDIR)/ldt.tr -n -s \
- $(GLOBJDIR)/gsargs.o \
- $(GLOBJDIR)/gconfig$(CONFIG).o \
- $(GLOBJDIR)/gscdefs$(CONFIG).o \
- -s
- $(ECHOGS_XE) -a ldt.tr -n -s $(XOBJS) -s
- cat $(GENDIR)/ldl$(CONFIG).tr $(GENDIR)/ldconf$(CONFIG).tr \
- >> $(GENDIR)/ldt.tr
- $(ECHOGS_XE) -a $(GENDIR)/ldt.tr -s - $(MAIN_OBJ) $(EXTRALIBS) -lm
- LD_RUN_PATH=$(XLIBDIR); export LD_RUN_PATH; sh < $(GENDIR)/ldt.tr
diff --git a/common/ugcc_top.mak b/common/ugcc_top.mak
index abe0db338..5987d79f9 100644
--- a/common/ugcc_top.mak
+++ b/common/ugcc_top.mak
@@ -85,4 +85,4 @@ $(TARGET_XE): $(GENDIR)/ldgs.tr $(GENDIR)/ldconf.tr $(MAIN_OBJ) $(TOP_OBJ)
$(ECHOGS_XE) -a $(GENDIR)/ldall.tr -n -s $(XOBJS) -s
cat $(GENDIR)/ldgs.tr $(GENDIR)/ldconf.tr >>$(GENDIR)/ldall.tr
$(ECHOGS_XE) -a $(GENDIR)/ldall.tr -s - $(MAIN_OBJ) $(EXTRALIBS) $(STDLIBS)
- LD_RUN_PATH=$(XLIBDIR); export LD_RUN_PATH; sh <$(GENDIR)/ldall.tr
+ sh <$(GENDIR)/ldall.tr