1Fix parallel build dependency issue 2 3If building with make -j2 the lib.a will not get built in time. 4 5Jason Wessel <jason.wessel@windriver.com> 6 7Upstream-Status: Submitted http://sourceforge.net/p/unfs3/bugs/5/ 8 9--- 10 Config/Makefile.in | 3 +++ 11 Makefile.in | 3 ++- 12 2 files changed, 5 insertions(+), 1 deletion(-) 13 14--- a/Makefile.in 15+++ b/Makefile.in 16@@ -29,7 +29,8 @@ DESTDIR = 17 18 VPATH = $(srcdir) 19 20-all: subdirs unfsd$(EXEEXT) 21+all: subdirs 22+ $(MAKE) unfsd$(EXEEXT) 23 24 unfsd$(EXEEXT): $(OBJS) $(CONFOBJ) $(EXTRAOBJ) 25 $(CC) -o $@ $(OBJS) $(CONFOBJ) $(EXTRAOBJ) $(LDFLAGS) 26--- a/Config/Makefile.in 27+++ b/Config/Makefile.in 28@@ -16,6 +16,9 @@ lib.a: $(OBJS) 29 $(AR) crs lib.a $(OBJS) 30 31 y.tab.h y.tab.c: $(srcdir)/exports.y 32+y.tab.h: y.tab.c 33+ 34+y.tab.c: $(srcdir)/exports.y 35 $(YACC) -d $(srcdir)/exports.y 36 37 y.tab.o: y.tab.c $(srcdir)/exports.h $(top_srcdir)/nfs.h $(top_srcdir)/mount.h $(top_srcdir)/daemon.h 38