Add sqlite3 to build.
This commit is contained in:
parent
a18e993106
commit
5783a86050
3 changed files with 104921 additions and 7 deletions
|
@ -36,27 +36,29 @@ PROGS = bandb bantool
|
||||||
|
|
||||||
BANDB_SOURCES = \
|
BANDB_SOURCES = \
|
||||||
bandb.c \
|
bandb.c \
|
||||||
rsdb_sprintf.c \
|
rsdb_snprintf.c \
|
||||||
rsdb_sqlite3.c
|
rsdb_sqlite3.c \
|
||||||
|
sqlite3.c
|
||||||
|
|
||||||
BANDB_OBJECTS = ${BANDB_SOURCES:.c=.o}
|
BANDB_OBJECTS = ${BANDB_SOURCES:.c=.o}
|
||||||
|
|
||||||
BANTOOL_SOURCES = \
|
BANTOOL_SOURCES = \
|
||||||
bantool.c \
|
bantool.c \
|
||||||
rsdb_sprintf.c \
|
rsdb_snprintf.c \
|
||||||
rsdb_sqlite3.c
|
rsdb_sqlite3.c \
|
||||||
|
sqlite3.c
|
||||||
|
|
||||||
BANTOOL_OBJECTS = ${BANDB_SOURCES:.c=.o}
|
BANTOOL_OBJECTS = ${BANTOOL_SOURCES:.c=.o}
|
||||||
|
|
||||||
all: bandb bantool
|
all: bandb bantool
|
||||||
|
|
||||||
build: all
|
build: all
|
||||||
|
|
||||||
bandb: ${BANDB_OBJECTS}
|
bandb: ${BANDB_OBJECTS}
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${IRCDLIBS}
|
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${BANDB_OBJECTS} ${IRCDLIBS}
|
||||||
|
|
||||||
bantool: ${BANTOOL_OBJECTS}
|
bantool: ${BANTOOL_OBJECTS}
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${IRCDLIBS}
|
${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${BANTOOL_OBJECTS} ${IRCDLIBS}
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
@echo "ircd: installing bandb ($(PROGS))"
|
@echo "ircd: installing bandb ($(PROGS))"
|
||||||
|
|
99274
bandb/sqlite3.c
Normal file
99274
bandb/sqlite3.c
Normal file
File diff suppressed because it is too large
Load diff
5638
bandb/sqlite3.h
Normal file
5638
bandb/sqlite3.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue