From bc0f0e96a3ae5349cb398e8a074ef5a26775410c Mon Sep 17 00:00:00 2001 From: hagen Date: Fri, 12 Dec 2014 07:40:35 +0000 Subject: [PATCH] * (3/3) 2nd try : drop api/ subdir --- api/Makefile | 23 ----------------------- api/filelist.mk | 13 ------------- 2 files changed, 36 deletions(-) delete mode 100644 api/Makefile delete mode 100644 api/filelist.mk diff --git a/api/Makefile b/api/Makefile deleted file mode 100644 index 8320cb4f..00000000 --- a/api/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -UNAME := $(shell uname -s) -ifeq ($(UNAME),Darwin) -include ../Makefile.osx -else ifeq ($(UNAME), FreeBSD) -include ../Makefile.bsd -else -include ../Makefile.linux -endif -SHARED_LIB = libi2pd.so -all: obj $(SHARED_LIB) -$(SHARED_LIB): $(OBJECTS:obj/%=obj/%) - $(CXX) -shared -o $(SHARED_LIB) $^ -.SUFFIXES: -.SUFFIXES: .c .cc .C .cpp .o -obj/%.o : ../%.cpp - $(CXX) -o $@ $< -c $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) -I.. -fPIC $(CPU_FLAGS) -obj: - mkdir -p obj -clean: - rm -fr obj $(SHARED_LIB) -.PHONY: all -.PHONY: clean - diff --git a/api/filelist.mk b/api/filelist.mk deleted file mode 100644 index 88f68204..00000000 --- a/api/filelist.mk +++ /dev/null @@ -1,13 +0,0 @@ -CPP_FILES := ../CryptoConst.cpp ../base64.cpp ../NTCPSession.cpp ../RouterInfo.cpp \ -../Transports.cpp ../RouterContext.cpp ../NetDb.cpp ../LeaseSet.cpp Tunnel.cpp \ -../TunnelEndpoint.cpp ../TunnelGateway.cpp ../TransitTunnel.cpp ../I2NPProtocol.cpp \ -../Log.cpp ../Garlic.cpp ../Streaming.cpp ../Destination.cpp ../Identity.cpp \ -../SSU.cpp ../SSUSession.cpp ../SSUData.cpp ../util.cpp ../Reseed.cpp ../SSUData.cpp \ -../aes.cpp ../TunnelPool.cpp ../AddressBook.cpp ../Datagram.cpp ../api.cpp -H_FILES := ../CryptoConst.h ../base64.h ../NTCPSession.h ../RouterInfo.h ../Transports.h \ -../RouterContext.h ../NetDb.h ../LeaseSet.h ../Tunnel.h ../TunnelEndpoint.h \ -../TunnelGateway.h ../TransitTunnel.h ../I2NPProtocol.h ../Log.h ../Garlic.h \ -../Streaming.h ../Destination.h ../Identity.h ../SSU.h ../SSUSession.h ../SSUData.h \ -../util.h ../Reseed.h ../SSUData.h ../aes.h ../TunnelPool.h ../AddressBook.h ../version.h \ -../Signature.h ../TransportSession.h ../Datagram.h ../api.h -OBJECTS = $(addprefix obj/, $(notdir $(CPP_FILES:.cpp=.o)))