summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-08-17 15:59:33 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>1999-08-17 15:59:33 +0000
commit6577c978ebc28f950f43591579674e045f3d2a67 (patch)
treea54b0555bf7862582241f3bc69c81ebf035948f8 /Makefile.in
parent3171d4b484045e81ea8289845830823008b48ece (diff)
downloadlibapr-6577c978ebc28f950f43591579674e045f3d2a67.tar.gz
Initial revision
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in71
1 files changed, 71 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 000000000..eb0f9cbeb
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,71 @@
+#
+# APR (Apache Portable Runtime) library Makefile.
+#
+SHELL=@SH@
+
+#
+# Macros for compilation commands
+#
+@SET_MAKE@
+RM=@RM@
+CC=@CC@
+CFLAGS=@CFLAGS@ @OPTIM@
+LIBS=@LIBS@
+LDFLAGS=@LDFLAGS@ $(LIBS)
+RANLIB=@RANLIB@
+#
+# Macros for supporting directories
+#
+INCDIR=./include
+INCDIR1=../include
+INCLUDES=-I$(INCDIR) -I$(INCDIR1)
+
+#
+# Macros for target determination
+#
+MODULES=lib file_io network_io threadproc locks misc time
+SUBDIRS=lib file_io/@OSDIR@ network_io/@OSDIR@ threadproc/@OSDIR@ \
+ locks/@OSDIR@ misc/@OSDIR@ time/@OSDIR@ signal/@OSDIR@
+#shmem/@OSDIR@
+
+#
+# Rules for turning inputs into outputs
+#
+.c.o:
+ $(CC) $(CFLAGS) -c $(INCLUDES) $<
+
+#
+# Rules for building specific targets, starting with 'all' for
+# building the entire package.
+#
+all: Makefile $(MODULES) subdirs
+ @echo APR built.
+
+clean: subdirs_clean
+ $(RM) -f *.o *.a *.so
+
+depend: subdirs_depend
+
+distclean: clean
+ -$(RM) -f Makefile
+
+subdirs:
+ @for i in $(SUBDIRS); do \
+ echo "===> $$i"; \
+ ( cd $$i && $(MAKE) $(MFLAGS_STATIC) SDP='$(SDP)' \
+ CC='$(CC)' AUX_CFLAGS='$(AUX_CFLAGS)' RANLIB='$(RANLIB)' ) \
+ || exit 1; \
+ echo "<== $$i"; \
+ done;
+
+subdirs_depend:
+ @for i in $(SUBDIRS); do \
+ ( cd $$i && $(MAKE) depend ) \
+ done;
+
+subdirs_clean:
+ @for i in $(SUBDIRS); do \
+ ( cd $$i && $(MAKE) clean ) \
+ done;
+
+# DO NOT REMOVE