aboutsummaryrefslogtreecommitdiff
path: root/zinclib.d/Makefile
diff options
context:
space:
mode:
authorcvs2svn2005-06-10 10:29:11 +0000
committercvs2svn2005-06-10 10:29:11 +0000
commit960cdf29197bc3f5922110cf26627aa9709ac79b (patch)
tree7d6e4a472376b203d21826c2230b4a8c6a9024bd /zinclib.d/Makefile
parent3fc9c4bc1d6f70db41ad418992bf3d461059d3c0 (diff)
downloadtkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.zip
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.gz
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.bz2
tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.xz
This commit was manufactured by cvs2svn to create branch 'bogue40'.
Diffstat (limited to 'zinclib.d/Makefile')
-rw-r--r--zinclib.d/Makefile173
1 files changed, 0 insertions, 173 deletions
diff --git a/zinclib.d/Makefile b/zinclib.d/Makefile
deleted file mode 100644
index 3a9d9d9..0000000
--- a/zinclib.d/Makefile
+++ /dev/null
@@ -1,173 +0,0 @@
-########################################
-# Makefile for zinclib #
-########################################
-
-# default
-all: zinclib
-
-
-
-
-
-######################################################################
-# IntuiKit common Makefile #
-# #
-# This software is the property of IntuiLab SA, France. #
-# #
-# Contributors: #
-# Benoit Peccatte <peccatte@intuilab.com> #
-# #
-######################################################################
-
-## remove when no more in development
-DEBUG :=1
-
-##################################
-# Default GNU compilation options
-##################################
-CXX := g++
-GCC := g++
-LIBEXT := .so
-EXE :=
-DELFILES :=
-
-PROFILE =
-MACRO =
-LIBDIR = ./lib
-INCLUDE = -isystem ./include
-LDFLAGS = $(PROFILE) -L$(LIBDIR)
-CXXFLAGS = -Wall -fpermissive $(MACRO) $(PROFILE) $(INCLUDE)
-INCLUDES = -fno-rtti
-LIBLDFLAGS = -shared $(LDFLAGS) -Wl,-export-dynamic
-LIBCXXFLAGS = -fPIC $(CXXFLAGS)
-
-
-###################################
-# Automatic architecture detection
-###################################
-ifndef ARCH
-ARCH := $(shell uname -s)
-endif
-
-# linux
-ifeq ($(ARCH),Linux)
-LIBEXT := .so
-MACRO += -DLINUX
-LDFLAGS += -ldl
-endif
-
-# MacOSX
-ifeq ($(ARCH),Darwin)
-LIBEXT := .dylib
-MACRO += -DMACOSX_BSD
-LDFLAGS += -ldl
-LIBLDFLAGS = -Wl,-single_module -dynamiclib $(LDFLAGS)
-endif
-
-# Windows cross compile
-ifeq ($(ARCH),win32)
-CXX := i386-mingw32msvc-g++
-GCC := i386-mingw32msvc-gcc
-LIBEXT := .dll
-EXE := .exe
-MACRO += -DWIN32
-LDFLAGS += -L$(EXPAT_HOME)
-endif
-
-# native windows 2K, XP
-ifeq ($(ARCH),MINGW32_NT-5.1)
-LIBEXT := .dll
-EXE := .exe
-MACRO += -DWIN32
-endif
-
-
-
-###################
-# Options handling
-###################
-
-##### DEBUG options
-ifdef DEBUG
-CXXFLAGS += -g
-endif
-
-##### Profiling options
-ifdef PROF
-PROFILE = -pg -fprofile-arcs -ftest-coverage
-DELFILES += *.gcov *.bb *.bbg *.da gmon.out
-endif
-
-##### Purify coverage options
-ifdef COV
-GCC := purecov $(GCC)
-DELFILES += *.pcv
-endif
-
-##### Purify options
-ifdef PURIFY
-GCC := purify -view-file=pure.pv $(GCC)
-DELFILES += .pure* *_pure_* pure.pv
-endif
-
-##### Options to display more warnings
-ifdef VERBOSE
-CXXFLAGS += -Wctor-dtor-privacy -Wnon-virtual-dtor
-CXXFLAGS += -Wold-style-cast -Woverloaded-virtual
-CXXFLAGS += -Wsign-promo -Wsynth -Wsynth -pedantic -Wchar-subscripts
-CXXFLAGS += -Wcomment -Wimplicit -Wmissing-braces -Wparentheses
-CXXFLAGS += -Wreturn-type -Wswitch -Wtrigraphs -Wunused
-CXXFLAGS += -Wreorder -Wunknown-pragmas -W -Wsign-compare
-CXXFLAGS += -Wfloat-equal -Wundef -Wlarger-than-1000
-CXXFLAGS += -Wpointer-arith -Wcast-qual -Wcast-align
-CXXFLAGS += -Wstrict-prototypes -Wmissing-prototypes
-CXXFLAGS += -Wmissing-noreturn -Wmissing-format-attribute -Wpacked
-CXXFLAGS += -Wredundant-decls -Wunreachable-code -Winline
-CXXFLAGS += -Wdisabled-optimization -Wconversion -Wshadow
-CXXFLAGS += -O0
-ifeq ($(VERBOSE),2)
-CXXFLAGS += -Wpadded -Wabi -Weffc++ -Waggregate-return -Wwrite-strings
-endif
-endif
-
-##### Optimization options
-ifdef OPTIMIZE
-CXXFLAGS += -O$(OPTIMIZE) -Wuninitialized
-endif
-
-#########################################################
-# END OF IntuiKit Common #
-#########################################################
-
-# specific options
-LDFLAGS += -ltcl8.4 -ltk8.4 -lTkZinc
-
-# easy target
-zinclib: tmp/zinclib.o
-
-tmp/zinclib.o: tmp/ZincObjects.o tmp/ZincPath.o tmp/Zinc.o
- ld -r -o $@ $^
-
-# generic target
-tmp/%.o: src/%.cpp
- @mkdir -p tmp
- $(CXX) $(LIBCXXFLAGS) -o $@ -c $<
-
-clean:
- rm -f tmp/*.o $(PROFFILES)
-
-# documentation
-doc:
- cd src; doxygen ../doxyConfig
- mkdir -p doc
- rm -rf doc/html
- mv src/docs/* doc
- rmdir src/docs
-
-# tests
-test:
- cd test; $(MAKE)
- cd test; ./runtests.sh
-
-.PHONY: test doc
-