bos: remove smail-notifier
[openafs.git] / src / bozo / Makefile.in
index 69ec46c..a8916cc 100644 (file)
@@ -34,17 +34,18 @@ LIBS=   ${TOP_LIBDIR}/librx.a \
        ${TOP_LIBDIR}/librx.a \
        ${TOP_LIBDIR}/liblwp.a \
        ${TOP_LIBDIR}/libafscom_err.a \
+       ${TOP_LIBDIR}/libaudit.a \
        ${TOP_LIBDIR}/util.a \
        ${TOP_LIBDIR}/libopr.a \
        ${TOP_LIBDIR}/libsys.a \
        ${TOP_LIBDIR}/libprocmgmt.a \
+       ${TOP_LIBDIR}/libafsrfc3961.a \
        ${TOP_LIBDIR}/libafshcrypto_lwp.a
 
 OBJS=bosserver.o bnode.o ezbnodeops.o fsbnodeops.o bosint.ss.o bosint.xdr.o \
 bosoprocs.o cronbnodeops.o
 
-all: bosserver ${TOP_INCDIR}/afs/bosint.h bos ${TOP_LIBDIR}/libbos.a bos_util \
-    smail-notifier
+all: bosserver ${TOP_INCDIR}/afs/bosint.h bos ${TOP_LIBDIR}/libbos.a bos_util
 
 generated: bosint.ss.c bosint.xdr.c bosint.cs.c bosint.h bnode.h boserr.c
 
@@ -79,11 +80,19 @@ bosint.cs.c: bosint.h
 bosint.ss.c: bosint.h
 bosint.xdr.c: bosint.h
 
-bnode.h: boserr.c
+boserr.c: boserr.et
+       ${COMPILE_ET_C} -p ${srcdir} boserr
 
-boserr.c: bnode.p.h boserr.et
-       $(RM) -f boserr.c bnode.h
-       ${COMPILE_ET} -p ${srcdir} boserr -h bnode
+bnode.h: bnode.p.h boserr.et
+       ${COMPILE_ET_H} -p ${srcdir} boserr -h bnode
+
+bnode.o: bnode.h
+bos.o: bnode.h
+bosoprocs.o: bnode.h
+bosserver.o: bnode.h
+cronbnodeops.o: bnode.h
+ezbnodeops.o: bnode.h
+fsbnodeops.o: bnode.h
 
 bosserver.o: bosserver.c ${INCLS} AFS_component_version_number.o
 
@@ -113,14 +122,9 @@ libbos.a: bosint.xdr.o bosint.cs.o boserr.o AFS_component_version_number.o
        $(RANLIB) $@
 
 bosserver: $(OBJS) $(LIBS)
-       $(AFS_LDRULE) $(OBJS) ${TOP_LIBDIR}/libaudit.a \
+       $(AFS_LDRULE) $(OBJS) \
                $(LIBS) $(LIB_roken) $(LIB_crypt) ${XLIBS}
 
-smail-notifier.o: smail-notifier.c ${INCLS}
-
-smail-notifier: smail-notifier.o $(LIBS)
-       $(AFS_LDRULE) smail-notifier.o $(LIBS) $(LIB_roken) ${XLIBS}
-
 #
 # Install targets
 #
@@ -155,12 +159,13 @@ dest: bosserver bos bos_util libbos.a bosint.h bnode.h
 # Misc. targets
 #
 clean:
-       $(RM) -f  *.a *.o bos bosserver smail-notifier bos_util \
+       $(RM) -f  *.a *.o bos bosserver bos_util \
                bosint.cs.c bosint.ss.c bosint.xdr.c bosint.h \
-               core boserr.c bnode.h AFS_component_version_number.c 
+               core boserr.c bnode.h AFS_component_version_number.c
 
-test: 
-       cd test; $(MAKE) 
+.PHONY: test
+test:
+       cd test && $(MAKE)
 
 include ../config/Makefile.version