File:  [CSRG BSD Unix] / 43BSD / contrib / X / xpr / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#
# Copyright 1985, Massacusetts Institute of Technology
#
DESTDIR=
CONFDIR= /usr/new
INCLUDES= -I../include
CFLAGS = -O ${INCLUDES}
XLIB= ../Xlib/libX.a
C2=/lib/c2

# if you are not on a 68000 or a Vax, take the next three lines out
# and add -DNOINLINE to CFLAGS above
.c.o:
	${CC} ${CFLAGS} -S $*.c
	${C2} $*.s | ../inline/inline | ${AS} -o $*.o
	rm -f $*.s

all: xpr

install: all
	install xpr ${DESTDIR}${CONFDIR}
	install -c xdpr.script ${DESTDIR}${CONFDIR}/xdpr

xpr: xpr.o ../Xlib/Xlib.h
	${CC} ${CFLAGS} -o xpr xpr.o

xpr.o: lncmd.h

clean:
	rm -f xpr *~ *.o \#*


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.