summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-11-15 16:06:08 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-11-15 16:06:08 +0000
commit36706e52a704a72a58ee1b3bd371f5ca3a123760 (patch)
tree3fddbc526fd1471a8d82b79404c5d3400ff5fb58 /locks
parente5051c00143e021c98806aee9672e7033cc61db1 (diff)
downloadlibapr-36706e52a704a72a58ee1b3bd371f5ca3a123760.tar.gz
OS/2 changes to the way dependencies are built in APR makefiles
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60732 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/os2/Makefile.in28
1 files changed, 2 insertions, 26 deletions
diff --git a/locks/os2/Makefile.in b/locks/os2/Makefile.in
index df319b749..7ecd8cf87 100644
--- a/locks/os2/Makefile.in
+++ b/locks/os2/Makefile.in
@@ -1,8 +1,3 @@
-#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
-#LIBS=$(EXTRA_LIBS) $(LIBS1)
-#INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
-#LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
-
CC=@CC@
RANLIB=@RANLIB@
CFLAGS=@CFLAGS@ @OPTIM@
@@ -12,6 +7,7 @@ INCDIR=../../include
OSDIR=$(INCDIR)/arch/@OSDIR@
DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@
INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFOSDIR)
+MKDEP=../../helpers/mkdep.sh
LIB=lock.a
@@ -34,27 +30,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 | sed -e "s%\\\\\(.\)%/\\1%g" >> Makefile.new \
- && sed -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' \
- -e '1,$$s: $(DEFOSDIR)/: $$(DEFOSDIR)/:g' \
- -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' Makefile.new \
- > Makefile.in \
- && rm Makefile.new
+ $(MKDEP) $(INCLUDES) $(CFLAGS) *.c
# DO NOT REMOVE
-locks.o: locks.c $(INCDIR)/apr_general.h $(INCDIR)/apr.h \
- $(INCDIR)/apr_errno.h $(INCDIR)/../network_io/os2/os2nerrno.h \
- $(INCDIR)/apr_lib.h $(INCDIR)/apr_pools.h \
- $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
- $(INCDIR)/apr_time.h $(INCDIR)/apr_tables.h \
- $(INCDIR)/apr_strings.h $(OSDIR)/locks.h \
- $(INCDIR)/apr_lock.h $(OSDIR)/fileio.h \
- $(INCDIR)/apr_private.h