]> andersk Git - moira.git/commitdiff
added students & personel & depend
authormar <mar>
Thu, 18 Jan 1990 14:07:22 +0000 (14:07 +0000)
committermar <mar>
Thu, 18 Jan 1990 14:07:22 +0000 (14:07 +0000)
regtape/Makefile

index be4e68afb4b0032985e084e535a5c5a3ce426cc6..fe235d0671c9b0b4e2f13f5702bc57c2a37d923a 100644 (file)
@@ -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
This page took 0.06635 seconds and 5 git commands to generate.