0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-17 09:28:21 +02:00

bandb: make Makefile work with BSD make again

This commit is contained in:
Lee Starnes 2014-05-29 17:53:43 -04:00
parent 497e30a0bb
commit 74ab6be094
3 changed files with 14 additions and 10 deletions

View file

@ -46,22 +46,16 @@ PROGS = $(pkglibexec_PROGS) $(bin_PROGS)
BANDB_SOURCES = \
bandb.c \
rsdb_snprintf.c \
rsdb_sqlite3.c
ifndef SQLITE_LIB
BANDB_SOURCES+=sqlite3.c
endif
rsdb_sqlite3.c \
@SQLITE_SRC@
BANDB_OBJECTS = ${BANDB_SOURCES:.c=.o}
BANTOOL_SOURCES = \
bantool.c \
rsdb_snprintf.c \
rsdb_sqlite3.c
ifndef SQLITE_LIB
BANTOOL_SOURCES+=sqlite3.c
endif
rsdb_sqlite3.c \
@SQLITE_SRC@
BANTOOL_OBJECTS = ${BANTOOL_SOURCES:.c=.o}

6
configure vendored
View file

@ -642,6 +642,7 @@ HELP_DIR
logdir
LOG_DIR
ETC_DIR
SQLITE_SRC
SQLITE_LD
ZLIB_LD
ENCSPEED
@ -7312,6 +7313,11 @@ fi
fi
if test "$shared_sqlite" = no; then
SQLITE_SRC=sqlite3.c
fi

View file

@ -579,6 +579,10 @@ AC_CHECK_HEADER(sqlite3.h, [
fi
if test "$shared_sqlite" = no; then
AC_SUBST(SQLITE_SRC, sqlite3.c)
fi
dnl IO Loop Selection
dnl =================