mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +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 52e4fe8ce9142c4002263686c8043d94b37d7a9c)
This commit is contained in:
parent
f63cd117ae
commit
8a01231a8b
@ -11,10 +11,10 @@ endif
|
|||||||
|
|
||||||
TDBDIR=../tdb
|
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)
|
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_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 \
|
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]
|
rm -f */*.o *~ */*~ $(BINS) $(LDB_LIB) man/man?/*.[13]
|
||||||
|
|
||||||
proto:
|
proto:
|
||||||
mkproto.pl */*.c > include/proto.h
|
perl ../../script/mkproto.pl */*.c > include/proto.h
|
||||||
|
|
||||||
etags:
|
etags:
|
||||||
etags */*.[ch]
|
etags */*.[ch]
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -18,5 +19,5 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "ldb.h"
|
#include "ldb.h"
|
||||||
#include "tdb/tdb.h"
|
#include "tdb.h"
|
||||||
#include "proto.h"
|
#include "proto.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user