Browse Source

Prerelease 1.7.0

tags/1.7.0
Carsten Larsen 3 years ago
parent
commit
26b380486d
100 changed files with 1946 additions and 22312 deletions
  1. +5
    -3
      .gitignore
  2. +30
    -21
      HISTORY
  3. +9
    -65
      LICENSE
  4. +124
    -0
      Makefile
  5. +0
    -451
      Makefile.clang
  6. +0
    -451
      Makefile.m68k
  7. +4
    -4
      amath.doxygen
  8. +0
    -339
      amath.vcxproj
  9. +0
    -606
      amath.vcxproj.filters
  10. +0
    -530
      app/lib/real.cpp
  11. +0
    -87
      app/localize/help.h
  12. +0
    -67
      app/localize/ialias.h
  13. +0
    -86
      app/localize/ident.h
  14. +0
    -130
      app/localize/lex.h
  15. +0
    -138
      app/localize/start.h
  16. +0
    -121
      app/main/functiondefs.h
  17. +0
    -1213
      app/main/functions.cpp
  18. +0
    -584
      app/main/functions.h
  19. +0
    -884
      app/main/statements.cpp
  20. +0
    -326
      app/main/statements.h
  21. +0
    -178
      app/system/base/io.cpp
  22. +0
    -90
      app/system/base/io.h
  23. +0
    -413
      app/system/program_test.cpp
  24. +2
    -2
      build/debian/control-amd64
  25. +2
    -2
      build/debian/control-i386
  26. +1
    -1
      build/flexcat/configure
  27. +7
    -4
      builddeb
  28. +116
    -0
      builddist
  29. +0
    -118
      builddist.sh
  30. +52
    -0
      buildwin
  31. +16
    -16
      catalog/dansk/amath-help.ct
  32. +6
    -6
      catalog/dansk/amath-keyword.ct
  33. +18
    -18
      catalog/dansk/amath-text.ct
  34. +2
    -2
      catalog/english/amath-help.ct
  35. +8
    -8
      catalog/english/amath-ident.ct
  36. +1
    -1
      catalog/english/amath-text.ct
  37. +813
    -340
      configure
  38. +0
    -96
      lib/dconv/dmath.cpp
  39. +0
    -84
      lib/dconv/dmath.h
  40. +0
    -692
      lib/dconv/dprint.cpp
  41. +0
    -1161
      lib/dconv/dragon4.cpp
  42. +0
    -134
      lib/dconv/dragon4.h
  43. +0
    -115
      lib/dprint.h
  44. +0
    -99
      lib/dstandard.h
  45. +0
    -43
      lib/mem.h
  46. +0
    -149
      scan-build/index.html
  47. +0
    -477
      scan-build/report-020199.html
  48. +0
    -1287
      scan-build/report-262893.html
  49. +0
    -349
      scan-build/report-273e84.html
  50. +0
    -485
      scan-build/report-27428e.html
  51. +0
    -1291
      scan-build/report-27e74a.html
  52. +0
    -447
      scan-build/report-3a56cc.html
  53. +0
    -781
      scan-build/report-40d42f.html
  54. +0
    -464
      scan-build/report-4b20f3.html
  55. +0
    -467
      scan-build/report-4fd7ba.html
  56. +0
    -467
      scan-build/report-762445.html
  57. +0
    -469
      scan-build/report-831a75.html
  58. +0
    -1273
      scan-build/report-a2ee02.html
  59. +0
    -1288
      scan-build/report-b77ae8.html
  60. +0
    -488
      scan-build/report-cc9ed8.html
  61. +0
    -349
      scan-build/report-e79f68.html
  62. +0
    -313
      scan-build/report-e85ac2.html
  63. +0
    -471
      scan-build/report-f61e62.html
  64. +0
    -477
      scan-build/report-fcf014.html
  65. +0
    -62
      scan-build/scanview.css
  66. +0
    -492
      scan-build/sorttable.js
  67. +148
    -84
      src/amath.h
  68. +24
    -17
      src/amathc.h
  69. +49
    -0
      src/amatht.h
  70. +91
    -0
      src/clib/Makefile
  71. +11
    -7
      src/clib/alloccpy.c
  72. +49
    -39
      src/clib/mem.c
  73. +18
    -11
      src/clib/memcpy.c
  74. +27
    -17
      src/clib/memset.c
  75. +2
    -2
      src/clib/strcmp.c
  76. +5
    -5
      src/clib/strlen.c
  77. +20
    -12
      src/clib/untag.c
  78. +10
    -11
      src/complex.h
  79. +244
    -0
      src/cplex/Makefile
  80. +2
    -2
      src/cplex/cacos.c
  81. +2
    -2
      src/cplex/cacosh.c
  82. +2
    -2
      src/cplex/cacot.c
  83. +2
    -2
      src/cplex/cacoth.c
  84. +2
    -2
      src/cplex/cacsc.c
  85. +2
    -2
      src/cplex/cacsch.c
  86. +2
    -2
      src/cplex/casec.c
  87. +2
    -2
      src/cplex/casech.c
  88. +2
    -2
      src/cplex/casin.c
  89. +2
    -2
      src/cplex/casinh.c
  90. +2
    -2
      src/cplex/catan.c
  91. +2
    -2
      src/cplex/catanh.c
  92. +2
    -2
      src/cplex/ccbrt.c
  93. +0
    -0
      src/cplex/ccos.c
  94. +0
    -0
      src/cplex/ccosh.c
  95. +2
    -2
      src/cplex/ccot.c
  96. +1
    -1
      src/cplex/ccoth.c
  97. +2
    -2
      src/cplex/ccsc.c
  98. +1
    -1
      src/cplex/ccsch.c
  99. +0
    -0
      src/cplex/cexp.c
  100. +0
    -0
      src/cplex/clog.c

+ 5
- 3
.gitignore View File

