2009-02-03 14:42:07 -05:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = retroshare-nogui
|
|
|
|
|
|
|
|
################################# Linux ##########################################
|
|
|
|
|
|
|
|
linux-g++ {
|
|
|
|
OBJECTS_DIR = temp/linux-g++/obj
|
|
|
|
|
|
|
|
LIBS += ../../../../lib/linux-g++/libretroshare.a
|
|
|
|
LIBS += ../../../../lib/linux-g++/libminiupnpc.a
|
|
|
|
LIBS += ../../../../lib/linux-g++/libssl.a
|
|
|
|
LIBS += ../../../../lib/linux-g++/libcrypto.a
|
|
|
|
LIBS += -lz
|
|
|
|
}
|
|
|
|
linux-g++-64 {
|
|
|
|
OBJECTS_DIR = temp/linux-g++-64/obj
|
|
|
|
|
|
|
|
LIBS += ../../../../lib/linux-g++-64/libretroshare.a
|
|
|
|
LIBS += ../../../../lib/linux-g++-64/libminiupnpc.a
|
|
|
|
LIBS += ../../../../lib/linux-g++-64/libssl.a
|
|
|
|
LIBS += ../../../../lib/linux-g++-64/libcrypto.a
|
|
|
|
LIBS += -lz
|
|
|
|
}
|
|
|
|
|
|
|
|
#################### Cross compilation for windows under Linux ###################
|
|
|
|
|
|
|
|
win32-x-g++ {
|
|
|
|
OBJECTS_DIR = temp/win32-x-g++/obj
|
|
|
|
|
|
|
|
LIBS += ../../../../lib/win32-x-g++/libretroshare.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++/libssl.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++/libcrypto.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++/libminiupnpc.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++/libz.a
|
|
|
|
LIBS += -L${HOME}/.wine/drive_c/pthreads/lib -lpthreadGCE2
|
|
|
|
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32 -gdi32
|
|
|
|
LIBS += -lole32 -lwinmm
|
2009-02-08 09:30:28 -05:00
|
|
|
|
2009-02-03 14:42:07 -05:00
|
|
|
RC_FILE = gui/images/retroshare_win.rc
|
2009-02-08 09:30:28 -05:00
|
|
|
|
|
|
|
DEFINES *= WIN32
|
2009-02-03 14:42:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#################################### Windows #####################################
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
OBJECTS_DIR = temp/obj
|
|
|
|
RCC_DIR = temp/qrc
|
|
|
|
UI_DIR = temp/ui
|
|
|
|
MOC_DIR = temp/moc
|
|
|
|
|
|
|
|
LIBS += -L"../../../../lib" -lretroshare -lssl -lcrypto -lpthreadGC2d -lminiupnpc -lz
|
|
|
|
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -gdi32
|
|
|
|
LIBS += -lole32 -lwinmm
|
|
|
|
}
|
|
|
|
|
|
|
|
##################################### MacOS ######################################
|
|
|
|
|
|
|
|
macx {
|
|
|
|
# ENABLE THIS OPTION FOR Univeral Binary BUILD.
|
|
|
|
# CONFIG += ppc x86
|
|
|
|
|
|
|
|
LIBS += -Wl,-search_paths_first
|
|
|
|
}
|
|
|
|
|
|
|
|
############################## Common stuff ######################################
|
|
|
|
|
|
|
|
DEPENDPATH += ../../libretroshare/src
|
|
|
|
|
|
|
|
INCLUDEPATH += . ../../libretroshare/src
|
|
|
|
|
|
|
|
# Input
|
|
|
|
HEADERS += notifytxt.h
|
|
|
|
SOURCES += notifytxt.cc \
|
|
|
|
retroshare.cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|