]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # $Source$ | |
3 | # $Header$ | |
4 | # | |
5 | ||
6 | # | |
7 | # Makefile for the sms stuff --mark roman 7/6/87 | |
8 | # | |
9 | CFILES = adduser.c rafnu.c students.c personel.c | |
10 | ||
11 | LIBS = -L../lib -lsms -lgdb -lcom_err -lzephyr -lkrb -ldes \ | |
12 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib | |
13 | CFLAGS = -I../include | |
14 | ||
15 | .SUFFIXES: .qc | |
16 | ||
17 | .qc.c: | |
18 | rm -f $*.c | |
19 | /usr/rtingres/bin/eqc -p $* | |
20 | ||
21 | all: regtape students personel | |
22 | ||
23 | regtape: adduser.o rafnu.o | |
24 | cc -o regtape adduser.o rafnu.o ../server/libsmsglue.a $(LIBS) | |
25 | ||
26 | students: students.o rafnu.o | |
27 | cc -o students students.o rafnu.o $(LIBS) | |
28 | ||
29 | personel: personel.o rafnu.o | |
30 | cc -o personel personel.o rafnu.o $(LIBS) | |
31 | ||
32 | clean: | |
33 | rm -f regtape students personel core | |
34 | rm -f students.c personel.c | |
35 | rm -f *~ *.o | |
36 | ||
37 | lint: | |
38 | lint $(CFILES) | |
39 | ||
40 | install: regtape students personel | |
41 | install -c regtape ../bin/regtape | |
42 | install -c students ../bin/students | |
43 | install -c personel ../bin/personel | |
44 | ||
45 | depend: ${CFILES} | |
46 | mkdep ${CFLAGS} ${CFILES} | |
47 | ||
48 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
49 | ||
50 | adduser.o: adduser.c /usr/include/stdio.h /usr/include/sys/time.h | |
51 | adduser.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h | |
52 | rafnu.o: rafnu.c /usr/include/stdio.h /usr/include/ctype.h | |
53 | students.o: students.c /usr/include/stdio.h /usr/include/strings.h | |
54 | students.o: /usr/include/ctype.h /usr/include/sys/time.h | |
55 | students.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h | |
56 | students.o: ../include/sms_app.h ../include/mit-copyright.h | |
57 | personel.o: personel.c /usr/include/stdio.h /usr/include/strings.h | |
58 | personel.o: /usr/include/ctype.h /usr/include/sys/time.h | |
59 | personel.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h | |
60 | personel.o: ../include/sms_app.h ../include/mit-copyright.h |