summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>1999-10-24 04:22:22 +0000
committerBrian Havard <bjh@apache.org>1999-10-24 04:22:22 +0000
commitec4dc10c3f9834a892dd81a07c0dc40756d0d4c4 (patch)
treeccb66de90497d39b934fed43d2b2df7a1f41b2bc /Makefile.in
parent2ddad0a74fe6650a42278a633ddecde3d8593135 (diff)
downloadapr-ec4dc10c3f9834a892dd81a07c0dc40756d0d4c4.tar.gz
Make a single APR library file.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 59dd2e00c..0a7e7db40 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -39,12 +39,14 @@ SUBDIRS=@SUBDIRS@
# building the entire package.
#
all: Makefile $(MODULES) subdirs
- @rm -Rf libs
- @mkdir libs
- @for i in $(SUBDIRS); do cp $$i/*.a libs ; done;
+ @rm -Rf objs
+ @mkdir objs
+ @rm -f @LIBPREFIX@apr.a
+ @for i in $(SUBDIRS); do cp $$i/*.o objs ; done;
+ @$(AR) cr @LIBPREFIX@apr.a objs/*.o
clean: subdirs_clean
- $(RM) -f *.o *.a *.so
+ $(RM) -f *.o *.a *.so objs/*.o
depend: subdirs_depend
@@ -52,7 +54,7 @@ distclean: subdirs_distclean
-$(RM) -f *.o *.a *.so
-$(RM) -f config.cache config.status config.log
-$(RM) -f Makefile
- -$(RM) -Rf libs
+ -$(RM) -Rf objs
subdirs:
@for i in $(SUBDIRS); do \