mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
Changes to libretroshare to make the system compile on Mac OSX 10.3
* minor changes to networking headers. * addition of several virtual destructors (remove warnings) * switched Makefiles to new system. * added macosx specific configuration file. * removed KadC compilation checks. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
789e3a1f62
commit
3451af6152
23 changed files with 288 additions and 279 deletions
|
@ -1,26 +1,28 @@
|
|||
|
||||
RS_TOP_DIR = ..
|
||||
include ../make.opt
|
||||
##### Define any flags that are needed for this section #######
|
||||
###############################################################
|
||||
|
||||
OBJ = upnphandler.o upnputil.o
|
||||
EXTRA_CFLAGS += -I$(UPNPC_DIR) -DMINIUPNP_EXPORTS
|
||||
|
||||
CFLAGS += -I$(UPNPC_DIR) -DMINIUPNP_EXPORTS
|
||||
###############################################################
|
||||
include $(RS_TOP_DIR)/scripts/config.mk
|
||||
###############################################################
|
||||
|
||||
all : $(OBJ) librs upnptest
|
||||
CFLAGS += $(EXTRA_CFLAGS)
|
||||
|
||||
RSOBJ = upnphandler.o upnputil.o
|
||||
|
||||
TESTOBJ = upnptest.o
|
||||
|
||||
TESTS = upnptest
|
||||
|
||||
all: librs tests
|
||||
|
||||
upnptest: $(OBJ) upnptest.o
|
||||
$(CC) $(CFLAGS) -o upnptest $(OBJ) upnptest.o $(RSLIBS)
|
||||
|
||||
librs: $(OBJ)
|
||||
$(AR) r $(LIBRS) $(OBJ)
|
||||
$(RANLIB) $(LIBRS)
|
||||
|
||||
.cc.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
clean:
|
||||
-/bin/rm $(OBJ) upnptest.o
|
||||
|
||||
clobber: clean
|
||||
-/bin/rm upnptest
|
||||
###############################################################
|
||||
include $(RS_TOP_DIR)/scripts/rules.mk
|
||||
###############################################################
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue