From 2f2dd3908cec96a1a553f26b1954b60d3db00e29 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Sun, 20 Aug 2006 03:46:10 +0000 Subject: [PATCH] fixes for parser testing framework --- src/parser-driver.c | 1 + src/parser.mk | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/parser-driver.c b/src/parser-driver.c index e4d6cca2..06fe0f76 100644 --- a/src/parser-driver.c +++ b/src/parser-driver.c @@ -15,6 +15,7 @@ #include "daapd.h" CONFIG config; +char *scan_winamp_genre[] = { NULL }; void usage(void) { printf("Usage:\n\n parser [-t ] [-d ] \"phrase\"\n\n"); diff --git a/src/parser.mk b/src/parser.mk index b9de8294..96945953 100644 --- a/src/parser.mk +++ b/src/parser.mk @@ -1,8 +1,8 @@ CC=gcc CFLAGS := $(CFLAGS) -g -I/opt/local/include -DHAVE_CONFIG_H -I. -I.. -Wall -DHAVE_SQL -no-cpp-precomp -DMAC -DHOST='"argh"' -LDFLAGS := $(LDFLAGS) -L/opt/local/lib -lsqlite -lsqlite3 +LDFLAGS := $(LDFLAGS) -L/opt/local/lib -lsqlite -lsqlite3 -lm -framework CoreFoundation TARGET=parser -OBJECTS=parser-driver.o smart-parser.o err.o db-sql.o db-generic.o ssc.o db-sql-sqlite3.o db-sql-sqlite2.o conf.o ll.o xml-rpc.o webserver.o uici.o os-unix.o restart.o configfile.o rend-win32.o +OBJECTS=parser-driver.o smart-parser.o err.o db-sql.o db-generic.o db-sql-sqlite3.o db-sql-sqlite2.o conf.o ll.o xml-rpc.o webserver.o uici.o os-unix.o restart.o configfile.o rend-win32.o plugin.o db-sql-updates.o dispatch.o dynamic-art.o scan-aac.o $(TARGET): $(OBJECTS) $(CC) -o $(TARGET) $(LDFLAGS) $(OBJECTS)