DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m u

⟦3424e9a98⟧ TextFile

    Length: 3085 (0xc0d)
    Types: TextFile
    Names: »makefile«, »ux-cc-x.mak«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦ff23ba0e6⟧ »./ghostscript-1.3.tar.Z« 
        └─⟦a24a58cd3⟧ 
            └─⟦this⟧ »makefile« 
            └─⟦this⟧ »ux-cc-x.mak« 

TextFile

#    Copyright (C) 1989 Aladdin Enterprises.  All rights reserved.
#    Distributed by Free Software Foundation, Inc.
#
# This file is part of Ghostscript.
#
# Ghostscript is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
# to anyone for the consequences of using it or for whether it serves any
# particular purpose or works at all, unless he says so in writing.  Refer
# to the Ghostscript General Public License for full details.
#
# Everyone is granted permission to copy, modify and redistribute
# Ghostscript, but only under the conditions described in the Ghostscript
# General Public License.  A copy of this license is supposed to have been
# given to you along with Ghostscript so you can know your rights and
# responsibilities.  It should be in a file named COPYING.  Among other
# things, the copyright notice and this notice must be preserved on all
# copies.

# makefile for Ghostscript, Unix/cc/X11 configuration.

# ------------------------------- Options ------------------------------- #

####### The following are the only parts of the file you should need to edit.

# Define the debugging flags (passed to cc).
# -DDEBUG enables debugging features in the language interpreter.
# -Dgs_DEBUG enables debugging features in the library.

CCDEBUG=

# Define the other compilation flags.
# Add -DBSD4_2 for 4.2bsd systems.
# Add -DSYSV for System V.

CFLAGS=-O

# Define platform flags for ld.
# The following are appropriate for Sun OS4.0.

LDPLAT=-Bstatic

# ---------------------------- End of options --------------------------- #

# Define the extensions for the object and executable files.

OBJ=o
XE=

# Define the compilation rules.

.c.o:
	ansi2knr $*.c _temp_.c
	$(CC) $(CFLAGS) $(CCDEBUG) -c _temp_.c
	mv _temp_.o $*.o

CCNA=./ccgs "$(CC) $(CFLAGS) $(CCDEBUG)" _temp_.c

# --------------------------- Generic makefile ---------------------------- #

include ghost.mak

# ---------------------------- Device drivers ---------------------------- #

## The X.11 device

DEVX=gdevx.$(OBJ)

gdevx.$(OBJ): gdevx.c gx.h gxdevice.h

# -------------------------------- Library -------------------------------- #

## The bsd platform

PLATBSD=gp-bsd.$(OBJ)

gp-bsd.$(OBJ): gp-bsd.c

# Choose the output device

DEVFORUNIX=$(DEVX)
LIBUNIX=$(LIB) $(DEVFORUNIX) $(PLATBSD)

gs_lib.o: $(LIBUNIX)
	ld $(LDPLAT) -r -X -o gs_lib.o $(LIBUNIX) -lX11 -lm

gs_lib0.o: $(LIB)
	ld $(LDPLAT) -r -X -o gs_lib0.o $(LIB)

# ----------------------------- Main program ------------------------------ #

# (Dummy) tracing package

utrace.o: utrace.c

# Library test programs

x: x.$(OBJ) gdevx.$(OBJ)
	$(CC) $(LDPLAT) -X -o x x.$(OBJ) gdevx.$(OBJ) -lX11 -lm

GTUNIX=gt.$(OBJ) gsmain.$(OBJ) utrace.$(OBJ) gs_lib0.$(OBJ) \
 $(PLATBSD) $(DEVFORUNIX)
gt: $(GTUNIX)
	$(CC) $(CFLAGS) $(LDPLAT) -X -o gt $(GTUNIX) -lX11 -lm

# Interpreter main program

GSUNIX=gs.$(OBJ) gsmain.$(OBJ) utrace.$(OBJ) $(INT) gs_lib0.$(OBJ) \
 $(PLATBSD) $(DEVFORUNIX)
gs: $(GSUNIX)
	$(CC) $(CFLAGS) $(LDPLAT) -X -o gs $(GSUNIX) -lX11 -lm