]> andersk Git - moira.git/commitdiff
added libraries
authormar <mar>
Tue, 30 Aug 1988 17:08:12 +0000 (17:08 +0000)
committermar <mar>
Tue, 30 Aug 1988 17:08:12 +0000 (17:08 +0000)
gen/Makefile

index bf28cfe47dd9a7765c4057f46453ef7371c48cfd..bb04809b60e4611d3ac682604c5228a716e76dfc 100644 (file)
@@ -1,37 +1,45 @@
 # $Header$
 
-INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
-CFLAGS= -I../include
+LIBS= -L../lib -lsms -lcom_err -lzephyr -lkrb -ldes \
+        /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
+CFLAGS= -I../include -O
 .SUFFIXES: .qc
 
 .qc.c: 
        rm -f $*.c
        /usr/rtingres/bin/eqc -p $*
 
-all: passwd.gen aliases.gen hesiod.gen
+all: passwd.gen aliases.gen hesiod.gen nfs.gen
 
 passwd.gen: passwd.o util.o
-       cc -o passwd.gen passwd.o util.o ${INGLIB}
+       cc -o passwd.gen passwd.o util.o ${LIBS}
 
 passwd.o: passwd.c
 
 aliases.gen: aliases.o util.o
-       cc -o aliases.gen aliases.o util.o ../lib/libsms.a ${INGLIB}
+       cc -o aliases.gen aliases.o util.o ${LIBS}
 
 aliases.o: aliases.c
 
 hesiod.gen: hesiod.o util.o
-       cc -o hesiod.gen hesiod.o util.o ../lib/libsms.a ${INGLIB}
+       cc -o hesiod.gen hesiod.o util.o ${LIBS}
 
 hesiod.o: hesiod.c
 
+nfs.gen: nfs.o util.o
+       cc -o nfs.gen nfs.o util.o ${LIBS}
+
+nfs.o: nfs.c
+
 clean:
        rm -f *.o 
        rm -f passwd.c passwd.gen
        rm -f aliases.c aliases.gen
        rm -f hesiod.c hesiod.gen
+       rm -f nfs.c nfs.gen
 
 install: all
        install passwd.gen ../bin
        install aliases.gen ../bin
        install hesiod.gen ../bin
+       install nfs.gen ../bin
This page took 0.044587 seconds and 5 git commands to generate.