|
|
1.1 root 1: #
2: # $Header: Makefile,v 10.1 86/11/29 13:54:07 jg Rel $
3: #
4:
5: #
6: # $Header: Makefile,v 10.1 86/11/29 13:54:07 jg Rel $
7: #
8:
9: # Copyright 1985, Massachusetts Institute of Technology
10: # Copyright (c) 1986 by Sun Microsystems, Inc.
11: #
12: # @(#)Makefile 2.1 86/01/28
13: #
14:
15: INCPATH=-I. -I../include
16: OFLAG= -O
17: CFLAGS= ${OFLAG} ${INCPATH}
18: #CFLAGS= -g ${INCPATH}
19: C2 = /lib/c2
20:
21: SRCS= bitpix.c copy.c cursor.c draw.c fill.c font.c\
22: maps.c packet.c put.c text.c textutil.c tile.c util.c\
23: events.c initial.c maps.c prim.c
24:
25: OBJS= bitpix.o copy.o cursor.o draw.o fill.o font.o\
26: put.o text.o textutil.o tile.o util.o\
27: events.o initial.o maps.o prim.o
28:
29: all: libapollo.a
30:
31: site:
32: rm -f font.o
33:
34: font.o: vssite.h ../libvs100/param.h
35: ${OBJS}: Xapollo.h ../X/X.h ../X/vsinput.h ../X/Xdev.h
36:
37: # as this library is private to X, we should do nothing on install.
38:
39: install: all
40:
41: lint:
42: lint -Capollo *.c
43:
44: libapollo.a: $(OBJS)
45: ar r libapollo.a $?
46: @ranlib libapollo.a
47:
48: clean:
49: rm -f ERRS *.o libapollo.a *~
50:
51: # This make depend entry will only work with newer C compiler than 4.2
52: depend:
53: cc -M ${INCPATH} ${SRCS} | \
54: awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
55: else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
56: else rec = rec " " $$2 } } \
57: END { print rec } ' > makedep
58: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
59: echo '$$r makedep' >>eddep
60: echo 'w' >>eddep
61: cp Makefile Makefile.bak
62: ed - Makefile < eddep
63: rm eddep makedep
64: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
65: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
66: echo '# see make depend above' >> Makefile
67:
68: # DO NOT DELETE THIS LINE -- make depend uses it
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.