diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-02 23:51:39 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-05 04:27:36 +0200 |
commit | 5f583591db4738f2d0863ccc5253827191f993a0 (patch) | |
tree | 240e4a95ce650697c9349cb43d0c5747de7fd037 /lib/replace/Makefile.in | |
parent | 4accd2396e8a9ac4a7b2191a1d3bc9c84d2e0497 (diff) | |
download | samba-5f583591db4738f2d0863ccc5253827191f993a0.tar.gz samba-5f583591db4738f2d0863ccc5253827191f993a0.tar.bz2 samba-5f583591db4738f2d0863ccc5253827191f993a0.zip |
libreplace: Remove autoconf build system
This leaves the parts required to build libreplace as a static lib for the autoconf build
Andrew Bartlett
Diffstat (limited to 'lib/replace/Makefile.in')
-rw-r--r-- | lib/replace/Makefile.in | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/lib/replace/Makefile.in b/lib/replace/Makefile.in deleted file mode 100644 index 65f8125efd..0000000000 --- a/lib/replace/Makefile.in +++ /dev/null @@ -1,70 +0,0 @@ -#!gmake -# -CC = @CC@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -includedir = @includedir@ -libdir = @libdir@ -VPATH = @libreplacedir@ -srcdir = @srcdir@ -builddir = @builddir@ -sharedbuilddir = @sharedbuilddir@ -INSTALLCMD = @INSTALL@ -LIBS = @LIBS@ - -.PHONY: test all showflags install installcheck clean distclean realdistclean - -CFLAGS=-I. @CFLAGS@ -LDFLAGS=@LDFLAGS@ - -OBJS = @LIBREPLACEOBJ@ - -all: showflags libreplace.a testsuite - -showflags: - @echo 'libreplace will be compiled with flags:' - @echo ' CC = $(CC)' - @echo ' CFLAGS = $(CFLAGS)' - @echo ' LDFLAGS= $(LDFLAGS)' - @echo ' LIBS = $(LIBS)' - -install: all - ${INSTALLCMD} -d $(libdir) - ${INSTALLCMD} -m 644 libreplace.a $(libdir) - -shared-build: all - ${INSTALLCMD} -d $(sharedbuilddir)/include - ${INSTALLCMD} -m 644 replace.h $(sharedbuilddir)/include - ${INSTALLCMD} -d $(sharedbuilddir)/lib - ${INSTALLCMD} -m 644 libreplace.a $(sharedbuilddir)/lib - -libreplace.a: $(OBJS) - ar -rcsv $@ $(OBJS) - -test: all - ./testsuite - -installcheck: install test - -TEST_OBJS = test/main.o test/testsuite.o test/os2_delete.o test/strptime.o test/getifaddrs.o - -testsuite: libreplace.a $(TEST_OBJS) - $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace $(LDFLAGS) $(LIBS) - -.c.o: - @echo Compiling $*.c - @mkdir -p `dirname $@` - @$(CC) $(CFLAGS) -c $< -o $@ - -clean: - rm -f *.o test/*.o *.a testsuite - rm -f testfile.dat - -distclean: clean - rm -f *~ */*~ - rm -f config.log config.status config.h config.cache - rm -f Makefile - -realdistclean: distclean - rm -f configure config.h.in |