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: M T

⟦33e8e29f4⟧ TextFile

    Length: 2448 (0x990)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« 
        └─⟦ca79c7339⟧ 
            └─⟦this⟧ »DVIware/laser-setters/dvi-to-ps/maketd/Makefile« 

TextFile

# Makefile for maketd
#
# Author : Craig Norborg, Purdue University Computing Center

# Compile time options:
# SYSV		Compile for a SYSV system not using the nshpopen()
#		routines.  Note: This should work for all unix systems!
# pdp11 	Compile for a BSD2_9 or greater pdp11 OS.
# DEL_BACKUP 	Delete "Makefile.bak" after each run of maketd.
# CPP		Location of C preprocessor. (Default: CPP="/lib/cpp ")
# CPP_M		C preprocessor has a -M flag.
# M4		Location of m4 macro preprocessor(Default: M4="/usr/bin/m4 -M ")
# M4_M		m4 has a -M flag (Note: this is the only way to use it with m4)

BIN=	${DESTDIR}/usr/local/bin

I=/usr/include
S=/usr/include/sys
L=/usr/include/local

DEBUG=	-O
CDEFS=	-DCPP_M -DM4_M
INCLUDE= -I$L
CFLAGS=	${DEBUG} ${CDEFS} ${INCLUDE}
# And for pdp's (only)
#LDFLAGS= -i

# For Berkeley Systems or other systems that want nshpopen's speed enhancements
SRC=	abrv.c breakargs.c maketd.c misc.c nshpopen.c srtunq.c
HDR=	abrv.h maketd.h nshpopen.h srtunq.h
OBJ=	abrv.o breakargs.o maketd.o misc.o nshpopen.o srtunq.o

# For SYSV systems or other systems that won't work with nspopen()
#SRC=	abrv.c maketd.c misc.c srtunq.c
#HDR=	abrv.h maketd.h nshpopen.h srtunq.h
#OBJ=	abrv.o maketd.o misc.o srtunq.o

MAN=	maketd.1l nshpopen.3l srtunq.3l

all: maketd

maketd: ${OBJ}
	${CC} -o $@ ${CFLAGS} ${LDFLAGS} ${OBJ}

clean: FRC
	rm -f Makefile.bak maketd *.o a.out core errs lint.errs tags \
		maketd.shar

depend: ${HDR} ${SRC}
	maketd -a ${CDEFS} ${INCLUDE} ${SRC}

install: all 
	install -c -m 771 -s maketd ${BIN}

lint: ${HDR} ${SRC}
	lint -phxn ${CDEFS} ${INCLUDE} ${SRC}
	
print: source FRC
	lpr -p -Pstaff -J"Maketd Source" Makefile ${SRC} ${HDR}

shar: source FRC
	shar Makefile ${MAN} ${SRC} ${HDR} > maketd.shar

source: ${SRC} ${HDR} ${MAN}

spotless: clean
	rcsclean ${SRC} ${HDR} ${MAN}

tags: ${SRCS} ${HDR}
	ctags -t ${SRC} ${HDR}

${SRC} ${HDR} ${MAN}:
	co $@

FRC:

# DO NOT DELETE THIS LINE - make depend DEPENDS ON IT

abrv.o: $I/ctype.h $I/stdio.h abrv.c abrv.h maketd.h srtunq.h

breakargs.o: $I/stdio.h breakargs.c

maketd.o: $I/ctype.h $I/machine/param.h $I/signal.h $I/stdio.h $S/dir.h \
	$S/fcntl.h $S/file.h $S/param.h $S/sysmacros.h $S/types.h abrv.h \
	maketd.c maketd.h nshpopen.h srtunq.h

misc.o: $I/stdio.h $S/signal.h maketd.h misc.c

nshpopen.o: $I/signal.h $I/stdio.h nshpopen.c

srtunq.o: $I/stdio.h $S/sysmacros.h $S/types.h srtunq.c srtunq.h

# *** Do not add anything here - It will go away. ***