]> andersk Git - moira.git/blobdiff - gen/Makefile
change members to imembers
[moira.git] / gen / Makefile
index bf28cfe47dd9a7765c4057f46453ef7371c48cfd..19e9bc2cd2470b1def59b1fe727cdf9674a77490 100644 (file)
@@ -1,37 +1,56 @@
 # $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 mailhub.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
+
+mailhub.gen: mailhub.o util.o
+       cc -o mailhub.gen mailhub.o util.o ${LIBS}
+
+mailhub.o: mailhub.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
+       rm -f mailhub.c mailhub.gen
 
 install: all
-       install passwd.gen ../bin
-       install aliases.gen ../bin
-       install hesiod.gen ../bin
+       install -c passwd.gen ../bin
+       install -c aliases.gen ../bin
+       install -c hesiod.gen ../bin
+       install -c nfs.gen ../bin
+       install -c aliases.sh ../bin
+       install -c hesiod.sh ../bin
+       install -c install_dirs ../bin
+       install -c install_quotas ../bin
+       install -c nfs.sh ../bin
This page took 0.055478 seconds and 4 git commands to generate.