mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
r1055: Standalone build fixes for ldb:
- Various Makefile fixes
- #include <stdint.h>
ldb still needs a proper build system though. (-:
(This used to be commit 52e4fe8ce9
)
This commit is contained in:
parent
f63cd117ae
commit
8a01231a8b
@ -11,10 +11,10 @@ endif
|
||||
|
||||
TDBDIR=../tdb
|
||||
|
||||
CFLAGS=-Wall -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -g -Iinclude -I. -I.. -DSTANDALONE=1 -DUSE_MMAP=1 $(LDAP_FLAGS)
|
||||
CFLAGS=-Wall -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -g -Iinclude -I. -I.. -I$(TDBDIR)/include -DSTANDALONE=1 -DUSE_MMAP=1 $(LDAP_FLAGS)
|
||||
LIB_FLAGS=-Llib -lldb $(LDAP_LIBS)
|
||||
|
||||
TDB_OBJ=$(TDBDIR)/tdb.o $(TDBDIR)/spinlock.o
|
||||
TDB_OBJ=$(TDBDIR)/common/tdb.o $(TDBDIR)/common/spinlock.o
|
||||
|
||||
LDB_TDB_OBJ=ldb_tdb/ldb_match.o ldb_tdb/ldb_tdb.o \
|
||||
ldb_tdb/ldb_pack.o ldb_tdb/ldb_search.o ldb_tdb/ldb_index.o \
|
||||
@ -70,7 +70,7 @@ clean:
|
||||
rm -f */*.o *~ */*~ $(BINS) $(LDB_LIB) man/man?/*.[13]
|
||||
|
||||
proto:
|
||||
mkproto.pl */*.c > include/proto.h
|
||||
perl ../../script/mkproto.pl */*.c > include/proto.h
|
||||
|
||||
etags:
|
||||
etags */*.[ch]
|
||||
|
@ -6,6 +6,7 @@
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
@ -18,5 +19,5 @@
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include "ldb.h"
|
||||
#include "tdb/tdb.h"
|
||||
#include "tdb.h"
|
||||
#include "proto.h"
|
||||
|
Loading…
Reference in New Issue
Block a user