diff --git a/build/bakefiles/Bakefiles.bkgen b/build/bakefiles/Bakefiles.bkgen deleted file mode 100644 index 41fcfb7..0000000 --- a/build/bakefiles/Bakefiles.bkgen +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - muparser.bkl - - dmars,dmars_smake,cbx_unix,cbuilderx,msevc4prj - - autoconf,mingw,msvc - - -o ../makefile.mingw - -o ../makefile.vc - - - - - - -o../../Makefile.in - - - - - -DAUTOCONF_MACROS_FILE=../autoconf/autoconf_inc.m4 - - - diff --git a/build/bakefiles/howto.txt b/build/bakefiles/howto.txt deleted file mode 100644 index 4e246bb..0000000 --- a/build/bakefiles/howto.txt +++ /dev/null @@ -1,28 +0,0 @@ -These are basic instructions for recreating the project files: - -Changing the version number: ----------------------------- -build/autoconf/configure.ac -Line 9: -AC_INIT .... - -Change SO version ------------------ -muparser.bkl / tag - -Updating the make- and projectfiles: ------------------------------------- -Clearing old project and makefiles: -bakefile_gen -c - -Remaking Projects and Makefiles: -bakefile_gen - -In addition to that automake must be started to create the new configure script: -rm -rf autoconf/autom4te.cache autoconf/aclocal.m4 -../autoconf/acregen.sh - -!!! IMPORTANT !!! -When building bakefile from the tar.gz archive make sure to -use the option --prefix=/usr wit the config file since its -path will default to /usr/local. This would cause strange errors! diff --git a/build/bakefiles/muparser.bkl b/build/bakefiles/muparser.bkl deleted file mode 100644 index a0cc8df..0000000 --- a/build/bakefiles/muparser.bkl +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - - - - - - - - - obj$(DIRSEP)$(BUILDDIR) - - - - - d - - - - - - - - - $(top_builddir)/lib - $(top_builddir)/samples - - - - ../.. - - - .. - - - $(SRCDIR)/lib - $(SRCDIR)/samples - - - - - - - - - - - muparser$(DEBUG_BUILD_POSTFIX) - - - muparser$(DEBUG_BUILD_POSTFIX) - muparser$(DEBUG_BUILD_POSTFIX) - - 2.2 - 2.2.4 - 1 - - - - muParser=muParser_lib+muParser_dll - - - - build/autoconf/muparser.pc - - - - - - - - - - - - - - 1 - - - - - - - $(fileList('samples/example1/*.cpp')) - $(SAMPLEOUTPATH)/example1 - $(substituteFromDict(SHARED, {'1':'USINGDLL', '0':''})) - - - - - - $(fileList('samples/example1/*.cpp')) - $(SAMPLEOUTPATH)/example1 - - - - - - - $(fileList('samples/example2/*.c')) - $(SAMPLEOUTPATH)/example2 - $(substituteFromDict(SHARED, {'1':'USINGDLL', '0':''})) - - - - - - - - - - muParser_lib - muParser_dll - - - - example1 - - example2 - - - - - ( cd $(SRCDIR)$(DIRSEP)docs && doxygen ) - - - - - diff --git a/build/bakefiles/presets/debugopt.bkl b/build/bakefiles/presets/debugopt.bkl deleted file mode 100644 index eb47bc4..0000000 --- a/build/bakefiles/presets/debugopt.bkl +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - 0 - - - - - - - - rel - dbg - - - diff --git a/build/bakefiles/presets/setbuilddir.bkl b/build/bakefiles/presets/setbuilddir.bkl deleted file mode 100644 index 9e7eef0..0000000 --- a/build/bakefiles/presets/setbuilddir.bkl +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - _$(SHAREDBUILDPOSTFIX) - _$(DEBUGBUILDPOSTFIX) - _$(UNICODEBUILDPOSTFIX) - - - - $(COMPILER)$(SHRDSTR)$(DBGSTR)$(UNICSTR) - - - - diff --git a/build/bakefiles/presets/sharedopt.bkl b/build/bakefiles/presets/sharedopt.bkl deleted file mode 100644 index 461437b..0000000 --- a/build/bakefiles/presets/sharedopt.bkl +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - 0 - - - - - - static - shared - - - diff --git a/build/bakefiles/presets/unicodeopt.bkl b/build/bakefiles/presets/unicodeopt.bkl deleted file mode 100644 index 5fe3ac2..0000000 --- a/build/bakefiles/presets/unicodeopt.bkl +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - 0 - - - - - - - - a - u - - - diff --git a/build/makefile.mingw b/build/makefile.mingw deleted file mode 100644 index 2521f7d..0000000 --- a/build/makefile.mingw +++ /dev/null @@ -1,283 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.9 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# Compiler flags to link shared library -LINK_DLL_FLAGS ?= -shared - -# C compiler -CC = gcc - -# C++ compiler -CXX = g++ - -# Standard flags for CC -CFLAGS ?= - -# Standard flags for C++ -CXXFLAGS ?= - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS ?= - -# Standard linker flags -LDFLAGS ?= - -# Set to 1 to build debug version [0,1] -DEBUG ?= 0 - -# Set to 1 to build shared (DLL) version [0,1] -SHARED ?= 0 - -# Set to 1 to compile samples [0,1] -SAMPLES ?= 1 - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -CPPDEPS = -MT$@ -MF$@.d -MD -MP -MUPARSER_LIB_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) \ - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -D_WIN32 -I..\include \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_LIB_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.o -MUPARSER_DLL_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) \ - $(____DEBUG_8) $(____SHARED) $(____SHARED_0) -D_WIN32 -I..\include \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_DLL_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.o \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.o -EXAMPLE1_CXXFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) $(____DEBUG_8) \ - -I..\include $(____SHARED_1) $(CPPFLAGS) $(CXXFLAGS) -EXAMPLE1_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_example1.o -EXAMPLE2_CFLAGS = $(____DEBUG) $(____DEBUG_3) $(____DEBUG_9) $(____DEBUG_8) \ - -I..\include $(____SHARED_1) $(CPPFLAGS) $(CFLAGS) -EXAMPLE2_OBJECTS = \ - obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.o - -### Conditionally set variables: ### - -ifeq ($(DEBUG),0) -DEBUGBUILDPOSTFIX = rel -endif -ifeq ($(DEBUG),1) -DEBUGBUILDPOSTFIX = dbg -endif -ifeq ($(SHARED),0) -SHAREDBUILDPOSTFIX = static -endif -ifeq ($(SHARED),1) -SHAREDBUILDPOSTFIX = shared -endif -ifeq ($(DEBUG),0) -DEBUG_BUILD_POSTFIX = -endif -ifeq ($(DEBUG),1) -DEBUG_BUILD_POSTFIX = d -endif -ifeq ($(SHARED),0) -__muParser_lib___depname = ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a -endif -ifeq ($(SHARED),1) -__muParser_dll___depname = ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll -endif -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),0) -__example1___depname = ..\samples\example1\example1.exe -endif -endif -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),1) -__example2___depname = ..\samples\example2\example2.exe -endif -endif -ifeq ($(SHARED),0) -____SHARED = -endif -ifeq ($(SHARED),1) -____SHARED = -DMUPARSER_DLL -endif -ifeq ($(SHARED),0) -____SHARED_0 = -endif -ifeq ($(SHARED),1) -____SHARED_0 = -DMUPARSERLIB_EXPORTS -endif -ifeq ($(DEBUG),0) -____DEBUG = -DNDEBUG -endif -ifeq ($(DEBUG),1) -____DEBUG = -endif -ifeq ($(DEBUG),0) -____DEBUG_3 = -O2 -endif -ifeq ($(DEBUG),1) -____DEBUG_3 = -O0 -endif -ifeq ($(DEBUG),0) -____DEBUG_8 = -endif -ifeq ($(DEBUG),1) -____DEBUG_8 = -W -Wall -endif -ifeq ($(SHARED),0) -____SHARED_1 = -endif -ifeq ($(SHARED),1) -____SHARED_1 = -DUSINGDLL -endif -ifeq ($(DEBUG),0) -____DEBUG_9 = -endif -ifeq ($(DEBUG),1) -____DEBUG_9 = -g -endif - - -all: obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX): - -if not exist obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) mkdir obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) - -### Targets: ### - -all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname) $(__example2___depname) - -clean: - -if exist obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.o del obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.o - -if exist obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.d del obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.d - -if exist ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a del ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a - -if exist ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll del ..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll - -if exist ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a del ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a - -if exist ..\samples\example1\example1.exe del ..\samples\example1\example1.exe - -if exist ..\samples\example2\example2.exe del ..\samples\example2\example2.exe - -ifeq ($(SHARED),0) -..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a: $(MUPARSER_LIB_OBJECTS) - if exist $@ del $@ - ar rcu $@ $(MUPARSER_LIB_OBJECTS) - ranlib $@ -endif - -ifeq ($(SHARED),1) -..\lib\muparser$(DEBUG_BUILD_POSTFIX).dll: $(MUPARSER_DLL_OBJECTS) - $(CXX) $(LINK_DLL_FLAGS) -fPIC -o $@ $(MUPARSER_DLL_OBJECTS) $(____DEBUG_9) -Wl,--out-implib=..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a $(LDFLAGS) -endif - -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),0) -..\samples\example1\example1.exe: $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) - $(CXX) -o $@ $(EXAMPLE1_OBJECTS) $(____DEBUG_9) -L..\lib $(LDFLAGS) ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a -endif -endif - -ifeq ($(SAMPLES),1) -ifeq ($(SHARED),1) -..\samples\example2\example2.exe: $(EXAMPLE2_OBJECTS) $(__muParser_lib___depname) - $(CC) -o $@ $(EXAMPLE2_OBJECTS) $(____DEBUG_9) -L..\lib $(LDFLAGS) ..\lib\libmuparser$(DEBUG_BUILD_POSTFIX).a -endif -endif - -lib: $(__muParser_lib___depname) $(__muParser_dll___depname) - -samples: $(__example1___depname) $(__example2___depname) - -documentation: - ( cd ..\docs && doxygen ) - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.o: ../src/muParser.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.o: ../src/muParserBase.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.o: ../src/muParserBytecode.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.o: ../src/muParserCallback.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.o: ../src/muParserDLL.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.o: ../src/muParserError.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.o: ../src/muParserInt.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.o: ../src/muParserTest.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.o: ../src/muParserTokenReader.cpp - $(CXX) -c -o $@ $(MUPARSER_LIB_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.o: ../src/muParser.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.o: ../src/muParserBase.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.o: ../src/muParserBytecode.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.o: ../src/muParserCallback.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.o: ../src/muParserDLL.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.o: ../src/muParserError.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.o: ../src/muParserInt.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.o: ../src/muParserTest.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.o: ../src/muParserTokenReader.cpp - $(CXX) -c -o $@ $(MUPARSER_DLL_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_example1.o: ../samples/example1/example1.cpp - $(CXX) -c -o $@ $(EXAMPLE1_CXXFLAGS) $(CPPDEPS) $< - -obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.o: ../samples/example2/example2.c - $(CC) -c -o $@ $(EXAMPLE2_CFLAGS) $(CPPDEPS) $< - -.PHONY: all clean lib samples - - -SHELL := $(COMSPEC) - -# Dependencies tracking: --include obj\gcc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)/*.d diff --git a/build/makefile.vc b/build/makefile.vc deleted file mode 100644 index 9fe9d39..0000000 --- a/build/makefile.vc +++ /dev/null @@ -1,322 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.9 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# C compiler -CC = cl - -# C++ compiler -CXX = cl - -# Standard flags for CC -CFLAGS = - -# Standard flags for C++ -CXXFLAGS = - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS = - -# Standard linker flags -LDFLAGS = - -# Set to 1 to build debug version [0,1] -# 0 - Release -# 1 - Debug -DEBUG = 0 - -# Set to 1 to build shared (DLL) version [0,1] -# 0 - Static -# 1 - DLL -SHARED = 0 - -# Set to 1 to compile samples [0,1] -SAMPLES = 1 - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -MUPARSER_LIB_CXXFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\lib\muparser$(DEBUG_3).pdb $(____DEBUG_6) \ - $(______DEBUG) $(____SHARED) $(____SHARED_0) /D_WIN32 /I..\include /GR /EHsc \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_LIB_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj -MUPARSER_DLL_CXXFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\lib\muparser$(DEBUG_3).pdb $(____DEBUG_6) \ - $(______DEBUG) $(____SHARED) $(____SHARED_0) /D_WIN32 /I..\include /GR /EHsc \ - $(CPPFLAGS) $(CXXFLAGS) -MUPARSER_DLL_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj -EXAMPLE1_CXXFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\samples\example1\example1.pdb $(____DEBUG_6) \ - $(______DEBUG) /I..\include $(____SHARED_1) /GR /EHsc $(CPPFLAGS) $(CXXFLAGS) -EXAMPLE1_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_example1.obj -EXAMPLE2_CFLAGS = /MD$(DEBUG_3) /DWIN32 $(____DEBUG_8) $(____DEBUG) \ - $(____DEBUG_9) /Fd..\samples\example2\example2.pdb $(____DEBUG_6) \ - $(______DEBUG) /I..\include $(____SHARED_1) $(CPPFLAGS) $(CFLAGS) -EXAMPLE2_OBJECTS = \ - obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj - -### Conditionally set variables: ### - -!if "$(DEBUG)" == "0" -DEBUGBUILDPOSTFIX = rel -!endif -!if "$(DEBUG)" == "1" -DEBUGBUILDPOSTFIX = dbg -!endif -!if "$(SHARED)" == "0" -SHAREDBUILDPOSTFIX = static -!endif -!if "$(SHARED)" == "1" -SHAREDBUILDPOSTFIX = shared -!endif -!if "$(SHARED)" == "0" -__muParser_lib___depname = ..\lib\muparser$(DEBUG_3).lib -!endif -!if "$(SHARED)" == "1" -__muParser_dll___depname = ..\lib\muparser$(DEBUG_3).dll -!endif -!if "$(DEBUG)" == "0" -____DEBUG_23_26 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_23_26 = $(____DEBUG_10) -!endif -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "0" -__example1___depname = ..\samples\example1\example1.exe -!endif -!if "$(DEBUG)" == "0" -____DEBUG_40_43 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_40_43 = $(____DEBUG_10) -!endif -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "1" -__example2___depname = ..\samples\example2\example2.exe -!endif -!if "$(DEBUG)" == "0" -____DEBUG_56_59 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_56_59 = $(____DEBUG_10) -!endif -!if "$(SHARED)" == "0" -____SHARED = -!endif -!if "$(SHARED)" == "1" -____SHARED = /DMUPARSER_DLL -!endif -!if "$(SHARED)" == "0" -____SHARED_0 = -!endif -!if "$(SHARED)" == "1" -____SHARED_0 = /DMUPARSERLIB_EXPORTS -!endif -!if "$(DEBUG)" == "0" -____DEBUG_8 = /DNDEBUG -!endif -!if "$(DEBUG)" == "1" -____DEBUG_8 = -!endif -!if "$(DEBUG)" == "0" -____DEBUG = /O2 -!endif -!if "$(DEBUG)" == "1" -____DEBUG = /Od -!endif -!if "$(DEBUG)" == "0" -____DEBUG_9 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_9 = /Zi -!endif -!if "$(DEBUG)" == "0" -____DEBUG_5 = -!endif -!if "$(DEBUG)" == "1" -____DEBUG_5 = /DEBUG -!endif -!if "$(DEBUG)" == "0" -____DEBUG_6 = /w -!endif -!if "$(DEBUG)" == "1" -____DEBUG_6 = /W4 -!endif -!if "$(DEBUG)" == "0" -______DEBUG = -!endif -!if "$(DEBUG)" == "1" -______DEBUG = /D_DEBUG -!endif -!if "$(DEBUG)" == "0" -DEBUG_3 = -!endif -!if "$(DEBUG)" == "1" -DEBUG_3 = d -!endif -!if "$(DEBUG)" == "0" -____DEBUG_10 = /opt:ref /opt:icf -!endif -!if "$(DEBUG)" == "1" -____DEBUG_10 = -!endif -!if "$(SHARED)" == "0" -____SHARED_1 = -!endif -!if "$(SHARED)" == "1" -____SHARED_1 = /DUSINGDLL -!endif - - -all: obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX): - -if not exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) mkdir obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX) - -### Targets: ### - -all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname) $(__example2___depname) - -clean: - -if exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj del obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.obj - -if exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res del obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.res - -if exist obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.pch del obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\*.pch - -if exist ..\lib\muparser$(DEBUG_3).lib del ..\lib\muparser$(DEBUG_3).lib - -if exist ..\lib\muparser$(DEBUG_3).dll del ..\lib\muparser$(DEBUG_3).dll - -if exist ..\lib\muparser$(DEBUG_3).ilk del ..\lib\muparser$(DEBUG_3).ilk - -if exist ..\lib\muparser$(DEBUG_3).pdb del ..\lib\muparser$(DEBUG_3).pdb - -if exist ..\lib\muparser$(DEBUG_3).lib del ..\lib\muparser$(DEBUG_3).lib - -if exist ..\samples\example1\example1.exe del ..\samples\example1\example1.exe - -if exist ..\samples\example1\example1.ilk del ..\samples\example1\example1.ilk - -if exist ..\samples\example1\example1.pdb del ..\samples\example1\example1.pdb - -if exist ..\samples\example2\example2.exe del ..\samples\example2\example2.exe - -if exist ..\samples\example2\example2.ilk del ..\samples\example2\example2.ilk - -if exist ..\samples\example2\example2.pdb del ..\samples\example2\example2.pdb - -!if "$(SHARED)" == "0" -..\lib\muparser$(DEBUG_3).lib: $(MUPARSER_LIB_OBJECTS) - if exist $@ del $@ - link /LIB /NOLOGO /OUT:$@ @<< - $(MUPARSER_LIB_OBJECTS) -<< -!endif - -!if "$(SHARED)" == "1" -..\lib\muparser$(DEBUG_3).dll: $(MUPARSER_DLL_OBJECTS) - link /DLL /NOLOGO /OUT:$@ $(____DEBUG_5) /pdb:"..\lib\muparser$(DEBUG_3).pdb" $(____DEBUG_23_26) $(LDFLAGS) @<< - $(MUPARSER_DLL_OBJECTS) /IMPLIB:..\lib\muparser$(DEBUG_3).lib -<< -!endif - -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "0" -..\samples\example1\example1.exe: $(EXAMPLE1_OBJECTS) $(__muParser_lib___depname) - link /NOLOGO /OUT:$@ $(____DEBUG_5) /pdb:"..\samples\example1\example1.pdb" $(____DEBUG_40_43) /LIBPATH:..\lib $(LDFLAGS) @<< - $(EXAMPLE1_OBJECTS) ..\lib\muparser$(DEBUG_3).lib -<< -!endif - -!if "$(SAMPLES)" == "1" && "$(SHARED)" == "1" -..\samples\example2\example2.exe: $(EXAMPLE2_OBJECTS) $(__muParser_lib___depname) - link /NOLOGO /OUT:$@ $(____DEBUG_5) /pdb:"..\samples\example2\example2.pdb" $(____DEBUG_56_59) /LIBPATH:..\lib $(LDFLAGS) @<< - $(EXAMPLE2_OBJECTS) ..\lib\muparser$(DEBUG_3).lib -<< -!endif - -lib: $(__muParser_lib___depname) $(__muParser_dll___depname) - -samples: $(__example1___depname) $(__example2___depname) - -documentation: - ( cd ..\docs && doxygen ) - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParser.obj: ..\src\muParser.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParser.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBase.obj: ..\src\muParserBase.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserBase.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserBytecode.obj: ..\src\muParserBytecode.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserBytecode.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserCallback.obj: ..\src\muParserCallback.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserCallback.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserDLL.obj: ..\src\muParserDLL.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserDLL.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserError.obj: ..\src\muParserError.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserError.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserInt.obj: ..\src\muParserInt.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserInt.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTest.obj: ..\src\muParserTest.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserTest.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_lib_muParserTokenReader.obj: ..\src\muParserTokenReader.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_LIB_CXXFLAGS) ..\src\muParserTokenReader.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParser.obj: ..\src\muParser.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParser.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBase.obj: ..\src\muParserBase.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserBase.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserBytecode.obj: ..\src\muParserBytecode.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserBytecode.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserCallback.obj: ..\src\muParserCallback.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserCallback.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserDLL.obj: ..\src\muParserDLL.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserDLL.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserError.obj: ..\src\muParserError.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserError.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserInt.obj: ..\src\muParserInt.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserInt.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTest.obj: ..\src\muParserTest.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserTest.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\muParser_dll_muParserTokenReader.obj: ..\src\muParserTokenReader.cpp - $(CXX) /c /nologo /TP /Fo$@ $(MUPARSER_DLL_CXXFLAGS) ..\src\muParserTokenReader.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example1_example1.obj: ..\samples\example1\example1.cpp - $(CXX) /c /nologo /TP /Fo$@ $(EXAMPLE1_CXXFLAGS) ..\samples\example1\example1.cpp - -obj\vc_$(SHAREDBUILDPOSTFIX)_$(DEBUGBUILDPOSTFIX)\example2_example2.obj: ..\samples\example2\example2.c - $(CC) /c /nologo /TC /Fo$@ $(EXAMPLE2_CFLAGS) ..\samples\example2\example2.c -