|
|
1.1 root 1: #
2: # $Source: /u1/X/libis/RCS/Makefile,v $
3: # $Header: Makefile,v 1.1 86/11/17 14:35:18 swick Rel $
4: #
5:
6: # Copyright (c) 1986 by Integrated Solutions, Inc.
7: #
8: # Makefile for X Windows (Version 10) driver for Integrated Solutions
9: # Optimum V WorkStations.
10: #
11:
12: INCPATH=-I. -I../include
13: OPT= -O
14: #OPT= -O -DDEBUG
15: CFLAGS= ${OPT} ${INCPATH}
16:
17: SRCS= bitpix.c copy.c cursor.c display.c draw.c events.c fill.c font.c \
18: misc.c put.c text.c tile.c util.c debug.c
19:
20: OBJS= bitpix.o copy.o cursor.o display.o draw.o events.o fill.o font.o \
21: misc.o put.o text.o tile.o util.o debug.o
22:
23: all: libis.a
24:
25: font.o: vssite.h
26: event.o: lk201.h
27: ${OBJS}: Xis.h ../X/X.h ../X/vsinput.h ../X/Xdev.h
28:
29: # This library is private to X; do nothing on install.
30: # Well ... go ahead and make the lint library.
31:
32: install: all lint
33:
34: lint:
35: lint -Cis *.c
36:
37: libis.a: $(OBJS)
38: ar r libis.a $?
39: @ranlib libis.a
40:
41: clean:
42: rm -f ERRS *.o libis.a *~ *.ln
43:
44: # This make depend entry will only work with newer C compiler than 4.2.
45: depend:
46: cc -M ${INCPATH} ${SRCS} | \
47: awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
48: else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
49: else rec = rec " " $$2 } } \
50: END { print rec } ' > makedep
51: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
52: echo '$$r makedep' >>eddep
53: echo 'w' >>eddep
54: cp Makefile Makefile.bak
55: ed - Makefile < eddep
56: rm eddep makedep
57: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
58: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
59: echo '# see make depend above' >> Makefile
60:
61: # 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.