The unified diff between revisions [4839c414..] 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 [4839c414876f813b3873cc350a8e42d6c01957fc]
# new_revision [891173fb957443aa4b4a92446e8e30e67c4d08fd]
#
# patch "src/lsi/Makefile"
#  from [999eaad9d70c213951fc2aa64f21482b53ae2d74]
#    to [78a1f906a0569af4ace0697000ac5411211fcc1c]
#
============================================================
--- src/lsi/Makefile	999eaad9d70c213951fc2aa64f21482b53ae2d74
+++ src/lsi/Makefile	78a1f906a0569af4ace0697000ac5411211fcc1c
@@ -2,17 +2,25 @@ PREFIX?=	/usr/local
 
 PREFIX?=	/usr/local
 
-OBJS=	main.o vm.o dmx.o midi.o beatdetect.o fft.o map3d.o mouse.o
-SRCS=	main.c vm.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
+
 COMMONOBJS=	mem.o hash.o
 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}\//}
 
@@ -20,6 +28,12 @@ lsi: ${OBJS}
 lsi: ${OBJS}
 	${LINK.c} -o ${.TARGET} ${PROGOBJS} ${LDLIBS}
 
+abi.c:	abispec makeabi
+	./makeabi abispec
+
+abi.lh:	abispec makeabi
+	./makeabi abispec
+
 install: lsi
 	${INSTALL} -d ${PREFIX}/bin
 	${INSTALL} -c lsi ${PREFIX}/bin/lsi
@@ -28,4 +42,4 @@ clean:
 	mkdep -- ${CFLAGS} ${CPPFLAGS} ${SRCS}
 
 clean:
-	rm -f ${OBJS} lsi
+	rm -f ${OBJS} lsi abi.c abi.lh .depend