include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.lwp
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
RPCINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/rx/rx.h bosint.h
${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
+all: bosserver ${TOP_INCDIR}/afs/bosint.h bos ${TOP_LIBDIR}/libbos.a bos_util \
+ smail-notifier
generated: bosint.ss.c bosint.xdr.c bosint.cs.c bosint.h bnode.h boserr.c
bosint.ss.c: bosint.h
bosint.xdr.c: bosint.h
-bnode.h: boserr.c
-
-boserr.c: bnode.p.h boserr.et
+boserr.c bnode.h: bnode.p.h boserr.et
$(RM) -f boserr.c bnode.h
${COMPILE_ET} -p ${srcdir} boserr -h bnode
+bnode.h: boserr.c
bosserver.o: bosserver.c ${INCLS} 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
#
# Misc. targets
#
clean:
- $(RM) -f *.a *.o bos bosserver testproc bos_util \
+ $(RM) -f *.a *.o bos bosserver smail-notifier bos_util \
bosint.cs.c bosint.ss.c bosint.xdr.c bosint.h \
core boserr.c bnode.h AFS_component_version_number.c