summaryrefslogtreecommitdiff
path: root/dso
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-11-15 17:47:37 +0000
committerJeff Trawick <trawick@apache.org>2000-11-15 17:47:37 +0000
commit8f8cd06ce4ee1f3156f587d495177ec2b88ec0f9 (patch)
tree5ef0e61a827e9c86b9d90fb91512e6611ddff96f /dso
parent085441575175b6d1f95467e5d536ff64ed693a66 (diff)
downloadapr-8f8cd06ce4ee1f3156f587d495177ec2b88ec0f9.tar.gz
AIX changes to the way dependencies are built in APR makefiles
(this makefile isn't currently used; I suspect that this AIX-specific DSO code is needed only for old levels of AIX) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r--dso/aix/Makefile.in29
1 files changed, 2 insertions, 27 deletions
diff --git a/dso/aix/Makefile.in b/dso/aix/Makefile.in
index c5df58c36..22ac4f1f8 100644
--- a/dso/aix/Makefile.in
+++ b/dso/aix/Makefile.in
@@ -1,8 +1,3 @@
-#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
-#LIBS=$(EXTRA_LIBS) $(LIBS1)
-#INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
-#LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
-
RM=@RM@
CC=@CC@
RANLIB=@RANLIB@
@@ -11,6 +6,7 @@ LIBS=@LIBS@
LDFLAGS=@LDFLAGS@ $(LIBS)
INCDIR=../../include
INCLUDES=-I$(INCDIR) -I$(INCDIR)/arch
+MKDEP=../../helpers/mkdep.sh
LIB=libdso.a
@@ -33,28 +29,7 @@ $(LIB): $(OBJS)
$(AR) cr $@ $(OBJS)
$(RANLIB) $@
-#
-# We really don't expect end users to use this rule. It works only with
-# gcc, and rebuilds Makefile.in. You have to re-run configure after
-# using it.
-#
depend:
- cp Makefile.in Makefile.in.bak \
- && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \
- && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
- && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
- -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
- > Makefile.in \
- && rm Makefile.new
+ $(MKDEP) $(INCLUDES) $(CFLAGS) *.c
# DO NOT REMOVE
-getopt.o: getopt.c misc.h ../../include/apr_private.h \
- ../../include/apr_general.h ../../include/apr.h \
- ../../include/apr_errno.h ../../include/apr_pools.h \
- ../../include/apr_lib.h ../../include/apr_file_io.h \
- ../../include/apr_getopt.h
-start.o: start.c misc.h ../../include/apr_private.h \
- ../../include/apr_general.h ../../include/apr.h \
- ../../include/apr_errno.h ../../include/apr_pools.h \
- ../../include/apr_lib.h ../../include/apr_file_io.h \
- ../../include/apr_getopt.h