@@ -1,13 +1,15 @@
Makefile
.vs
*.kdev4
*.vcxproj.user
*Debug/*
*.o
*.obj
*.a
*.so
amath
amath-test
catalog/flexcat
*.vcxproj.user
.vs
catalog/flexcat/flexcat
*_.3
doxygen.warn
*.deb

+ 30
- 21
HISTORY View File

@@ -2,33 +2,43 @@
--- amath change history ---
-------------------------------------------------------------------------------

v1.7.0 February 28 2017
- Introduce scientific notation.
- Introduce Not a Number (NaN).
- Fixed bugs related to infinity (Inf).
- Fixed bugs in log of complex numbers.
- Fixed bugs in numeral systems.
- Miscellaneous minor bug fixes.
- Early trigonometric functions.
- Static and dynamic libraries.

v1.6.4 February 04 2017
- Fixed Windows memory bugs
- Fixed 64 bit memory bugs
- Fixed Windows memory bugs.
- Fixed 64 bit memory bugs.

v1.6.3 February 03 2017
- Improved error handling
- Fixed error in fraction point parsing
- Fixed typo in help text
- 64 bit PowerPC support
- Fixed AROS build errors
- Fixed ARMv6 build errors
- Fixed 64 bit ARM build errors
- Debian support
- NetBSD support
- Improved error handling.
- Fixed error in fraction point parsing.
- Fixed typo in help text.
- 64 bit PowerPC support.
- Fixed AROS build errors.
- Fixed ARMv6 build errors.
- Fixed 64 bit ARM build errors.
- Debian support.
- NetBSD support.

v1.6.2 January 24 2017
- Fixed bug in memory allocation
- Fixed bug in native keybord input
- Included build options in executables
- ARM support
- Fixed bug in memory allocation.
- Fixed bug in native keybord input.
- Included build options in executables.
- ARM support.

v1.6.1 January 21 2017
- Fixed language bug in Windows
- Fixed potential memory bugs
- Clang compiler support
- Update copyright texts
- New doxygen documentation
- Fixed language bug in Windows.
- Fixed potential memory bugs.
- Clang compiler support.
- Update copyright texts.
- New doxygen documentation.

v1.6.0 April 7 2016
- Complete internal restructure of source code.
@@ -143,4 +153,3 @@ v1.1b July 13 2014

v1.0b July 11 2014
- First public release.


+ 9
- 65
LICENSE View File

@@ -1,8 +1,15 @@
-------------------------------------------------------------------------------

Copyright (c) 2015-2017 Carsten Sonne Larsen <cs@innolan.dk>
Copyright (c) 2014-2017 Carsten Sonne Larsen <cs@innolan.net>
Copyright (c) 2007 The NetBSD Foundation, Inc.
Copyright (c) 1990, 1993 The Regents of the University of California.
All rights reserved.

This code is derived from software written by Stephen L. Moshier.
It is redistributed by the NetBSD Foundation by permission of the author.

This code is derived from software contributed to Berkeley by
Mike Hibler and Chris Torek.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

@@ -23,66 +30,3 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-------------------------------------------------------------------------------

Copyright (c) 2007 The NetBSD Foundation, Inc.
All rights reserved.

This code is derived from software written by Stephen L. Moshier.
It is redistributed by the NetBSD Foundation by permission of the author.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

-------------------------------------------------------------------------------

Copyright (c) 1990, 1993
The Regents of the University of California. All rights reserved.

This code is derived from software contributed to Berkeley by
Mike Hibler and Chris Torek.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

-------------------------------------------------------------------------------

+ 124
- 0
Makefile View File

@@ -0,0 +1,124 @@

CC = gcc
CXX = g++
CFLAGS = -O2 -DWITHTEST -Wall -Isrc -Isrc/main
CXXFLAGS = -O2 -DWITHTEST -Wall -Isrc -Isrc/main
AR = ar
RANLIB = ranlib
LFLAGS = -lappsystem -lfunctions -lstatement -lappmain -lfunctions -lstatement -lappmain -lamathapp -lamathcplex -lamath -lamathc -lstdc++
LPATH = -Lsrc/lib -Lsrc/clib -Lsrc/real -Lsrc/cplex -Lsrc/main/function -Lsrc/main/statement -Lsrc/main -Lsrc/system
LPATHS = -Lsrc/lib/static -Lsrc/clib/static -Lsrc/real/static -Lsrc/cplex/static -Lsrc/main/function -Lsrc/main/statement -Lsrc/main -Lsrc/system
FLXCAT = build/flexcat/flexcat
MKDIR = mkdir -p
DEL = rm -f
INSTALL = install -m 0755
PREFIX = /usr

all: shared-app
app: appmain functions statement appsystem
libs: amathapp amath amathc amathcplex

amath: static-app
static: static-app

src/main.o: src/main.cpp
${CXX} ${CXXFLAGS} -c src/main.cpp -o src/main.o

appmain:
cd src/main && ${MAKE}

appsystem:
cd src/system && ${MAKE}

functions:
cd src/main/function && ${MAKE}

statement:
cd src/main/statement && ${MAKE}

amathapp:
cd src/lib && ${MAKE}

amath:
cd src/real && ${MAKE}

amathc:
cd src/clib && ${MAKE}

amathcplex:
cd src/cplex && ${MAKE}

catalogsa:
${FLXCAT} text/keyword.cd src/localize/kword.h=text/keyword.sd
${FLXCAT} text/help.cd src/localize/help.h=text/help.sd
${FLXCAT} text/ident.cd src/localize/ident.h=text/ident.sd
${FLXCAT} text/text.cd src/localize/text.h=text/text.sd

catalogsu:
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-help.ct >utext/dk-help.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-text.ct >utext/dk-text.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict

catalogsw:
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-help.ct >utext/dk-help.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-text.ct >utext/dk-text.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict

amigacatalogs:
${MKDIR} dist/catalog/english
${FLXCAT} text/help.cd catalog/english/amath-help.ct CATALOG dist/catalog/english/amath-help.catalog
${FLXCAT} text/ident.cd catalog/english/amath-ident.ct CATALOG dist/catalog/english/amath-ident.catalog
${FLXCAT} text/text.cd catalog/english/amath-text.ct CATALOG dist/catalog/english/amath-text.catalog
${MKDIR} dist/catalog/dansk
${FLXCAT} text/help.cd catalog/dansk/amath-help.ct CATALOG dist/catalog/dansk/amath-help.catalog
${FLXCAT} text/ident.cd catalog/dansk/amath-ident.ct CATALOG dist/catalog/dansk/amath-ident.catalog
${FLXCAT} text/text.cd catalog/dansk/amath-text.ct CATALOG dist/catalog/dansk/amath-text.catalog
${FLXCAT} text/keyword.cd catalog/dansk/amath-keyword.ct CATALOG dist/catalog/dansk/amath-keyword.catalog

shared-app: app libs src/main.o
${CC} ${CFLAGS} -s src/main.o -o amath ${LPATH} ${LFLAGS}

static-app: src/main.o
cd src/lib && ${MAKE} static
cd src/clib && ${MAKE} static
cd src/real && ${MAKE} static
cd src/cplex && ${MAKE} static
cd src/main && ${MAKE} static
cd src/system && ${MAKE} static
cd src/main/function && ${MAKE} static
cd src/main/statement && ${MAKE} static
${CC} ${CFLAGS} -s src/main.o -o amath ${LPATHS} ${LFLAGS}

.PHONY: test
test: static-app
./amath test

.PHONY: install
install: amath
cd src/lib && ${MAKE} install
cd src/clib && ${MAKE} install
cd src/real && ${MAKE} install
cd src/cplex && ${MAKE} install
${INSTALL} amath ${DESTDIR}${PREFIX}/bin

.PHONY: uninstall
uninstall:
cd src/lib && ${MAKE} uninstall
cd src/clib && ${MAKE} uninstall
cd src/real && ${MAKE} uninstall
cd src/cplex && ${MAKE} uninstall
${DEL} ${DESTDIR}${PREFIX}/bin/amath

clean:
cd src/lib && ${MAKE} clean
cd src/clib && ${MAKE} clean
cd src/real && ${MAKE} clean
cd src/cplex && ${MAKE} clean
cd src/main && ${MAKE} clean
cd src/system && ${MAKE} clean
cd src/main/function && ${MAKE} clean
cd src/main/statement && ${MAKE} clean
${DEL} src/main.o amath


+ 0
- 451
Makefile.clang View File

@@ -1,451 +0,0 @@

CC = clang
CXX = clang++
AR = ar
RANLIB = ranlib
CFLAGS = -DWITHTEST
CXXFLAGS = -DWITHTEST -I.
LFLAGS = -lamathapp -lcomplex -lamath -lcamath -lstdc++

FLXCAT = build/flexcat/flexcat
MKDIR = mkdir -p
COPY = cp
DEL = rm -f

all: libs app

libs: libamath libcomplex libcamath libamathapp

evaluator.o: app/main/evaluator.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/evaluator.cpp

functions.o: app/main/functions.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/functions.cpp

graphlist.o: app/main/graphlist.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/graphlist.cpp

lexer.o: app/main/lexer.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/lexer.cpp

nodes.o: app/main/nodes.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/nodes.cpp

operators.o: app/main/operators.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/operators.cpp

optimizer.o: app/main/optimizer.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/optimizer.cpp

parser.o: app/main/parser.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/parser.cpp

statements.o: app/main/statements.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/statements.cpp

token.o: app/main/token.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/token.cpp

values.o: app/main/values.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/values.cpp

viewer.o: app/main/viewer.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/viewer.cpp

console.o: app/system/console.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console.cpp

console_amiga.o: app/system/console_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console_amiga.cpp

console_stdc.o: app/system/console_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console_stdc.cpp

filesystem_amiga.o: app/system/filesystem_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/filesystem_amiga.cpp

filesystem_stdc.o: app/system/filesystem_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/filesystem_stdc.cpp

graph.o: app/system/graph.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph.cpp

graph_amiga.o: app/system/graph_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph_amiga.cpp

graph_gtk.o: app/system/graph_gtk.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph_gtk.cpp

language.o: app/system/language.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language.cpp

language_amiga.o: app/system/language_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_amiga.cpp

language_posix.o: app/system/language_posix.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_posix.cpp

language_stdc.o: app/system/language_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_stdc.cpp

preferences.o: app/system/preferences.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences.cpp

preferences_amiga.o: app/system/preferences_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences_amiga.cpp

preferences_stdc.o: app/system/preferences_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences_stdc.cpp

proc_amiga.o: app/system/proc_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/proc_amiga.cpp

program.o: app/system/program.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program.cpp

program_amiga.o: app/system/program_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_amiga.cpp

program_stdc.o: app/system/program_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_stdc.cpp

program_test.o: app/system/program_test.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_test.cpp

task_amiga.o: app/system/task_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/task_amiga.cpp

task_stdc.o: app/system/task_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/task_stdc.cpp

window_amiga.o: app/system/window_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/window_amiga.cpp

io.o: app/system/base/io.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/base/io.cpp

main.o: app/main.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main.cpp

aengine.o: app/lib/aengine.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/aengine.cpp

charbuf.o: app/lib/charbuf.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/charbuf.cpp

cplex.o: app/lib/cplex.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/cplex.cpp

fgrid.o: app/lib/fgrid.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/fgrid.cpp

ntext.o: app/lib/ntext.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/ntext.cpp

real.o: app/lib/real.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/real.cpp

acos.o: lib/real/acos.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/acos.c

acosh.o: lib/real/acosh.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/acosh.c

asin.o: lib/real/asin.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/asin.c

asinh.o: lib/real/asinh.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/asinh.c

atan.o: lib/real/atan.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atan.c

atan2.o: lib/real/atan2.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atan2.c

atanh.o: lib/real/atanh.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atanh.c

cbrt.o: lib/real/cbrt.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cbrt.c

ceil.o: lib/real/ceil.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ceil.c

copysign.o: lib/real/copysign.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/copysign.c

cos.o: lib/real/cos.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cos.c

cosh.o: lib/real/cosh.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cosh.c

exp.o: lib/real/exp.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/exp.c

expm1.o: lib/real/expm1.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/expm1.c

fabs.o: lib/real/fabs.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/fabs.c

finite.o: lib/real/finite.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/finite.c

floor.o: lib/real/floor.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/floor.c

fmod.o: lib/real/fmod.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/fmod.c

hypot.o: lib/real/hypot.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/hypot.c

isnan.o: lib/real/isnan.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/isnan.c

kcos.o: lib/real/kcos.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/kcos.c

kremp2.o: lib/real/kremp2.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/kremp2.c

ksin.o: lib/real/ksin.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ksin.c

ktan.o: lib/real/ktan.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ktan.c

log.o: lib/real/log.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log.c

log10.o: lib/real/log10.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log10.c

log1p.o: lib/real/log1p.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log1p.c

pow.o: lib/real/pow.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/pow.c

remp2.o: lib/real/remp2.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/remp2.c

round.o: lib/real/round.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/round.c

scalbn.o: lib/real/scalbn.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/scalbn.c

sin.o: lib/real/sin.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sin.c

sinh.o: lib/real/sinh.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sinh.c

sqrt.o: lib/real/sqrt.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sqrt.c

tan.o: lib/real/tan.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/tan.c

tanh.o: lib/real/tanh.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/tanh.c

trunc.o: lib/real/trunc.c
${CC} -O3 -std=c9x ${CLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/trunc.c

cacos.o: lib/cplex/cacos.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacos.c

cacosh.o: lib/cplex/cacosh.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacosh.c

cacot.o: lib/cplex/cacot.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacot.c

cacoth.o: lib/cplex/cacoth.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacoth.c

cacsc.o: lib/cplex/cacsc.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacsc.c

cacsch.o: lib/cplex/cacsch.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacsch.c

casec.o: lib/cplex/casec.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casec.c

casech.o: lib/cplex/casech.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casech.c

casin.o: lib/cplex/casin.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casin.c

casinh.o: lib/cplex/casinh.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casinh.c

catan.o: lib/cplex/catan.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/catan.c

catanh.o: lib/cplex/catanh.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/catanh.c

ccbrt.o: lib/cplex/ccbrt.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccbrt.c

ccos.o: lib/cplex/ccos.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccos.c

ccosh.o: lib/cplex/ccosh.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccosh.c

ccot.o: lib/cplex/ccot.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccot.c

ccoth.o: lib/cplex/ccoth.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccoth.c

ccsc.o: lib/cplex/ccsc.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccsc.c

ccsch.o: lib/cplex/ccsch.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccsch.c

cexp.o: lib/cplex/cexp.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cexp.c

clog.o: lib/cplex/clog.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clog.c

clog10.o: lib/cplex/clog10.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clog10.c

clogb.o: lib/cplex/clogb.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clogb.c

cpow.o: lib/cplex/cpow.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cpow.c

csec.o: lib/cplex/csec.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csec.c

csech.o: lib/cplex/csech.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csech.c

csgn.o: lib/cplex/csgn.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csgn.c

csin.o: lib/cplex/csin.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csin.c

csinh.o: lib/cplex/csinh.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csinh.c

csqrt.o: lib/cplex/csqrt.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csqrt.c

ctan.o: lib/cplex/ctan.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ctan.c

ctanh.o: lib/cplex/ctanh.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ctanh.c

prim.o: lib/cplex/prim.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/prim.c

alloccpy.o: lib/clib/alloccpy.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -c lib/clib/alloccpy.c

mem.o: lib/clib/mem.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -c lib/clib/mem.c

memcpy.o: lib/clib/memcpy.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -c lib/clib/memcpy.c

memset.o: lib/clib/memset.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -c lib/clib/memset.c

strcmp.o: lib/clib/strcmp.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -c lib/clib/strcmp.c

strlen.o: lib/clib/strlen.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -c lib/clib/strlen.c

untag.o: lib/clib/untag.c
${CC} -O3 -std=c9x ${CFLAGS} -fno-builtin -Wall -Werror -Ilib -c lib/clib/untag.c

dragon4.o: lib/dconv/dragon4.cpp
${CXX} -O3 ${CXXFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dragon4.cpp

dmath.o: lib/dconv/dmath.cpp
${CXX} -O3 ${CXXFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dmath.cpp

dprint.o: lib/dconv/dprint.cpp
${CXX} -O3 ${CXXFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dprint.cpp

memoo.o: lib/clib/memoo.cpp
${CXX} -O3 ${CXXFLAGS} -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/clib/memoo.cpp

catalogsa:
${FLXCAT} text/keyword.cd app/localize/kword.h=text/keyword.sd
${FLXCAT} text/help.cd app/localize/help.h=text/help.sd
${FLXCAT} text/ident.cd app/localize/ident.h=text/ident.sd
${FLXCAT} text/text.cd app/localize/text.h=text/text.sd

catalogsu:
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-help.ct >utext/dk-help.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-text.ct >utext/dk-text.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict

catalogsw:
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-help.ct >utext/dk-help.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-text.ct >utext/dk-text.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict

libamathapp: aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o
${AR} rcs libamathapp.a aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o
${RANLIB} libamathapp.a

libamath: acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o
${AR} rcs libamath.a acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o
${RANLIB} libamath.a

libcomplex: cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o
${AR} rcs libcomplex.a cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o
${RANLIB} libcomplex.a

libcamath: alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o memoo.o
${AR} rcs libcamath.a alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o memoo.o
${RANLIB} libcamath.a

app: libs evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o
${CC} ${CFLAGS} -s -L. -o amath evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o ${LFLAGS}

amigacatalogs:
${MKDIR} dist/catalog/english
${FLXCAT} text/help.cd catalog/english/amath-help.ct CATALOG dist/catalog/english/amath-help.catalog
${FLXCAT} text/ident.cd catalog/english/amath-ident.ct CATALOG dist/catalog/english/amath-ident.catalog
${FLXCAT} text/text.cd catalog/english/amath-text.ct CATALOG dist/catalog/english/amath-text.catalog
${MKDIR} dist/catalog/dansk
${FLXCAT} text/help.cd catalog/dansk/amath-help.ct CATALOG dist/catalog/dansk/amath-help.catalog
${FLXCAT} text/ident.cd catalog/dansk/amath-ident.ct CATALOG dist/catalog/dansk/amath-ident.catalog
${FLXCAT} text/text.cd catalog/dansk/amath-text.ct CATALOG dist/catalog/dansk/amath-text.catalog
${FLXCAT} text/keyword.cd catalog/dansk/amath-keyword.ct CATALOG dist/catalog/dansk/amath-keyword.catalog

.PHONY: test
test: app
./amath test

.PHONY: install
install: app
install -m 0755 amath $(DESTDIR)$(PREFIX)/bin

clean:
${DEL} aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o memoo.o evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o libamath.a libcamath.a libcomplex.a libamathapp.a amath

depend:
@echo Dependencies already done

+ 0
- 451
Makefile.m68k View File

@@ -1,451 +0,0 @@

CC = m68k-amigaos-gcc
CXX = m68k-amigaos-g++
AR = m68k-amigaos-ar
RANLIB = m68k-amigaos-ranlib
CFLAGS = -m68020 -DWITHTEST -noixemul
CXXFLAGS = -m68020 -DWITHTEST -noixemul -I.
LFLAGS = -lamathapp -lcomplex -lamath -lcamath -lstdc++

FLXCAT = build/flexcat/flexcat
MKDIR = mkdir -p
COPY = cp
DEL = rm -f

all: libs app

libs: libamath libcomplex libcamath libamathapp

evaluator.o: app/main/evaluator.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/evaluator.cpp

functions.o: app/main/functions.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/functions.cpp

graphlist.o: app/main/graphlist.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/graphlist.cpp

lexer.o: app/main/lexer.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/lexer.cpp

nodes.o: app/main/nodes.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/nodes.cpp

operators.o: app/main/operators.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/operators.cpp

optimizer.o: app/main/optimizer.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/optimizer.cpp

parser.o: app/main/parser.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/parser.cpp

statements.o: app/main/statements.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/statements.cpp

token.o: app/main/token.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/token.cpp

values.o: app/main/values.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/values.cpp

viewer.o: app/main/viewer.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main/viewer.cpp

console.o: app/system/console.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console.cpp

console_amiga.o: app/system/console_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console_amiga.cpp

console_stdc.o: app/system/console_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/console_stdc.cpp

filesystem_amiga.o: app/system/filesystem_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/filesystem_amiga.cpp

filesystem_stdc.o: app/system/filesystem_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/filesystem_stdc.cpp

graph.o: app/system/graph.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph.cpp

graph_amiga.o: app/system/graph_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph_amiga.cpp

graph_gtk.o: app/system/graph_gtk.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/graph_gtk.cpp

language.o: app/system/language.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language.cpp

language_amiga.o: app/system/language_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_amiga.cpp

language_posix.o: app/system/language_posix.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_posix.cpp

language_stdc.o: app/system/language_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/language_stdc.cpp

preferences.o: app/system/preferences.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences.cpp

preferences_amiga.o: app/system/preferences_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences_amiga.cpp

preferences_stdc.o: app/system/preferences_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/preferences_stdc.cpp

proc_amiga.o: app/system/proc_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/proc_amiga.cpp

program.o: app/system/program.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program.cpp

program_amiga.o: app/system/program_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_amiga.cpp

program_stdc.o: app/system/program_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_stdc.cpp

program_test.o: app/system/program_test.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/program_test.cpp

task_amiga.o: app/system/task_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/task_amiga.cpp

task_stdc.o: app/system/task_stdc.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/task_stdc.cpp

window_amiga.o: app/system/window_amiga.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/window_amiga.cpp

io.o: app/system/base/io.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/system/base/io.cpp

main.o: app/main.cpp
${CXX} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/main.cpp

aengine.o: app/lib/aengine.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/aengine.cpp

charbuf.o: app/lib/charbuf.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/charbuf.cpp

cplex.o: app/lib/cplex.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/cplex.cpp

fgrid.o: app/lib/fgrid.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/fgrid.cpp

ntext.o: app/lib/ntext.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/ntext.cpp

real.o: app/lib/real.cpp
${CC} -O2 ${CXXFLAGS} -Ilib -Iapp -Wall -Werror -c app/lib/real.cpp

acos.o: lib/real/acos.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/acos.c

acosh.o: lib/real/acosh.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/acosh.c

asin.o: lib/real/asin.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/asin.c

asinh.o: lib/real/asinh.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/asinh.c

atan.o: lib/real/atan.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atan.c

atan2.o: lib/real/atan2.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atan2.c

atanh.o: lib/real/atanh.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/atanh.c

cbrt.o: lib/real/cbrt.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cbrt.c

ceil.o: lib/real/ceil.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ceil.c

copysign.o: lib/real/copysign.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/copysign.c

cos.o: lib/real/cos.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cos.c

cosh.o: lib/real/cosh.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/cosh.c

exp.o: lib/real/exp.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/exp.c

expm1.o: lib/real/expm1.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/expm1.c

fabs.o: lib/real/fabs.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/fabs.c

finite.o: lib/real/finite.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/finite.c

floor.o: lib/real/floor.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/floor.c

fmod.o: lib/real/fmod.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/fmod.c

hypot.o: lib/real/hypot.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/hypot.c

isnan.o: lib/real/isnan.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/isnan.c

kcos.o: lib/real/kcos.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/kcos.c

kremp2.o: lib/real/kremp2.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/kremp2.c

ksin.o: lib/real/ksin.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ksin.c

ktan.o: lib/real/ktan.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/ktan.c

log.o: lib/real/log.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log.c

log10.o: lib/real/log10.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log10.c

log1p.o: lib/real/log1p.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/log1p.c

pow.o: lib/real/pow.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/pow.c

remp2.o: lib/real/remp2.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/remp2.c

round.o: lib/real/round.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/round.c

scalbn.o: lib/real/scalbn.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/scalbn.c

sin.o: lib/real/sin.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sin.c

sinh.o: lib/real/sinh.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sinh.c

sqrt.o: lib/real/sqrt.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/sqrt.c

tan.o: lib/real/tan.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/tan.c

tanh.o: lib/real/tanh.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/tanh.c

trunc.o: lib/real/trunc.c
${CC} -O3 -std=c9x ${CLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/real -c lib/real/trunc.c

cacos.o: lib/cplex/cacos.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacos.c

cacosh.o: lib/cplex/cacosh.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacosh.c

cacot.o: lib/cplex/cacot.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacot.c

cacoth.o: lib/cplex/cacoth.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacoth.c

cacsc.o: lib/cplex/cacsc.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacsc.c

cacsch.o: lib/cplex/cacsch.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cacsch.c

casec.o: lib/cplex/casec.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casec.c

casech.o: lib/cplex/casech.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casech.c

casin.o: lib/cplex/casin.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casin.c

casinh.o: lib/cplex/casinh.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/casinh.c

catan.o: lib/cplex/catan.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/catan.c

catanh.o: lib/cplex/catanh.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/catanh.c

ccbrt.o: lib/cplex/ccbrt.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccbrt.c

ccos.o: lib/cplex/ccos.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccos.c

ccosh.o: lib/cplex/ccosh.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccosh.c

ccot.o: lib/cplex/ccot.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccot.c

ccoth.o: lib/cplex/ccoth.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccoth.c

ccsc.o: lib/cplex/ccsc.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccsc.c

ccsch.o: lib/cplex/ccsch.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ccsch.c

cexp.o: lib/cplex/cexp.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cexp.c

clog.o: lib/cplex/clog.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clog.c

clog10.o: lib/cplex/clog10.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clog10.c

clogb.o: lib/cplex/clogb.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/clogb.c

cpow.o: lib/cplex/cpow.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/cpow.c

csec.o: lib/cplex/csec.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csec.c

csech.o: lib/cplex/csech.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csech.c

csgn.o: lib/cplex/csgn.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csgn.c

csin.o: lib/cplex/csin.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csin.c

csinh.o: lib/cplex/csinh.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csinh.c

csqrt.o: lib/cplex/csqrt.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/csqrt.c

ctan.o: lib/cplex/ctan.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ctan.c

ctanh.o: lib/cplex/ctanh.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/ctanh.c

prim.o: lib/cplex/prim.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/cplex -c lib/cplex/prim.c

alloccpy.o: lib/clib/alloccpy.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/alloccpy.c

mem.o: lib/clib/mem.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/mem.c

memcpy.o: lib/clib/memcpy.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/memcpy.c

memset.o: lib/clib/memset.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/memset.c

strcmp.o: lib/clib/strcmp.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/strcmp.c

strlen.o: lib/clib/strlen.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/strlen.c

untag.o: lib/clib/untag.c
${CC} -O3 -std=c9x ${CFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -c lib/clib/untag.c

dragon4.o: lib/dconv/dragon4.cpp
${CXX} -O3 ${CXXFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dragon4.cpp

dmath.o: lib/dconv/dmath.cpp
${CXX} -O3 ${CXXFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dmath.cpp

dprint.o: lib/dconv/dprint.cpp
${CXX} -O3 ${CXXFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/dconv/dprint.cpp

memoo.o: lib/clib/memoo.cpp
${CXX} -O3 ${CXXFLAGS} -m68020 -fno-builtin -Wall -Werror -Ilib -Ilib/dconv -c lib/clib/memoo.cpp

catalogsa:
${FLXCAT} text/keyword.cd app/localize/kword.h=text/keyword.sd
${FLXCAT} text/help.cd app/localize/help.h=text/help.sd
${FLXCAT} text/ident.cd app/localize/ident.h=text/ident.sd
${FLXCAT} text/text.cd app/localize/text.h=text/text.sd

catalogsu:
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-help.ct >utext/dk-help.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-text.ct >utext/dk-text.dict
iconv -f ISO-8859-15 -t UTF-8 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict

catalogsw:
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-help.ct >utext/dk-help.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-ident.ct >utext/dk-ident.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-text.ct >utext/dk-text.dict
iconv -f ISO-8859-15 -t CP850 catalog/dansk/amath-keyword.ct >utext/dk-keyword.dict

libamathapp: aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o
${AR} rcs libamathapp.a aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o
${RANLIB} libamathapp.a

libamath: acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o
${AR} rcs libamath.a acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o
${RANLIB} libamath.a

libcomplex: cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o
${AR} rcs libcomplex.a cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o
${RANLIB} libcomplex.a

libcamath: alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o memoo.o
${AR} rcs libcamath.a alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o memoo.o
${RANLIB} libcamath.a

app: libs evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o
${CC} ${CFLAGS} -m68020 -noixemul -s -L. -o amath evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o ${LFLAGS}

amigacatalogs:
${MKDIR} dist/catalog/english
${FLXCAT} text/help.cd catalog/english/amath-help.ct CATALOG dist/catalog/english/amath-help.catalog
${FLXCAT} text/ident.cd catalog/english/amath-ident.ct CATALOG dist/catalog/english/amath-ident.catalog
${FLXCAT} text/text.cd catalog/english/amath-text.ct CATALOG dist/catalog/english/amath-text.catalog
${MKDIR} dist/catalog/dansk
${FLXCAT} text/help.cd catalog/dansk/amath-help.ct CATALOG dist/catalog/dansk/amath-help.catalog
${FLXCAT} text/ident.cd catalog/dansk/amath-ident.ct CATALOG dist/catalog/dansk/amath-ident.catalog
${FLXCAT} text/text.cd catalog/dansk/amath-text.ct CATALOG dist/catalog/dansk/amath-text.catalog
${FLXCAT} text/keyword.cd catalog/dansk/amath-keyword.ct CATALOG dist/catalog/dansk/amath-keyword.catalog

.PHONY: test
test: app
./amath test

.PHONY: install
install: app
install -m 0755 amath $(DESTDIR)$(PREFIX)/bin

clean:
${DEL} aengine.o charbuf.o cplex.o fgrid.o ntext.o real.o acos.o acosh.o asin.o asinh.o atan.o atan2.o atanh.o cbrt.o ceil.o copysign.o cos.o cosh.o exp.o expm1.o fabs.o finite.o floor.o fmod.o hypot.o isnan.o kcos.o kremp2.o ksin.o ktan.o log.o log10.o log1p.o pow.o remp2.o round.o scalbn.o sin.o sinh.o sqrt.o tan.o tanh.o trunc.o cacos.o cacosh.o cacot.o cacoth.o cacsc.o cacsch.o casec.o casech.o casin.o casinh.o catan.o catanh.o ccbrt.o ccos.o ccosh.o ccot.o ccoth.o ccsc.o ccsch.o cexp.o clog.o clog10.o clogb.o cpow.o csec.o csech.o csgn.o csin.o csinh.o csqrt.o ctan.o ctanh.o prim.o alloccpy.o mem.o memcpy.o memset.o strcmp.o strlen.o untag.o dragon4.o dmath.o dprint.o memoo.o evaluator.o functions.o graphlist.o lexer.o nodes.o operators.o optimizer.o parser.o statements.o token.o values.o viewer.o console.o console_amiga.o console_stdc.o filesystem_amiga.o filesystem_stdc.o graph.o graph_amiga.o graph_gtk.o language.o language_amiga.o language_posix.o language_stdc.o preferences.o preferences_amiga.o preferences_stdc.o proc_amiga.o program.o program_amiga.o program_stdc.o program_test.o task_amiga.o task_stdc.o window_amiga.o io.o main.o libamath.a libcamath.a libcomplex.a libamathapp.a amath

depend:
@echo Dependencies already done

+ 4
- 4
amath.doxygen View File

@@ -38,7 +38,7 @@ PROJECT_NAME = "amath"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "1.6.4"
PROJECT_NUMBER = "1.7.0"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
@@ -689,7 +689,7 @@ LAYOUT_FILE =
# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
# the reference definitions. This must be a list of .bib files. The .bib
# extension is automatically appended if omitted. This requires the bibtex tool
# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
# to be installed. See also https://wikipedia.org/wiki/BibTeX for more info.
# For LaTeX the style of the bibliography can be controlled using
# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
# search path. See also \cite for info how to create references.
@@ -1145,7 +1145,7 @@ HTML_EXTRA_FILES =
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
# will adjust the colors in the style sheet and background images according to
# this color. Hue is specified as an angle on a colorwheel, see
# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
# https://wikipedia.org/wiki/Hue for more information. For instance the value
# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
# purple, and 360 is red again.
# Minimum value: 0, maximum value: 359, default value: 220.
@@ -1752,7 +1752,7 @@ LATEX_SOURCE_CODE = NO

# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
# bibliography, e.g. plainnat, or ieeetr. See
# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
# https://wikipedia.org/wiki/BibTeX and \cite for more info.
# The default value is: plain.
# This tag requires that the tag GENERATE_LATEX is set to YES.



+ 0
- 339
amath.vcxproj View File

@@ -1,339 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="app\lib\aengine.cpp" />
<ClCompile Include="app\lib\charbuf.cpp" />
<ClCompile Include="app\lib\cplex.cpp" />
<ClCompile Include="app\lib\fgrid.cpp" />
<ClCompile Include="app\lib\ntext.cpp" />
<ClCompile Include="app\lib\real.cpp" />
<ClCompile Include="app\main.cpp" />
<ClCompile Include="app\main\evaluator.cpp" />
<ClCompile Include="app\main\functions.cpp" />
<ClCompile Include="app\main\graphlist.cpp" />
<ClCompile Include="app\main\lexer.cpp" />
<ClCompile Include="app\main\nodes.cpp" />
<ClCompile Include="app\main\operators.cpp" />
<ClCompile Include="app\main\optimizer.cpp" />
<ClCompile Include="app\main\parser.cpp" />
<ClCompile Include="app\main\statements.cpp" />
<ClCompile Include="app\main\token.cpp" />
<ClCompile Include="app\main\values.cpp" />
<ClCompile Include="app\main\viewer.cpp" />
<ClCompile Include="app\system\base\io.cpp" />
<ClCompile Include="app\system\console.cpp" />
<ClCompile Include="app\system\console_amiga.cpp" />
<ClCompile Include="app\system\console_stdc.cpp" />
<ClCompile Include="app\system\filesystem_amiga.cpp" />
<ClCompile Include="app\system\filesystem_stdc.cpp" />
<ClCompile Include="app\system\graph.cpp" />
<ClCompile Include="app\system\graph_amiga.cpp" />
<ClCompile Include="app\system\graph_gtk.cpp" />
<ClCompile Include="app\system\language.cpp" />
<ClCompile Include="app\system\language_amiga.cpp" />
<ClCompile Include="app\system\language_stdc.cpp" />
<ClCompile Include="app\system\preferences.cpp" />
<ClCompile Include="app\system\preferences_amiga.cpp" />
<ClCompile Include="app\system\preferences_stdc.cpp" />
<ClCompile Include="app\system\proc_amiga.cpp" />
<ClCompile Include="app\system\program.cpp" />
<ClCompile Include="app\system\program_amiga.cpp" />
<ClCompile Include="app\system\program_stdc.cpp" />
<ClCompile Include="app\system\program_test.cpp" />
<ClCompile Include="app\system\task_amiga.cpp" />
<ClCompile Include="app\system\task_stdc.cpp" />
<ClCompile Include="app\system\window_amiga.cpp" />
<ClCompile Include="lib\clib\alloccpy.c" />
<ClCompile Include="lib\clib\mem.c" />
<ClCompile Include="lib\clib\memcpy.c" />
<ClCompile Include="lib\clib\memoo.cpp" />
<ClCompile Include="lib\clib\memset.c" />
<ClCompile Include="lib\clib\strcmp.c" />
<ClCompile Include="lib\clib\strlen.c" />
<ClCompile Include="lib\clib\untag.c" />
<ClCompile Include="lib\cplex\cacos.c" />
<ClCompile Include="lib\cplex\cacosh.c" />
<ClCompile Include="lib\cplex\cacot.c" />
<ClCompile Include="lib\cplex\cacoth.c" />
<ClCompile Include="lib\cplex\cacsc.c" />
<ClCompile Include="lib\cplex\cacsch.c" />
<ClCompile Include="lib\cplex\casec.c" />
<ClCompile Include="lib\cplex\casech.c" />
<ClCompile Include="lib\cplex\casin.c" />
<ClCompile Include="lib\cplex\casinh.c" />
<ClCompile Include="lib\cplex\catan.c" />
<ClCompile Include="lib\cplex\catanh.c" />
<ClCompile Include="lib\cplex\ccbrt.c" />
<ClCompile Include="lib\cplex\ccos.c" />
<ClCompile Include="lib\cplex\ccosh.c" />
<ClCompile Include="lib\cplex\ccot.c" />
<ClCompile Include="lib\cplex\ccoth.c" />
<ClCompile Include="lib\cplex\ccsc.c" />
<ClCompile Include="lib\cplex\ccsch.c" />
<ClCompile Include="lib\cplex\cexp.c" />
<ClCompile Include="lib\cplex\clog.c" />
<ClCompile Include="lib\cplex\clog10.c" />
<ClCompile Include="lib\cplex\clogb.c" />
<ClCompile Include="lib\cplex\cpow.c" />
<ClCompile Include="lib\cplex\csec.c" />
<ClCompile Include="lib\cplex\csech.c" />
<ClCompile Include="lib\cplex\csgn.c" />
<ClCompile Include="lib\cplex\csin.c" />
<ClCompile Include="lib\cplex\csinh.c" />
<ClCompile Include="lib\cplex\csqrt.c" />
<ClCompile Include="lib\cplex\ctan.c" />
<ClCompile Include="lib\cplex\ctanh.c" />
<ClCompile Include="lib\cplex\prim.c" />
<ClCompile Include="lib\dconv\dmath.cpp" />
<ClCompile Include="lib\dconv\dprint.cpp" />
<ClCompile Include="lib\dconv\dragon4.cpp" />
<ClCompile Include="lib\real\acos.c" />
<ClCompile Include="lib\real\acosh.c" />
<ClCompile Include="lib\real\asin.c" />
<ClCompile Include="lib\real\asinh.c" />
<ClCompile Include="lib\real\atan.c" />
<ClCompile Include="lib\real\atan2.c" />
<ClCompile Include="lib\real\atanh.c" />
<ClCompile Include="lib\real\cbrt.c" />
<ClCompile Include="lib\real\ceil.c" />
<ClCompile Include="lib\real\copysign.c" />
<ClCompile Include="lib\real\cos.c" />
<ClCompile Include="lib\real\cosh.c" />
<ClCompile Include="lib\real\exp.c" />
<ClCompile Include="lib\real\expm1.c" />
<ClCompile Include="lib\real\fabs.c" />
<ClCompile Include="lib\real\finite.c" />
<ClCompile Include="lib\real\floor.c" />
<ClCompile Include="lib\real\fmod.c" />
<ClCompile Include="lib\real\hypot.c" />
<ClCompile Include="lib\real\isnan.c" />
<ClCompile Include="lib\real\kcos.c" />
<ClCompile Include="lib\real\kremp2.c" />
<ClCompile Include="lib\real\ksin.c" />
<ClCompile Include="lib\real\ktan.c" />
<ClCompile Include="lib\real\log.c" />
<ClCompile Include="lib\real\log10.c" />
<ClCompile Include="lib\real\log1p.c" />
<ClCompile Include="lib\real\pow.c" />
<ClCompile Include="lib\real\remp2.c" />
<ClCompile Include="lib\real\round.c" />
<ClCompile Include="lib\real\scalbn.c" />
<ClCompile Include="lib\real\sin.c" />
<ClCompile Include="lib\real\sinh.c" />
<ClCompile Include="lib\real\sqrt.c" />
<ClCompile Include="lib\real\tan.c" />
<ClCompile Include="lib\real\tanh.c" />
<ClCompile Include="lib\real\trunc.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="app\lib\aengine.h" />
<ClInclude Include="app\lib\charbuf.h" />
<ClInclude Include="app\lib\cplex.h" />
<ClInclude Include="app\lib\fgrid.h" />
<ClInclude Include="app\lib\ntext.h" />
<ClInclude Include="app\lib\numb.h" />
<ClInclude Include="app\lib\real.h" />
<ClInclude Include="app\localize\help.h" />
<ClInclude Include="app\localize\ialias.h" />
<ClInclude Include="app\localize\ident.h" />
<ClInclude Include="app\localize\kword.h" />
<ClInclude Include="app\localize\lex.h" />
<ClInclude Include="app\localize\start.h" />
<ClInclude Include="app\localize\tags.h" />
<ClInclude Include="app\localize\text.h" />
<ClInclude Include="app\main\evaluator.h" />
<ClInclude Include="app\main\functiondefs.h" />
<ClInclude Include="app\main\functions.h" />
<ClInclude Include="app\main\graphlist.h" />
<ClInclude Include="app\main\lexer.h" />
<ClInclude Include="app\main\nodes.h" />
<ClInclude Include="app\main\operators.h" />
<ClInclude Include="app\main\optimizer.h" />
<ClInclude Include="app\main\parser.h" />
<ClInclude Include="app\main\statements.h" />
<ClInclude Include="app\main\token.h" />
<ClInclude Include="app\main\values.h" />
<ClInclude Include="app\main\viewer.h" />
<ClInclude Include="app\system\base\io.h" />
<ClInclude Include="app\system\base\thread.h" />
<ClInclude Include="app\system\console.h" />
<ClInclude Include="app\system\console_amiga.h" />
<ClInclude Include="app\system\console_stdc.h" />
<ClInclude Include="app\system\filesystem.h" />
<ClInclude Include="app\system\filesystem_amiga.h" />
<ClInclude Include="app\system\filesystem_stdc.h" />
<ClInclude Include="app\system\graph.h" />
<ClInclude Include="app\system\graph_amiga.h" />
<ClInclude Include="app\system\graph_gtk.h" />
<ClInclude Include="app\system\language.h" />
<ClInclude Include="app\system\language_amiga.h" />
<ClInclude Include="app\system\language_stdc.h" />
<ClInclude Include="app\system\preferences.h" />
<ClInclude Include="app\system\preferences_amiga.h" />
<ClInclude Include="app\system\preferences_stdc.h" />
<ClInclude Include="app\system\proc_amiga.h" />
<ClInclude Include="app\system\program.h" />
<ClInclude Include="app\system\program_amiga.h" />
<ClInclude Include="app\system\program_stdc.h" />
<ClInclude Include="app\system\program_test.h" />
<ClInclude Include="app\system\task.h" />
<ClInclude Include="app\system\task_amiga.h" />
<ClInclude Include="app\system\task_stdc.h" />
<ClInclude Include="app\system\window_amiga.h" />
<ClInclude Include="lib\clib.h" />
<ClInclude Include="lib\complex.h" />
<ClInclude Include="lib\cplex\prim.h" />
<ClInclude Include="lib\dconv\dmath.h" />
<ClInclude Include="lib\dconv\dragon4.h" />
<ClInclude Include="lib\dprint.h" />
<ClInclude Include="lib\dstandard.h" />
<ClInclude Include="lib\math.h" />
<ClInclude Include="lib\mem.h" />
<ClInclude Include="lib\platform.h" />
<ClInclude Include="lib\real\prim.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{21BD69A9-7F52-48D9-9846-6943E90A87A9}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>amath</RootNamespace>
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WITHTEST;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>app;lib</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WITHTEST;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>app;lib</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

+ 0
- 606
amath.vcxproj.filters View File

@@ -1,606 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="app">
<UniqueIdentifier>{9d6183e0-69ff-4d26-baa1-f350b1e61840}</UniqueIdentifier>
</Filter>
<Filter Include="app\localize">
<UniqueIdentifier>{ed7346f4-5be0-4000-a20a-58ec723ca861}</UniqueIdentifier>
</Filter>
<Filter Include="app\lib">
<UniqueIdentifier>{21ec35c0-8f3a-4f7b-b918-57ae99334945}</UniqueIdentifier>
</Filter>
<Filter Include="app\system">
<UniqueIdentifier>{43df397b-d8f3-44a8-966d-30f34538b710}</UniqueIdentifier>
</Filter>
<Filter Include="app\main">
<UniqueIdentifier>{db547663-8a55-4ac5-a59e-1110627b8c0f}</UniqueIdentifier>
</Filter>
<Filter Include="app\system\io">
<UniqueIdentifier>{e39a3123-a0a5-469b-a276-941af488213a}</UniqueIdentifier>
</Filter>
<Filter Include="lib">
<UniqueIdentifier>{06553b8e-eef4-4337-8018-06693437ad55}</UniqueIdentifier>
</Filter>
<Filter Include="lib\dconv">
<UniqueIdentifier>{1444b688-d501-412d-b2a0-a641bf6df325}</UniqueIdentifier>
</Filter>
<Filter Include="lib\clib">
<UniqueIdentifier>{25a05287-9646-4677-bc30-c25f62848fab}</UniqueIdentifier>
</Filter>
<Filter Include="lib\real">
<UniqueIdentifier>{04260827-107d-42c3-9bf6-e8658eb4cb01}</UniqueIdentifier>
</Filter>
<Filter Include="lib\complex">
<UniqueIdentifier>{abdce801-5eed-476b-93aa-8af725658322}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="app\main.cpp">
<Filter>app</Filter>
</ClCompile>
<ClCompile Include="app\lib\aengine.cpp">
<Filter>app\lib</Filter>
</ClCompile>
<ClCompile Include="app\lib\charbuf.cpp">
<Filter>app\lib</Filter>
</ClCompile>
<ClCompile Include="app\lib\cplex.cpp">
<Filter>app\lib</Filter>
</ClCompile>
<ClCompile Include="app\lib\fgrid.cpp">
<Filter>app\lib</Filter>
</ClCompile>
<ClCompile Include="app\lib\ntext.cpp">
<Filter>app\lib</Filter>
</ClCompile>
<ClCompile Include="app\lib\real.cpp">
<Filter>app\lib</Filter>
</ClCompile>
<ClCompile Include="app\main\evaluator.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\functions.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\graphlist.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\lexer.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\nodes.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\operators.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\optimizer.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\parser.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\statements.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\token.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\values.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\main\viewer.cpp">
<Filter>app\main</Filter>
</ClCompile>
<ClCompile Include="app\system\console.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\console_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\console_stdc.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\filesystem_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\filesystem_stdc.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\graph.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\graph_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\graph_gtk.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\language.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\language_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\language_stdc.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\preferences.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\preferences_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\preferences_stdc.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\proc_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\program.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\program_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\program_stdc.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\program_test.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\task_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\task_stdc.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\window_amiga.cpp">
<Filter>app\system</Filter>
</ClCompile>
<ClCompile Include="app\system\base\io.cpp">
<Filter>app\system\io</Filter>
</ClCompile>
<ClCompile Include="lib\dconv\dmath.cpp">
<Filter>lib\dconv</Filter>
</ClCompile>
<ClCompile Include="lib\dconv\dprint.cpp">
<Filter>lib\dconv</Filter>
</ClCompile>
<ClCompile Include="lib\dconv\dragon4.cpp">
<Filter>lib\dconv</Filter>
</ClCompile>
<ClCompile Include="lib\clib\alloccpy.c">
<Filter>lib\clib</Filter>
</ClCompile>
<ClCompile Include="lib\clib\mem.c">
<Filter>lib\clib</Filter>
</ClCompile>
<ClCompile Include="lib\clib\memcpy.c">
<Filter>lib\clib</Filter>
</ClCompile>
<ClCompile Include="lib\clib\memset.c">
<Filter>lib\clib</Filter>
</ClCompile>
<ClCompile Include="lib\clib\strcmp.c">
<Filter>lib\clib</Filter>
</ClCompile>
<ClCompile Include="lib\clib\strlen.c">
<Filter>lib\clib</Filter>
</ClCompile>
<ClCompile Include="lib\clib\untag.c">
<Filter>lib\clib</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cacos.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cacosh.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cacot.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cacoth.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cacsc.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cacsch.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\casec.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\casech.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\casin.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\casinh.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\catan.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\catanh.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ccbrt.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ccos.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ccosh.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ccot.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ccoth.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ccsc.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ccsch.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cexp.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\clog.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\clog10.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\clogb.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\cpow.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\csec.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\csech.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\csgn.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\csin.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\csinh.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\csqrt.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ctan.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\ctanh.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\cplex\prim.c">
<Filter>lib\complex</Filter>
</ClCompile>
<ClCompile Include="lib\real\acos.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\acosh.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\asin.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\asinh.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\atan.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\atan2.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\atanh.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\cbrt.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\ceil.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\copysign.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\cos.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\cosh.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\exp.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\expm1.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\fabs.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\finite.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\floor.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\fmod.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\hypot.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\isnan.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\kcos.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\kremp2.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\ksin.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\ktan.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\log.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\log1p.c">
<Filter>lib\real</Filter>
</ClCompile>
<ClCompile Include="lib\real\log10.c">
<Filter>lib\real</Filter>
</ClCompile>