mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-11 08:54:34 -05:00
d8bfc6d8b3
* implementation of p3config, cache functionality to p3Qblog * added peerid (pid) attribute to rsQblog item and its serialisation * TODO: logical updating for p3Qblog * TODO: implement tick() so can add to server * TODO: test p3Qblog after addition of tick with some peers git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
81 lines
1.8 KiB
Makefile
81 lines
1.8 KiB
Makefile
|
|
ifneq ($(OS),Linux)
|
|
dummy:
|
|
echo "ERROR Linux configuration file included, but (OS != Linux)
|
|
|
|
endif
|
|
|
|
############ LINUX CONFIGURATION ########################
|
|
|
|
# flags for components....
|
|
PQI_USE_XPGP = 1
|
|
#PQI_USE_PROXY = 1
|
|
#PQI_USE_CHANNELS = 1
|
|
#USE_FILELOOK = 1
|
|
|
|
SSL_DIR=/home/chris/retroshare-package-v0.4.04b/src/openssl-0.9.7g-xpgp-0.1c
|
|
UPNPC_DIR=/home/chris/retroshare-package-v0.4.04b/src/miniupnpc-1.0
|
|
|
|
include $(RS_TOP_DIR)/scripts/checks.mk
|
|
|
|
############ ENFORCE DIRECTORY NAMING ########################
|
|
|
|
CC = g++
|
|
RM = /bin/rm
|
|
RANLIB = ranlib
|
|
LIBDIR = $(RS_TOP_DIR)/lib
|
|
LIBRS = $(LIBDIR)/libretroshare.a
|
|
|
|
# Unix: Linux/Cygwin
|
|
INCLUDE = -I $(RS_TOP_DIR)
|
|
#-I$(KADC_DIR)
|
|
CFLAGS = -Wall -g $(INCLUDE)
|
|
|
|
ifdef PQI_USE_XPGP
|
|
INCLUDE += -I $(SSL_DIR)/include
|
|
endif
|
|
|
|
ifdef PQI_USE_XPGP
|
|
CFLAGS += -DPQI_USE_XPGP
|
|
endif
|
|
|
|
ifdef PQI_USE_PROXY
|
|
CFLAGS += -DPQI_USE_PROXY
|
|
endif
|
|
|
|
ifdef PQI_USE_CHANNELS
|
|
CFLAGS += -DPQI_USE_CHANNELS
|
|
endif
|
|
|
|
ifdef USE_FILELOOK
|
|
CFLAGS += -DUSE_FILELOOK
|
|
endif
|
|
|
|
|
|
RSCFLAGS = -Wall -g $(INCLUDE)
|
|
#########################################################################
|
|
# OS Compile Options
|
|
#########################################################################
|
|
|
|
# For the SSL BIO compilation. (Copied from OpenSSL compilation flags)
|
|
BIOCC = gcc
|
|
|
|
# Linux flags
|
|
BIOCFLAGS = -I $(SSL_DIR)/include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
|
|
|
|
#########################################################################
|
|
# OS specific Linking.
|
|
#########################################################################
|
|
|
|
LIBS = -L$(LIBDIR) -lretroshare
|
|
ifdef PQI_USE_XPGP
|
|
LIBS += -L$(SSL_DIR)
|
|
endif
|
|
LIBS += -lssl -lcrypto -lpthread
|
|
LIBS += -L$(UPNPC_DIR) -lminiupnpc
|
|
LIBS += $(XLIB) -ldl -lz
|
|
|
|
RSLIBS = $(LIBS)
|
|
|
|
|