New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / architecture / osclib / oscpack / Makefile
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/architecture/osclib/oscpack/Makefile b/interpretor/preprocessor/faust-0.9.47mr3/architecture/osclib/oscpack/Makefile
new file mode 100644 (file)
index 0000000..180ae85
--- /dev/null
@@ -0,0 +1,56 @@
+libname     := liboscpack.a\r
+system ?= $(shell uname -s)\r
+\r
+ifeq ($(system), Darwin)\r
+subprojects := ip ip/posix osc\r
+sources     := $(wildcard ip/*.cpp)  $(wildcard ip/posix/*.cpp)  $(wildcard osc/*.cpp)\r
+ARCHFLAGS      :=  -arch i386 -arch x86_64\r
+\r
+else \r
+ifeq ($(system), Linux)\r
+subprojects := ip ip/posix osc\r
+sources     := $(wildcard ip/*.cpp)  $(wildcard ip/posix/*.cpp)  $(wildcard osc/*.cpp)\r
+ARCHFLAGS      := \r
+\r
+else\r
+subprojects := ip ip/win32 osc\r
+sources     := $(wildcard ip/*.cpp)  $(wildcard ip/win32/*.cpp)  $(wildcard osc/*.cpp)\r
+ARCHFLAGS      := \r
+endif\r
+endif\r
+\r
+VPATH = $(subprojects)\r
+\r
+CXXFLAGS ?= -O3 -Wall -Wuninitialized $(ARCHFLAGS)\r
+CXXFLAGS += -Wno-parentheses -I. $(addprefix -I, $(subprojects))\r
+\r
+objects := $(sources:.cpp=.o)\r
+\r
+\r
+## TARGETS\r
+\r
+all: $(libname)\r
+\r
+$(libname): $(objects)\r
+       rm -f $@\r
+       ar cq $@ $(objects)\r
+       ranlib $@\r
+       \r
+depend :\r
+       makedepend -fMakefile -w120 -Y -- $(CXXFLAGS) -- $(sources)\r
+       \r
+clean :\r
+       rm -f $(objects)\r
+       rm -f $(libname)\r
+       \r
+       \r
+# DO NOT DELETE\r
+
+ip/IpEndpointName.o: ip/IpEndpointName.h ip/NetworkingUtils.h
+ip/posix/NetworkingUtils.o: ip/NetworkingUtils.h
+ip/posix/UdpSocket.o: ip/UdpSocket.h ip/NetworkingUtils.h ip/IpEndpointName.h ip/PacketListener.h ip/TimerListener.h
+osc/OscOutboundPacketStream.o: osc/OscOutboundPacketStream.h osc/OscTypes.h osc/OscException.h osc/OscHostEndianness.h
+osc/OscPrintReceivedElements.o: osc/OscPrintReceivedElements.h osc/OscReceivedElements.h osc/OscTypes.h
+osc/OscPrintReceivedElements.o: osc/OscException.h
+osc/OscReceivedElements.o: osc/OscReceivedElements.h osc/OscTypes.h osc/OscException.h osc/OscHostEndianness.h
+osc/OscTypes.o: osc/OscTypes.h