mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
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.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
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