]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/Makefile
More automake stuff
[nfs-utils.git] / utils / statd / Makefile
index 211e22da5c371a8ba1849b543075271916797bc2..6301d27c12506f26f61b34a99f2d64bbe969738c 100644 (file)
@@ -3,6 +3,7 @@
 #
 # NSM for Linux.
 
+TOP    = ../../
 # Uncomment for embedded client-side simulation functions.
 #SIMUL = -DSIMULATIONS
 
@@ -16,7 +17,7 @@ PROGRAM       = statd
 PREFIX = rpc.
 OBJS   = $(SRCS:.c=.o)
 CCOPTS = $(DEBUG) $(SIMUL)
-LIBS   = -lexport -lmisc $(LIBWRAP) $(LIBNSL)
+LIBS   = -lexport -lnfs -lmisc $(LIBWRAP) $(LIBNSL)
 
 SRCS   = $(RPCSRCS) $(SIMSRCS) \
          callback.c notlist.c log.c misc.c monitor.c notify.c simu.c \
@@ -56,3 +57,5 @@ clean::
 
 distclean::
        $(RM) $(RPCHDRS) $(RPCSRCS) $(SIMHDRS) $(SIMSRCS)
+
+predep:: $(RPCHDRS) $(RPCSRCS)