]>
Commit | Line | Data |
---|---|---|
45ee4fc3 | 1 | # |
2 | # $Source$ | |
3 | # $Header$ | |
4 | # | |
5 | ||
6 | # | |
7 | # Makefile for the sms stuff --mark roman 7/6/87 | |
8 | # | |
7f20c600 | 9 | CFILES = adduser.c rafnu.c students.c personel.c |
45ee4fc3 | 10 | |
7f20c600 | 11 | LIBS = -L../lib -lsms -lgdb -lcom_err -lzephyr -lkrb -ldes \ |
45ee4fc3 | 12 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib |
7f20c600 | 13 | CFLAGS = -I../include |
14 | ||
15 | .SUFFIXES: .qc | |
45ee4fc3 | 16 | |
7f20c600 | 17 | .qc.c: |
18 | rm -f $*.c | |
19 | /usr/rtingres/bin/eqc -p $* | |
45ee4fc3 | 20 | |
7f20c600 | 21 | all: regtape students personel |
45ee4fc3 | 22 | |
7f20c600 | 23 | regtape: adduser.o rafnu.o |
24 | cc -o regtape adduser.o rafnu.o ../server/libsmsglue.a $(LIBS) | |
45ee4fc3 | 25 | |
7f20c600 | 26 | students: students.o rafnu.o |
27 | cc -o students students.o rafnu.o $(LIBS) | |
45ee4fc3 | 28 | |
7f20c600 | 29 | personel: personel.o rafnu.o |
30 | cc -o personel personel.o rafnu.o $(LIBS) | |
45ee4fc3 | 31 | |
32 | clean: | |
01c02f3b | 33 | rm -f regtape students personel core |
34 | rm -f students.c personel.c | |
45ee4fc3 | 35 | rm -f *~ *.o |
36 | ||
37 | lint: | |
38 | lint $(CFILES) | |
39 | ||
7f20c600 | 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 |