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

# Rules for the Interpress library: the literal and operator level routines
#
# Copyright (c) 1984, 1985 Xerox Corp.
#

DESTINCLUDE=../../../include
DESTLIB=../../../lib


libip.a: literal.o operator.o 
	ar r libip.a literal.o operator.o


# parts of the Interpress library

literal.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h
	$(CC) -c -I$(DESTINCLUDE) literal.c

operator.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h $(DESTINCLUDE)/operator.h
	$(CC) -c -I$(DESTINCLUDE) operator.c

llib-lip.ln: literal.c operator.c
	lint -Cip -I$(DESTINCLUDE) literal.c operator.c

# helpers

lint:
	lint -au -I$(DESTINCLUDE) literal.c operator.c

install: libip.a llib-lip.ln
	install -c libip.a  $(DESTLIB)
	ranlib $(DESTLIB)/libip.a
	install -c llib-lip.ln $(DESTLIB)

clean:
	rm -f libip.a llib-lip.ln *.o

unix.superglobalmegacorp.com

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