Add sqlite3 to build.
This commit is contained in:
parent
7a85b88995
commit
4ecc1955f0
|
@ -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))"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue