2016-07-20 20:55:46 +02:00
|
|
|
AM_CFLAGS = \
|
|
|
|
@SQLITE_CFLAGS@
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DSQLITE_THREADSAFE=0 \
|
|
|
|
-DSQLITE_OMIT_LOAD_EXTENSION \
|
|
|
|
-I$(top_srcdir)/include \
|
|
|
|
@BOOST_CPPFLAGS@
|
|
|
|
|
|
|
|
AM_LDFLAGS = \
|
2016-09-09 19:44:17 +02:00
|
|
|
-L$(top_srcdir)/ircd \
|
2016-07-20 20:55:46 +02:00
|
|
|
-L$(top_srcdir)/rb \
|
|
|
|
@BOOST_LDFLAGS@
|
|
|
|
|
|
|
|
|
|
|
|
bin_PROGRAMS = bandb
|
|
|
|
|
|
|
|
bandb_DEPENDENCIES = \
|
|
|
|
@SQLITE_OBJ@
|
|
|
|
|
|
|
|
bandb_LDADD = \
|
2016-09-09 19:44:17 +02:00
|
|
|
-lircd \
|
2016-07-20 20:55:46 +02:00
|
|
|
-lrb \
|
|
|
|
@SQLITE_LDFLAGS@ \
|
|
|
|
@SQLITE_OBJ@ \
|
|
|
|
@SQLITE_LIBS@ \
|
|
|
|
@BOOST_LIBS@
|
|
|
|
|
|
|
|
EXTRA_bandb_SOURCES = \
|
|
|
|
sqlite3.c
|
|
|
|
|
|
|
|
bandb_SOURCES = \
|
|
|
|
bandb.cc \
|
2016-07-25 10:53:53 +02:00
|
|
|
rsdb_sqlite3.cc \
|
2016-07-20 20:55:46 +02:00
|
|
|
rsdb_snprintf.c
|
|
|
|
|
|
|
|
|
|
|
|
bin_PROGRAMS += bantool
|
|
|
|
|
|
|
|
bantool_DEPENDENCIES = \
|
|
|
|
@SQLITE_OBJ@
|
|
|
|
|
|
|
|
bantool_LDADD = \
|
2016-09-09 19:44:17 +02:00
|
|
|
-lircd \
|
2016-07-20 20:55:46 +02:00
|
|
|
-lrb \
|
|
|
|
@SQLITE_LDFLAGS@ \
|
|
|
|
@SQLITE_LIBS@ \
|
|
|
|
@SQLITE_OBJ@ \
|
|
|
|
@BOOST_LIBS@
|
|
|
|
|
|
|
|
EXTRA_bantool_SOURCES = \
|
|
|
|
sqlite3.c
|
|
|
|
|
|
|
|
bantool_SOURCES = \
|
|
|
|
bantool.cc \
|
2016-07-25 10:53:53 +02:00
|
|
|
rsdb_sqlite3.cc \
|
2016-07-20 20:55:46 +02:00
|
|
|
rsdb_snprintf.c
|
2016-07-25 21:53:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
sqlite3.o:
|
|
|
|
echo -e "\033[1;36m***\033[0m Compiling sqlite3 may take a moment..."
|
|
|
|
$(COMPILE) -w -c -o sqlite3.o sqlite3.c
|