From 310a2c101b32a5e71a616027b6a1b788a341bc02 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 5 Mar 2013 17:39:48 +0100 Subject: initial GPLv2 release --- Makefile | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..592d265 --- /dev/null +++ b/Makefile @@ -0,0 +1,173 @@ +######################################################## +# Makefile automatically generated by Code::Blocks IDE # +######################################################## + +wxWidgetsPath=$(shell dirname `pwd`)/wxBase-2.8.12 +wxXml2Path=$(shell dirname `pwd`)/wxxml2 +wxXml2Lib=$(shell $(wxWidgetsPath)/wx-config --basename | sed 's/wx\_/wxcode_/')_wxxml2-$(shell $(wxWidgetsPath)/wx-config --release) + +### Variables used in this Makefile +default_CC=$(shell $(wxWidgetsPath)/wx-config --cc) +default_CPP=$(shell $(wxWidgetsPath)/wx-config --cxx) +default_LD=$(shell $(wxWidgetsPath)/wx-config --ld | sed 's/-shared//') +default_LIB= + +### Compiler/linker options +default_GLOBAL_CFLAGS=-g +default_PROJECT_CFLAGS=$(shell $(wxWidgetsPath)/wx-config --cppflags) +default_PROJECT_CFLAGS+= -Wall -Wextra -pipe -fno-pcc-struct-return -fno-rtti -fno-exceptions -DwxUSE_UNICODE=1 -D_X86_ +default_GLOBAL_LDFLAGS= +default_PROJECT_LDFLAGS= +default_GLOBAL_INCS= -I$(wxXml2Path)/include -I/usr/include -I/usr/include/libxml2 +default_PROJECT_INCS= +default_GLOBAL_LIBDIRS= +default_PROJECT_LIBDIRS= +default_GLOBAL_LIBS= +default_PROJECT_LIBS=$(shell $(wxWidgetsPath)/wx-config --libs) -L$(wxXml2Path)/lib -Wl,-rpath,$(wxXml2Path)/lib -l:lib$(wxXml2Lib).so.0 -lxml2 + +### Targets compiler flags +default_CFLAGS= $(default_PROJECT_CFLAGS) $(default_GLOBAL_CFLAGS) + +### Targets linker flags +default_LDFLAGS= $(default_PROJECT_LDFLAGS) $(default_GLOBAL_LDFLAGS) + +### Targets include directories +default_INCS= $(default_PROJECT_INCS) $(default_GLOBAL_INCS) + +### Targets library directories +default_LIBDIRS= $(default_PROJECT_LIBDIRS) $(default_GLOBAL_LIBDIRS) + +### Targets libraries +default_LIBS= $(default_PROJECT_LIBS) $(default_GLOBAL_LIBS) + +############################################################################### +# You shouldn't need to modify anything beyond this point # +############################################################################### + +### Resources used in this Makefile +default_RESOURCE= + +### Objects used in this Makefile +default_OBJS=.objs/crc32.o .objs/base64.o .objs/tsapp.o .objs/tschannel.o \ + .objs/tsclient.o .objs/tscommand.o .objs/tsconnectionthread.o \ + .objs/tsquerythread.o .objs/tsplayer.o .objs/tsserver.o \ + .objs/wxstreamex.o .objs/wxbufferex.o +default_LINKOBJS=$(default_OBJS) +default_DEPS=.deps/crc32.d .deps/base64.d .deps/tsapp.d .deps/tschannel.d \ + .deps/tsclient.d .deps/tscommand.d .deps/tsconnectionthread.d \ + .deps/tsquerythread.d .deps/tsplayer.d .deps/tsserver.d \ + .deps/wxstreamex.d .deps/wxbufferex.d + +### The targets of this project +default_BIN=tsclient + +.PHONY: all all-before all-custom all-after clean clean-custom distclean distclean-custom depend_default default-before default-after + +all: all-before default all-after + + +dist: + @zip tsclient.zip Makefile crc32.cpp crc32.h base64.c base64.h tsapp.cpp \ + tsapp.h tschannel.cpp tschannel.h tsclient.cpp tsclient.h tscommand.cpp \ + tscommand.h tsconnectionthread.cpp tsconnectionthread.h tsplayer.cpp \ + tsplayer.h tsserver.cpp tsserver.h wxstreamex.cpp wxstreamex.h + +clean_default: + $(RM) $(default_BIN) $(default_OBJS) $(default_RESOURCE) + +distclean_default: + $(RM) $(default_BIN) $(default_OBJS) $(default_DEPS) $(default_RESOURCE) + +clean: clean_default + +distclean: distclean_default + +depend_default_DIRS: + -@if [ ! -e .deps ]; then mkdir .deps; fi + +depend_default: depend_default_DIRS $(default_DEPS) + +depend: depend_default + +default_DIRS: + -@if [ ! -e .objs ]; then mkdir .objs; fi + +default: depend_default default_DIRS default-before $(default_BIN) default-after + +$(default_BIN): $(default_LINKOBJS) $(default_RESOURCE) + $(default_LD) $(default_LIBDIRS) $(default_BIN) $(default_LINKOBJS) $(default_RESOURCE) $(default_LDFLAGS) $(default_LIBS) + +tsheaders=tschannel.h tsclient.h tscommand.h tsconnectionthread.h tsheaders.h \ + tsplayer.h tsserver.h + +.deps/crc32.d: crc32.cpp crc32.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/crc32.d -MT .objs/crc32.o $(default_INCS) crc32.cpp + +.objs/crc32.o: .deps/crc32.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c crc32.cpp -o .objs/crc32.o + +.deps/base64.d: base64.cpp base64.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/base64.d -MT .objs/base64.o $(default_INCS) base64.cpp + +.objs/base64.o: .deps/base64.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c base64.cpp -o .objs/base64.o + +.deps/tsapp.d: tsapp.cpp tsapp.h $(tsheaders) tsquerythread.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tsapp.d -MT .objs/tsapp.o $(default_INCS) tsapp.cpp + +.objs/tsapp.o: .deps/tsapp.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tsapp.cpp -o .objs/tsapp.o + +.deps/tschannel.d: tschannel.cpp $(tsheaders) + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tschannel.d -MT .objs/tschannel.o $(default_INCS) tschannel.cpp + +.objs/tschannel.o: .deps/tschannel.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tschannel.cpp -o .objs/tschannel.o + +.deps/tsclient.d: tsclient.cpp $(tsheaders) tsserver.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tsclient.d -MT .objs/tsclient.o $(default_INCS) tsclient.cpp + +.objs/tsclient.o: .deps/tsclient.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tsclient.cpp -o .objs/tsclient.o + +.deps/tscommand.d: tscommand.cpp $(tsheaders) crc32.h wxbufferex.h wxstreamex.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tscommand.d -MT .objs/tscommand.o $(default_INCS) tscommand.cpp + +.objs/tscommand.o: .deps/tscommand.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tscommand.cpp -o .objs/tscommand.o + +.deps/tsconnectionthread.d: tsconnectionthread.cpp $(tsheaders) wxbufferex.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tsconnectionthread.d -MT .objs/tsconnectionthread.o $(default_INCS) tsconnectionthread.cpp + +.objs/tsconnectionthread.o: .deps/tsconnectionthread.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tsconnectionthread.cpp -o .objs/tsconnectionthread.o + +.deps/tsquerythread.d: tsquerythread.cpp tsquerythread.h $(tsheaders) base64.h wxbufferex.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tsquerythread.d -MT .objs/tsquerythread.o $(default_INCS) tsquerythread.cpp + +.objs/tsquerythread.o: .deps/tsquerythread.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tsquerythread.cpp -o .objs/tsquerythread.o + +.deps/tsplayer.d: tsplayer.cpp $(tsheaders) + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tsplayer.d -MT .objs/tsplayer.o $(default_INCS) tsplayer.cpp + +.objs/tsplayer.o: .deps/tsplayer.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tsplayer.cpp -o .objs/tsplayer.o + +.deps/tsserver.d: tsserver.cpp tsserver.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/tsserver.d -MT .objs/tsserver.o $(default_INCS) tsserver.cpp + +.objs/tsserver.o: .deps/tsserver.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c tsserver.cpp -o .objs/tsserver.o + +.deps/wxstreamex.d: wxstreamex.cpp wxbufferex.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/wxstreamex.d -MT .objs/wxstreamex.o $(default_INCS) wxstreamex.cpp + +.objs/wxstreamex.o: .deps/wxstreamex.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c wxstreamex.cpp -o .objs/wxstreamex.o + +.deps/wxbufferex.d: wxbufferex.cpp wxstreamex.h + $(default_CPP) -MM $(default_CFLAGS) -MF .deps/wxbufferex.d -MT .objs/wxbufferex.o $(default_INCS) wxbufferex.cpp + +.objs/wxbufferex.o: .deps/wxbufferex.d + $(default_CPP) $(default_CFLAGS) $(default_INCS) -c wxbufferex.cpp -o .objs/wxbufferex.o -- cgit v1.2.3