The unified diff between revisions [afdbb938..] 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 [afdbb9388305ae66464ad4acb0437922656e3059]
# new_revision [891173fb957443aa4b4a92446e8e30e67c4d08fd]
#
# patch "src/lsi/Makefile"
#  from [1345a82aeacb32dcd1c90dd59c46be291477403c]
#    to [78a1f906a0569af4ace0697000ac5411211fcc1c]
#
============================================================
--- src/lsi/Makefile	1345a82aeacb32dcd1c90dd59c46be291477403c
+++ src/lsi/Makefile	78a1f906a0569af4ace0697000ac5411211fcc1c
@@ -2,17 +2,25 @@ 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
+
 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