diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-18 16:25:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:42 -0500 |
commit | 337be14b432e5dfd80c7418b2db4fe0087259b77 (patch) | |
tree | 76a4f37a2f23806e9a63fd9e7704a3983024bb17 /source/tdb/Makefile.in | |
parent | 6e641c90b8f52a822a83701cdf305c60416d7f0c (diff) | |
download | samba-337be14b432e5dfd80c7418b2db4fe0087259b77.tar.gz samba-337be14b432e5dfd80c7418b2db4fe0087259b77.tar.xz samba-337be14b432e5dfd80c7418b2db4fe0087259b77.zip |
r17607: Adapt the Samba4 directory structure for tdb. Makes it easier to diff.
Let's see what it breaks. For me it works :-)
Volker
Diffstat (limited to 'source/tdb/Makefile.in')
-rw-r--r-- | source/tdb/Makefile.in | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/source/tdb/Makefile.in b/source/tdb/Makefile.in new file mode 100644 index 00000000000..1c23aaeea7f --- /dev/null +++ b/source/tdb/Makefile.in @@ -0,0 +1,54 @@ +# +# Makefile for tdb directory +# + +CFLAGS = -Iinclude @CFLAGS@ +CC = @CC@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +includedir = @includedir@ +libdir = @libdir@ + +PROGS = bin/tdbtool bin/tdbtorture +TDB_OBJ = common/tdb.o common/dump.o common/io.o common/lock.o \ + common/open.o common/traverse.o common/freelist.o common/error.o \ + common/transaction.o + +all: $(PROGS) + +.c.o: + @echo Compiling $*.c + @$(CC) $(CFLAGS) -c $< -o $@ + +install: all + mkdir -p $(bindir) + mkdir -p $(includedir) + mkdir -p $(libdir) + mkdir -p $(libdir)/pkgconfig + cp $(PROGS) $(bindir) + cp include/tdb.h $(includedir) + cp tdb.pc $(libdir)/pkgconfig + +bin/tdbtest: tools/tdbtest.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o bin/tdbtest tools/tdbtest.o $(TDB_OBJ) -lgdbm + +bin/tdbtool: tools/tdbtool.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o bin/tdbtool tools/tdbtool.o $(TDB_OBJ) + +bin/tdbtorture: tools/tdbtorture.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o bin/tdbtorture tools/tdbtorture.o $(TDB_OBJ) + +bin/tdbdump: tools/tdbdump.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o bin/tdbdump tools/tdbdump.o $(TDB_OBJ) + +bin/tdbbackup: tools/tdbbackup.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o bin/tdbbackup tools/tdbbackup.o $(TDB_OBJ) + +clean: + rm -f $(PROGS) common/*.o tools/*.o *~ *.bak */*~ */*.bak *% core test.db test.tdb test.gdbm + +installcheck: install + $(bindir)/tdbtorture + +test: installcheck |