what is this, I don't even
the_jinx [2011-03-11 00:43]
what is this, I don't even
git-svn-id: https://old.setv.nl/svn/swarmtv@303 88541080-9ad6-de11-9093-5254007c1f44
diff --git a/trunk/swarmtv/libswarmtv/libswarmtv.pro b/trunk/swarmtv/libswarmtv/libswarmtv.pro
index 96453ca..70d1bd2 100644
--- a/trunk/swarmtv/libswarmtv/libswarmtv.pro
+++ b/trunk/swarmtv/libswarmtv/libswarmtv.pro
@@ -3,7 +3,12 @@
######################################################################
TEMPLATE = lib
+win32{
+TARGET = libswarmtv
+}
+unix {
TARGET = swarmtv
+}
DEPENDPATH += . \
filehandler \
filehandler/nzb \
@@ -18,7 +23,10 @@ INCLUDEPATH += . \
filehandler/nzb
CONFIG += dll link_pkgconfig
PKGCONFIG += xml2po sqlite3 dbus-1 glib-2.0 dbus-glib-1
-LIBS += -lcurl -lpcre # -lesmtp
+LIBS += -lcurl -lpcre
+unix{
+LIBS += -lesmtp
+}
win32{
LIBS += -lsqlite3 -lxml2 -lcurldll -liconv -lwsock32
}
diff --git a/trunk/swarmtv/shellfront/shellfront.pro b/trunk/swarmtv/shellfront/shellfront.pro
index 3c68597..db46b93 100644
--- a/trunk/swarmtv/shellfront/shellfront.pro
+++ b/trunk/swarmtv/shellfront/shellfront.pro
@@ -10,10 +10,10 @@ CONFIG += link_pkgconfig
PKGCONFIG += xml2po dbus-1 glib-2.0 dbus-glib-1 sqlite3
LIBS += -L../libswarmtv -lswarmtv -lcurl -lpcre
unix{
- LIBS += -lesmtp
+ LIBS += -lesmtp -ldbus-1 -lglib-2.0 -ldbus-glib-1
}
win32{
-LIBS += -lxml2 -ldbus-1 -lglib-2.0 -ldbus-glib-1 -lwsock32 -lws2_32 -liconv
+LIBS += -lxml2 -lwsock32 -lws2_32 -liconv
}
target.path = /usr/local/bin/
INSTALLS += target
@@ -28,12 +28,14 @@ HEADERS += daemonize.h \
simplewizard.h \
xmlencode.h
SOURCES += daemonize.c \
- dbus.c \
frontfuncts.c \
handleopts.c \
- mailmsg.c \
present.c \
runloop.c \
simplewizard.c \
swarmtv.c \
xmlencode.c
+unix{
+SOURCES += mailmsg.c \
+ dbus.c
+}
diff --git a/trunk/swarmtv/winservice/swartvservice.pro b/trunk/swarmtv/winservice/swartvservice.pro
deleted file mode 100644
index f25255b..0000000
--- a/trunk/swarmtv/winservice/swartvservice.pro
+++ /dev/null
@@ -1,11 +0,0 @@
-######################################################################
-# JinXed Thu Mar 10 14:22:41 2011 Anne Jan Brouwer
-######################################################################
-
-TEMPLATE = app
-TARGET =
-DEPENDPATH += . ../libswarmtv
-INCLUDEPATH += . ../libswarmtv
-LIBS += -L../libswarmtv -lswarmtv -lwsock32 -lws2_32
-# Input
-SOURCES += swarmtvservice.c
diff --git a/trunk/swarmtv/winservice/winservice.pro b/trunk/swarmtv/winservice/winservice.pro
new file mode 100644
index 0000000..0749326
--- /dev/null
+++ b/trunk/swarmtv/winservice/winservice.pro
@@ -0,0 +1,11 @@
+######################################################################
+# JinXed Thu Mar 10 14:22:41 2011 Anne Jan Brouwer
+######################################################################
+
+TEMPLATE = app
+TARGET = swarmtvservice
+DEPENDPATH += . ../libswarmtv
+INCLUDEPATH += . ../libswarmtv
+LIBS += -L../libswarmtv -lswarmtv -lwsock32 -lws2_32
+# Input
+SOURCES += swarmtvservice.c