From: Greg Stein Date: Thu, 7 Dec 2000 11:52:17 +0000 (+0000) Subject: *) top-level: build our base libraries (srclib) first since these (by X-Git-Tag: APACHE_2_0_ALPHA_9~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b18b5e32c3d604da3b145d76504a17560f3d4866;p=apache *) top-level: build our base libraries (srclib) first since these (by definition) have no dependencies on anything else. this will also ensure that we have *.exports available for building server/ *) add the "test" SUBDIR back in so that it gets called for "make clean" and other types of make targets. *) revise test/Makefile.in so that it does not build any test programs by default. add "make test" to build any/all test programs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87250 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/Makefile.in b/Makefile.in index 6110eeb8c7..36f7251beb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,5 @@ -SUBDIRS = modules os server srclib support +SUBDIRS = srclib modules os server support test PROGRAM_NAME = $(progname) PROGRAM_SOURCES = modules.c diff --git a/test/Makefile.in b/test/Makefile.in index bbdad4d1b3..d34eb21712 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -1,6 +1,9 @@ +# no targets: we don't want to build anything by default. if you want the +# test programs, then "make test" +targets = + PROGRAMS = dbu -targets = $(PROGRAMS) PROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS) PROGRAM_DEPENDENCIES = ../srclib/apr-util/libaprutil.la \ @@ -8,6 +11,8 @@ PROGRAM_DEPENDENCIES = ../srclib/apr-util/libaprutil.la \ include $(top_srcdir)/build/rules.mk +test: $(PROGRAMS) + dbu_OBJECTS = dbu.lo dbu: $(dbu_OBJECTS) $(LINK) $(dbu_OBJECTS) $(PROGRAM_LDADD)