mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 02:25:34 -04:00
Created V0.3.x branch and moved the head into the trunk directory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@246 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
commit
935745a08e
1318 changed files with 348809 additions and 0 deletions
60
libretroshare/src/tcponudp/Makefile
Normal file
60
libretroshare/src/tcponudp/Makefile
Normal file
|
@ -0,0 +1,60 @@
|
|||
|
||||
RS_TOP_DIR=..
|
||||
|
||||
include $(RS_TOP_DIR)/make.opt
|
||||
|
||||
EXECS = librs udp_server test_tou pair_tou reset_tou internal_tou largefile_tou
|
||||
|
||||
OBJ = tcpstream.o tcppacket.o udplayer.o tou_net.o tou.o
|
||||
|
||||
all : $(OBJ) $(EXECS)
|
||||
|
||||
.cc.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
udp_server: $(OBJ) udp_server.o
|
||||
$(CC) $(CFLAGS) -o udp_server $(OBJ) udp_server.o $(LIBS)
|
||||
|
||||
clean:
|
||||
-$(RM) $(OBJ) $(BIOOBJ) test_tou.o pair_tou.o udp_server.o reset_tou.o internal_tou.o largefile_tou.o
|
||||
|
||||
clobber: clean
|
||||
-$(RM) udp_server test_tou pair_tou reset_tou internal_tou largefile_tou libtou.so ../lib/libtou.a
|
||||
|
||||
test_tou : $(OBJ) test_tou.o
|
||||
$(CC) $(CFLAGS) -o test_tou $(OBJ) test_tou.o $(LIBS)
|
||||
|
||||
pair_tou : $(OBJ) pair_tou.o
|
||||
$(CC) $(CFLAGS) -o pair_tou $(OBJ) pair_tou.o $(LIBS)
|
||||
|
||||
reset_tou : $(OBJ) reset_tou.o
|
||||
$(CC) $(CFLAGS) -o reset_tou $(OBJ) reset_tou.o $(LIBS)
|
||||
|
||||
internal_tou : $(OBJ) internal_tou.o
|
||||
$(CC) $(CFLAGS) -o internal_tou $(OBJ) internal_tou.o $(LIBS)
|
||||
|
||||
largefile_tou : $(OBJ) largefile_tou.o
|
||||
$(CC) $(CFLAGS) -o largefile_tou $(OBJ) largefile_tou.o $(LIBS)
|
||||
|
||||
|
||||
|
||||
# For BIO Compilation.... SSL Interface.
|
||||
#
|
||||
|
||||
|
||||
BIOOBJ = bss_tou.o
|
||||
BIOCC = gcc
|
||||
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
|
||||
|
||||
|
||||
libtou.a: $(BIOOBJ) $(OBJ)
|
||||
ar rc ../lib/libtou.a $(BIOOBJ) $(OBJ)
|
||||
|
||||
libtou.so: $(BIOOBJ) $(OBJ)
|
||||
$(CC) -o libtou.so -shared $(BIOOBJ) $(OBJ)
|
||||
|
||||
librs: $(BIOOBJ) $(OBJ)
|
||||
ar r ../lib/libretroshare.a $(BIOOBJ) $(OBJ)
|
||||
|
||||
.c.o:
|
||||
$(BIOCC) $(BIOCFLAGS) -c $<
|
Loading…
Add table
Add a link
Reference in a new issue