summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authorgstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2001-01-09 11:06:28 +0000
committergstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2001-01-09 11:06:28 +0000
commit9d1275e1a983a06ce2634ea7fda44e1da74c83b7 (patch)
treee51da863a0ead61ec23171879295613e7cd48b68 /file_io
parent95a1aa1fa02cb63a6447b0fe8528f5ba03eacbfe (diff)
downloadlibapr-9d1275e1a983a06ce2634ea7fda44e1da74c83b7.tar.gz
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
Diffstat (limited to 'file_io')
-rw-r--r--file_io/os2/.cvsignore2
-rw-r--r--file_io/os2/Makefile.in55
-rw-r--r--file_io/unix/.cvsignore2
-rw-r--r--file_io/unix/Makefile.in48
4 files changed, 36 insertions, 71 deletions
diff --git a/file_io/os2/.cvsignore b/file_io/os2/.cvsignore
index f3c7a7c5d..06e18a7aa 100644
--- a/file_io/os2/.cvsignore
+++ b/file_io/os2/.cvsignore
@@ -1 +1,3 @@
Makefile
+*.lo
+.libs
diff --git a/file_io/os2/Makefile.in b/file_io/os2/Makefile.in
index f413b3dac..50c758437 100644
--- a/file_io/os2/Makefile.in
+++ b/file_io/os2/Makefile.in
@@ -1,45 +1,22 @@
-CC=@CC@
-RANLIB=@RANLIB@
-CFLAGS=@CFLAGS@ @OPTIM@
-LIBS=@LIBS@
-LDFLAGS=@LDFLAGS@ $(LIBS)
+
+TARGETS = \
+ dir.lo \
+ fileacc.lo \
+ filedup.lo \
+ filestat.lo \
+ open.lo \
+ pipe.lo \
+ readwrite.lo \
+ seek.lo \
+ flock.lo \
+ maperrorcode.lo
+
+# bring in rules.mk for standard functionality
+@INCLUDE_RULES@
+
INCDIR=../../include
OSDIR=$(INCDIR)/arch/@OSDIR@
DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@
INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFOSDIR)
-MKDEP=../../helpers/mkdep.sh
-
-LIB=file.a
-
-OBJS=dir.o \
- fileacc.o \
- filedup.o \
- filestat.o \
- open.o \
- pipe.o \
- readwrite.o \
- seek.o \
- flock.o \
- maperrorcode.o
-
-.c.o:
- $(CC) $(CFLAGS) -c $(INCLUDES) $<
-
-all: $(LIB)
-
-clean:
- $(RM) -f *.o *.a *.so
-
-distclean: clean
- -$(RM) -f Makefile
-
-
-$(LIB): $(OBJS)
- $(RM) -f $@
- $(AR) cr $@ $(OBJS)
- $(RANLIB) $@
-
-depend:
- $(MKDEP) $(INCLUDES) $(CFLAGS) *.c
# DO NOT REMOVE
diff --git a/file_io/unix/.cvsignore b/file_io/unix/.cvsignore
index f3c7a7c5d..06e18a7aa 100644
--- a/file_io/unix/.cvsignore
+++ b/file_io/unix/.cvsignore
@@ -1 +1,3 @@
Makefile
+*.lo
+.libs
diff --git a/file_io/unix/Makefile.in b/file_io/unix/Makefile.in
index d437f0157..d612ce198 100644
--- a/file_io/unix/Makefile.in
+++ b/file_io/unix/Makefile.in
@@ -1,38 +1,22 @@
-RM=@RM@
-CC=@CC@
-RANLIB=@RANLIB@
-CFLAGS=@CFLAGS@ @OPTIM@
-LIBS=@LIBS@
-LDFLAGS=@LDFLAGS@ $(LIBS)
+
+TARGETS = \
+ dir.lo \
+ fileacc.lo \
+ filedup.lo \
+ filestat.lo \
+ flock.lo \
+ fullrw.lo \
+ open.lo \
+ pipe.lo \
+ readwrite.lo \
+ seek.lo
+
+# bring in rules.mk for standard functionality
+@INCLUDE_RULES@
+
INCDIR=../../include
OSDIR=$(INCDIR)/arch/@OSDIR@
DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@
INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFOSDIR)
-MKDEP=../../helpers/mkdep.sh
-
-OBJS=dir.o \
- fileacc.o \
- filedup.o \
- filestat.o \
- flock.o \
- fullrw.o \
- open.o \
- pipe.o \
- readwrite.o \
- seek.o
-
-.c.o:
- $(CC) $(CFLAGS) -c $(INCLUDES) $<
-
-all: $(OBJS)
-
-clean:
- $(RM) -f *.o *.a *.so
-
-distclean: clean
- -$(RM) -f Makefile
-
-depend:
- $(MKDEP) $(INCLUDES) $(CFLAGS) *.c
# DO NOT REMOVE