From 9d1275e1a983a06ce2634ea7fda44e1da74c83b7 Mon Sep 17 00:00:00 2001 From: gstein Date: Tue, 9 Jan 2001 11:06:28 +0000 Subject: Libtool-ize APR. To simplify the task, I also shifted the Makefiles to include a rules.mk (based on APRUTIL's with a few tweaks). Still needs some work to remove the INCLUDES setup in all the Makefiles (these can be shared). buildconf now does more work (and generates some output) aclocal.m4 is based on a number of M4 files, rather than standalone apr/test/ has been updated but is probably broken in a few ways. objs/ is now gone. we link directly from the .lo files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61037 13f79535-47bb-0310-9956-ffa450edef68 --- strings/.cvsignore | 2 ++ strings/Makefile.in | 39 +++++++++++---------------------------- 2 files changed, 13 insertions(+), 28 deletions(-) (limited to 'strings') diff --git a/strings/.cvsignore b/strings/.cvsignore index f3c7a7c5d..06e18a7aa 100644 --- a/strings/.cvsignore +++ b/strings/.cvsignore @@ -1 +1,3 @@ Makefile +*.lo +.libs diff --git a/strings/Makefile.in b/strings/Makefile.in index 2c10f2c23..2c1425c5e 100644 --- a/strings/Makefile.in +++ b/strings/Makefile.in @@ -1,33 +1,16 @@ -CC=@CC@ -RANLIB=@RANLIB@ -AR=@AR@ -RM=@RM@ -CFLAGS=@CFLAGS@ @OPTIM@ -LIBS=@LIBS@ -LDFLAGS=@LDFLAGS@ $(LIBS) -DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@ -INCDIR=../include -INCLUDES=-I$(INCDIR) -I$(DEFOSDIR) -MKDEP=../helpers/mkdep.sh - -OBJS=apr_cpystrn.o \ - apr_snprintf.o \ - apr_strnatcmp.o \ - apr_strings.o \ - apr_fnmatch.o - -.c.o: - $(CC) $(CFLAGS) -c $(INCLUDES) $< -all: $(OBJS) +TARGETS = \ + apr_cpystrn.lo \ + apr_snprintf.lo \ + apr_strnatcmp.lo \ + apr_strings.lo \ + apr_fnmatch.lo -clean: - $(RM) -f *.o *.a *.so +# bring in rules.mk for standard functionality +@INCLUDE_RULES@ -distclean: clean - -$(RM) -f Makefile - -depend: - $(MKDEP) $(INCLUDES) $(CFLAGS) *.c +DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@ +INCDIR=../include +INCLUDES=-I$(INCDIR) -I$(DEFOSDIR) # DO NOT REMOVE -- cgit v1.2.1