From 7f20c6002b682a995d36e6757bcbe70ab76bab90 Mon Sep 17 00:00:00 2001 From: mar Date: Thu, 18 Jan 1990 14:07:22 +0000 Subject: [PATCH] added students & personel & depend --- regtape/Makefile | 57 +++++++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 20 deletions(-) diff --git a/regtape/Makefile b/regtape/Makefile index be4e68af..fe235d06 100644 --- a/regtape/Makefile +++ b/regtape/Makefile @@ -6,37 +6,54 @@ # # Makefile for the sms stuff --mark roman 7/6/87 # -CFILES = adduser.c rafnu.c -OFILES = adduser.o rafnu.o -OUTP = regtape +CFILES = adduser.c rafnu.c students.c personel.c -DESTDIR = - -# Note that -lkrb is used, but not -ldes, since smsglue only calls -# get_krbrlm() - -LIBS = ../server/libsmsglue.a ../rpc/libsms.a -lcom_err -lkrb \ +LIBS = -L../lib -lsms -lgdb -lcom_err -lzephyr -lkrb -ldes \ /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib -CFLAGS = -I../include -L../lib +CFLAGS = -I../include + +.SUFFIXES: .qc -all: $(OUTP) +.qc.c: + rm -f $*.c + /usr/rtingres/bin/eqc -p $* -debug: - cc $(CFLAGS) -DDEBUG -c adduser.c +all: regtape students personel +regtape: adduser.o rafnu.o + cc -o regtape adduser.o rafnu.o ../server/libsmsglue.a $(LIBS) -$(OUTP): $(OFILES) - cc -o $(OUTP) $(CFLAGS) $(OFILES) $(LIBS) +students: students.o rafnu.o + cc -o students students.o rafnu.o $(LIBS) -ci: - ci $(CFILES) +personel: personel.o rafnu.o + cc -o personel personel.o rafnu.o $(LIBS) clean: - rm -f $(OUTP) $(OFILES) core + rm -f regtape students personal core rm -f *~ *.o lint: lint $(CFILES) -install: - install regtape ../bin/regtape +install: regtape students personel + install -c regtape ../bin/regtape + install -c students ../bin/students + install -c personel ../bin/personel + +depend: ${CFILES} + mkdep ${CFLAGS} ${CFILES} + +# DO NOT DELETE THIS LINE -- mkdep uses it. + +adduser.o: adduser.c /usr/include/stdio.h /usr/include/sys/time.h +adduser.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h +rafnu.o: rafnu.c /usr/include/stdio.h /usr/include/ctype.h +students.o: students.c /usr/include/stdio.h /usr/include/strings.h +students.o: /usr/include/ctype.h /usr/include/sys/time.h +students.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h +students.o: ../include/sms_app.h ../include/mit-copyright.h +personel.o: personel.c /usr/include/stdio.h /usr/include/strings.h +personel.o: /usr/include/ctype.h /usr/include/sys/time.h +personel.o: /usr/include/sys/time.h ../include/sms.h ../include/sms_et.h +personel.o: ../include/sms_app.h ../include/mit-copyright.h -- 2.45.2