summaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2004-02-05 10:16:25 +0000
committerGreg Stein <gstein@apache.org>2004-02-05 10:16:25 +0000
commit7f5b352d208fc156d060afc3d4d9bd6dd02472dc (patch)
treecfa5a711c027d72cc924b6fe5e6451b8d81fbe2c /build.conf
parent4ee50c35aa2cd7184e3e6ec836f469f08bd003f5 (diff)
downloadapr-7f5b352d208fc156d060afc3d4d9bd6dd02472dc.tar.gz
First whack at switching to a single top-level make. This adds a dependency
upon Python at packaging time, but not at end-user config/build time. As far as I can tell, the build continues to function properly. (out-of-dir config/make not tested, and apr-iconv prolly needs some work) The buildconf scripts now generate a build-outputs.mk file which is included by the root's Makefile (via the build/gen-build.py script). bulid-outputs.mk specifies all of the various files present in the distribution. The top-level Makefiles were simplified to use an $(OBJECTS) symbol rather than 'find'ing them. Similarly, a $(HEADERS) symbol is used for the exports. The corresponding delete-* targets were eliminated since we have a precise set of inputs. The subdirs' Makefiles were removed since they are no longer called/used. The apr-util/uri Makefile was responsible for compiling a C program to generate the uri_delims.h file. That process was replaced by a Python script to generate the header (called by buildconf). The .c and .dsp were left for the Windows build to continue, but that should be revamped. build/apr_rules.mk was revamped somewhat to avoid recursion, but a lot of cleanup is still needed. Much of the recursive/local/x- logic is no longer needed and can be elimianated. rules.mk was created for inclusion by N makefiles, but that isn't really true any more, so it could probably be tossed (caveat: test/Makefile). Saved for a phase 2. Some additional work was added to properly clean up files in */build/, rather than relying on a makefile in there. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64891 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.conf')
-rw-r--r--build.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/build.conf b/build.conf
new file mode 100644
index 000000000..8d9c84181
--- /dev/null
+++ b/build.conf
@@ -0,0 +1,33 @@
+#
+# Configuration file for APR. Used by APR/build/gen-build.py
+#
+
+[options]
+
+paths =
+ atomic/{platform}/*.c
+ dso/{platform}/*.c
+ file_io/{platform}/*.c
+ locks/{platform}/*.c
+ memory/{platform}/*.c
+ misc/{platform}/*.c
+ mmap/{platform}/*.c
+ network_io/{platform}/*.c
+ passwd/*.c
+ poll/{platform}/*.c
+ random/{platform}/*.c
+ shmem/{platform}/*.c
+ strings/*.c
+ support/{platform}/*.c
+ tables/*.c
+ threadproc/{platform}/*.c
+ time/{platform}/*.c
+ user/{platform}/*.c
+
+headers = include/*.h
+
+# aplibtool is manually built by the configure process
+# build/aplibtool.c
+
+# we have a recursive makefile for the test files (for now)
+# test/*.c