1
DEFS = @DEFS@ -DSCRIPT_DIR=\"$(scriptdir)\"
2
INCLUDES = -I$(top_builddir) -I$(srcdir)/plat/linux32 -I../..
6
noinst_PROGRAMS = testnum
7
noinst_LIBRARIES = libyacas.a @NUMBERS_LIB@
8
EXTRA_LIBRARIES = libgmpnumbers.a libyacasnumbers.a libyacasplatform.a
10
noinst_HEADERS = anumber.h choices.h deffile.h grower.h \
11
infixparser.h lispassert.h lispatom.h lispcleanupstack.h \
12
lispenvironment.h lisperror.h lispeval.h lispevalhash.h \
13
lispglobals.h lisphash.h lispio.h lispobject.h lispparser.h \
14
lispstring.h lispuserfunc.h mathcommands.h mathenvironment.h patcher.h \
15
mathuserfunc.h numbers.h platmath.h standard.h patterns.h errors.h arggetter.h \
16
stdfileio.h stringio.h stubs.h tokenizer.h yacas.h ramdisk.h refcount.h \
17
genericobject.h arrayclass.h evalfunc.h commandline.h unixcommandline.h \
18
patternclass.h log.h substitute.h stdcommandline.h arrayclass.inl mathutil.h \
19
lispplugin.h genericstructs.h ctokenizer.h yacasprivate.h yacasbase.h xmltokenizer.h \
21
yacas_SOURCES = yacasmain.cpp commandline.cpp unixcommandline.cpp stdcommandline.cpp
22
yacas_LDADD = libyacas.a libyacasplatform.a @NUMBERS_LIB@ @NUMBERS_LDFLAGS@
24
yacas_DEPENDENCIES = libyacas.a libyacasplatform.a @NUMBERS_LIB@
27
# some one who understands autoconf/automake: how do I detect if a platform
28
# supports elf binaries?
31
yacas_LDFLAGS = $(LIBS)
33
testnum_SOURCES = anumber.cpp grower.cpp lispstring.cpp stdstubs.cpp obmalloc.cpp \
34
testnum.cpp mathutil.cpp
35
libyacas_a_SOURCES = deffile.cpp infixparser.cpp lispatom.cpp \
36
lispcleanupstack.cpp lispenvironment.cpp lispeval.cpp \
37
lispio.cpp lispobject.cpp lispparser.cpp \
38
lispuserfunc.cpp mathcommands.cpp mathenvironment.cpp \
39
mathuserfunc.cpp standard.cpp stdfileio.cpp arggetter.cpp \
40
stringio.cpp tokenizer.cpp yacasapi.cpp genericobject.cpp \
41
arrayclass.cpp lispevalhash.cpp patterns.cpp patternclass.cpp \
42
substitute.cpp mathcommands2.cpp mathcommands3.cpp errors.cpp patcher.cpp \
43
lispplugin.cpp elfdll.cpp genericstructs.cpp unipoly.cpp ctokenizer.cpp xmltokenizer.cpp \
46
libyacasplatform_a_SOURCES = platmath.cpp grower.cpp stdstubs.cpp obmalloc.cpp lisphash.cpp \
47
lispstring.cpp mathutil.cpp yacasbase.cpp
48
libyacasplatform_a_LIBADD = @NUMBERS_LIB@
49
libyacasnumbers_a_SOURCES = anumber.cpp yacasnumbers.cpp
50
libgmpnumbers_a_SOURCES = gmpnumbers.cpp
52
EXTRA_DIST = anumber.inl deffile.inl epocfileio.cpp epocmain.cpp \
53
epocyacas.hrh epocyacas.rss epocyacas.mmp \
54
epocstubs.cpp grower.inl lisphash.inl lispobject.inl \
55
lispstring.inl standard.inl \
56
win32dll.cpp win32dll.h \
57
depend.dep makefile.beos \
59
plat/linux32/lisptype.h \
60
plat/linux32/stubs.inl \
61
plat/linux32/platfileio.h \
62
plat/linux32/platdll.h \
63
plat/linux64/lisptype.h \
64
plat/linux64/stubs.inl \
65
plat/linux64/platfileio.h \
66
plat/linux64/platdll.h \
67
plat/epoc32/lisptype.h \
68
plat/epoc32/stubs.inl \
69
plat/epoc32/platdll.h \
70
plat/epoc32/platfileio.h \
71
plat/beos/lisptype.h \
73
plat/beos/platfileio.h \
75
plat/win32/lisptype.h \
76
plat/win32/platdll.h \
77
plat/win32/platfileio.h \
78
plat/win32/stubs.inl unipoly.h \
79
plat/win32/win32commandline.cpp \
80
plat/win32/win32commandline.h \
81
plat/win32/yacas.dsp \
82
plat/win32/yacas_exe.dsp \
83
plat/win32/yacasmain-win32.cpp makefile.debug Makefile.win32 \
84
makefile.agenda yacas.dsp yacas.dsw \
85
debugmem.cpp debugmem.h
88
yacas_include = $(datadir)/yacas/include
91
test -z "libyacasplatform.a" || rm -rf libyacasplatform.a
92
test -z "libyacasdebug.a" || rm -rf libyacasdebug.a
93
test -z "yacasdebug" || rm -rf yacasdebug
96
install-data-local: yacas.h
97
$(mkinstalldirs) $(yacas_include)/
98
$(mkinstalldirs) $(yacas_include)/plat/
99
$(mkinstalldirs) $(yacas_include)/plat/linux32/
100
-for file in $(srcdir)/*.h; do \
101
basefile=`basename $$file`; \
102
$(INSTALL_DATA) $(srcdir)/$$file $(yacas_include)/$$basefile; \
104
-for file in $(srcdir)/*.inl; do \
105
basefile=`basename $$file`; \
106
$(INSTALL_DATA) $(srcdir)/$$file $(yacas_include)/$$basefile; \
108
-for file in $(srcdir)/plat/linux32/*.h; do \
109
basefile=`basename $$file`; \
110
$(INSTALL_DATA) $(srcdir)/$$file $(yacas_include)/plat/linux32/$$basefile; \
112
-for file in $(srcdir)/plat/linux32/*.inl; do \
113
basefile=`basename $$file`; \
114
$(INSTALL_DATA) $(srcdir)/$$file $(yacas_include)/plat/linux32/$$basefile; \
120
gcc -MM *.cpp $(INCLUDES) > depend.dep