The unified diff between revisions [a7f61676..] and [1c51f984..] 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 [a7f61676c8d04ecf082be8ae39a40b4e7bba3462]
# new_revision [1c51f9845a06bd04df9a862c18893be750860d82]
#
# patch "src/lsi/Makefile"
#  from [4d4540b4f92126f25999c11b07250a886256080b]
#    to [78a1f906a0569af4ace0697000ac5411211fcc1c]
#
============================================================
--- src/lsi/Makefile	4d4540b4f92126f25999c11b07250a886256080b
+++ src/lsi/Makefile	78a1f906a0569af4ace0697000ac5411211fcc1c
@@ -2,8 +2,10 @@ PREFIX?=	/usr/local
 
 PREFIX?=	/usr/local
 
-OBJS=	main.o vm.o plugins.o dmx.o midi.o beatdetect.o fft.o map3d.o mouse.o
-SRCS=	main.c vm.c plugins.c dmx.c midi.c beatdetect.c fft.c map3d.c mouse.c
+OBJS=	main.o vm.o plugins.o dmx.o midi.o beatdetect.o fft.o map3d.o mouse.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 sql.c
 
 OBJS+=	abi.o
 SRCS+=	abi.c
@@ -12,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}\//}