Add sqlite3 to build.

This commit is contained in:
William Pitcock 2010-01-07 17:00:24 -06:00
parent 7a85b88995
commit 4ecc1955f0
3 changed files with 104921 additions and 7 deletions

View File

@ -36,27 +36,29 @@ PROGS = bandb bantool
BANDB_SOURCES = \
bandb.c \
rsdb_sprintf.c \
rsdb_sqlite3.c
rsdb_snprintf.c \
rsdb_sqlite3.c \
sqlite3.c
BANDB_OBJECTS = ${BANDB_SOURCES:.c=.o}
BANTOOL_SOURCES = \
bantool.c \
rsdb_sprintf.c \
rsdb_sqlite3.c
rsdb_snprintf.c \
rsdb_sqlite3.c \
sqlite3.c
BANTOOL_OBJECTS = ${BANDB_SOURCES:.c=.o}
BANTOOL_OBJECTS = ${BANTOOL_SOURCES:.c=.o}
all: bandb bantool
build: all
bandb: ${BANDB_OBJECTS}
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${IRCDLIBS}
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${BANDB_OBJECTS} ${IRCDLIBS}
bantool: ${BANTOOL_OBJECTS}
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${IRCDLIBS}
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${BANTOOL_OBJECTS} ${IRCDLIBS}
install: build
@echo "ircd: installing bandb ($(PROGS))"

99274
bandb/sqlite3.c Normal file

File diff suppressed because it is too large Load Diff

5638
bandb/sqlite3.h Normal file

File diff suppressed because it is too large Load Diff