The unified diff between revisions [9a6e8df1..] and [a81fe555..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/Makefile'

#
# old_revision [9a6e8df1d6b102f467702e274d53d90f9151e2c8]
# new_revision [a81fe5550c21fa983b4e344e07c29b9cecdf75ea]
#
# patch "src/lsi/Makefile"
#  from [609a07c3b2f5a6dcc33cb70112821fa46ab8ade0]
#    to [78a1f906a0569af4ace0697000ac5411211fcc1c]
#
============================================================
--- src/lsi/Makefile	609a07c3b2f5a6dcc33cb70112821fa46ab8ade0
+++ src/lsi/Makefile	78a1f906a0569af4ace0697000ac5411211fcc1c
@@ -3,9 +3,9 @@ OBJS=	main.o vm.o plugins.o dmx.o midi.o
 PREFIX?=	/usr/local
 
 OBJS=	main.o vm.o plugins.o dmx.o midi.o beatdetect.o fft.o map3d.o mouse.o \
-	cmdsocket.o
+	cmdsocket.o sql.o
 SRCS=	main.c vm.c plugins.c dmx.c midi.c beatdetect.c fft.c map3d.c mouse.c \
-	cmdsocket.c
+	cmdsocket.c sql.c
 
 OBJS+=	abi.o
 SRCS+=	abi.c
@@ -14,10 +14,13 @@ INCDIR=	../include
 COMMONDIR=	../common
 
 INCDIR=	../include
+SQLITEINCDIR= /usr/pkg/include
+SQLITELIBDIR= /usr/pkg/lib
 
 CFLAGS+=	-Wall -Werror
-CPPFLAGS+=	-I${INCDIR}
-LDLIBS+=	-lm
+CPPFLAGS+=	-I${INCDIR} -I${SQLITEINCDIR}
+LDFLAGS+=	-L${SQLITELIBDIR} -Wl,-R${SQLITELIBDIR}
+LDLIBS+=	-lm -lsqlite3
 
 PROGOBJS=	${OBJS} ${COMMONOBJS:S/^/${COMMONDIR}\//}