mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
78c07ca367
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
82 lines
2.1 KiB
Prolog
82 lines
2.1 KiB
Prolog
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
|
|
|
|
RC_FILE = gui/images/retroshare_win.rc
|
|
|
|
DEFINES *= WIN32
|
|
}
|
|
|
|
#################################### 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
|
|
|
|
|
|
|
|
|
|
|
|
|