The unified diff between revisions [76aea49e..] and [891173fb..] 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 [76aea49e8393c839b573eaac31eb8e2fb218d2d6]
# new_revision [891173fb957443aa4b4a92446e8e30e67c4d08fd]
#
# patch "src/lsi/Makefile"
#  from [c00858097a6f271fbfea57ba936c38008c8d78dd]
#    to [78a1f906a0569af4ace0697000ac5411211fcc1c]
#
============================================================
--- src/lsi/Makefile	c00858097a6f271fbfea57ba936c38008c8d78dd
+++ 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}\//}
 
@@ -37,4 +42,4 @@ clean:
 	mkdep -- ${CFLAGS} ${CPPFLAGS} ${SRCS}
 
 clean:
-	rm -f ${OBJS} lsi abi.c abi.lh
+	rm -f ${OBJS} lsi abi.c abi.lh .depend