bandb: make Makefile work with BSD make again
This commit is contained in:
parent
497e30a0bb
commit
74ab6be094
3 changed files with 14 additions and 10 deletions
|
@ -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
6
configure
vendored
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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 =================
|
||||
|
||||
|
|
Loading…
Reference in a new issue