Whamcloud - gitweb
Fix parallel (make -j) build
authorMatthias Andree <matthias.andree@gmx.de>
Fri, 11 May 2012 23:14:30 +0000 (19:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 May 2012 02:13:29 +0000 (22:13 -0400)
Add a few dependencies where needed, so that "make -j17 check" now
works.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Makefile.in
lib/uuid/Makefile.in

index 7c5d441..544ed02 100644 (file)
@@ -73,6 +73,8 @@ install-libs: install-libs-recursive
 
 uninstall-libs: uninstall-libs-recursive
 
+check-recursive: all
+
 TAGS clean-recursive distclean-recursive depend-recursive check-recursive \
   mostlyclean-recursive realclean-recursive:
        @for subdir in $(SUBDIRS); do \
index b85c720..caa13f7 100644 (file)
@@ -76,7 +76,7 @@ uuid.h: $(srcdir)/uuid.h.in
 $(top_builddir)/lib/uuid/uuid_types.h: $(srcdir)/uuid_types.h.in $(top_builddir)/config.status
        cd $(top_builddir); CONFIG_FILES=$(my_dir)/uuid_types.h ./config.status
 
-tst_uuid.o: $(srcdir)/tst_uuid.c
+tst_uuid.o: $(srcdir)/tst_uuid.c uuid.h
        $(E) "  CC $@"
        $(Q) $(CC) $(ALL_CFLAGS) -c $(srcdir)/tst_uuid.c -o tst_uuid.o