~ubuntu-branches/ubuntu/oneiric/yacas/oneiric

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Gopal Narayanan
  • Date: 2002-04-23 13:50:51 UTC
  • Revision ID: james.westby@ubuntu.com-20020423135051-bbd6ov4orr8eufmw
Tags: upstream-1.0.51
ImportĀ upstreamĀ versionĀ 1.0.51

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DEFS = @DEFS@ -DSCRIPT_DIR=\"$(scriptdir)\"
 
2
INCLUDES = -I$(top_builddir) -I$(srcdir)/plat/linux32 -I../..
 
3
 
 
4
 
 
5
bin_PROGRAMS = yacas
 
6
noinst_PROGRAMS = testnum
 
7
noinst_LIBRARIES = libyacas.a @NUMBERS_LIB@
 
8
EXTRA_LIBRARIES = libgmpnumbers.a libyacasnumbers.a libyacasplatform.a
 
9
 
 
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 \
 
20
        archiver.h elfdll.h 
 
21
yacas_SOURCES = yacasmain.cpp commandline.cpp unixcommandline.cpp stdcommandline.cpp
 
22
yacas_LDADD = libyacas.a libyacasplatform.a @NUMBERS_LIB@ @NUMBERS_LDFLAGS@ 
 
23
 
 
24
yacas_DEPENDENCIES = libyacas.a libyacasplatform.a  @NUMBERS_LIB@
 
25
 
 
26
#
 
27
# some one who understands autoconf/automake: how do I detect if a platform
 
28
# supports elf binaries?
 
29
#
 
30
 
 
31
yacas_LDFLAGS = $(LIBS)
 
32
 
 
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 \
 
44
        archiver.cpp
 
45
        
 
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 
 
51
 
 
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 \
 
58
        convertcctocpp.bat \
 
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 \
 
72
        plat/beos/stubs.inl \
 
73
        plat/beos/platfileio.h \
 
74
        plat/beos/platdll.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
 
86
 
 
87
 
 
88
yacas_include = $(datadir)/yacas/include
 
89
 
 
90
clean-compile:
 
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
 
94
        
 
95
 
 
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; \
 
103
        done
 
104
        -for file in $(srcdir)/*.inl; do \
 
105
        basefile=`basename $$file`; \
 
106
        $(INSTALL_DATA) $(srcdir)/$$file $(yacas_include)/$$basefile; \
 
107
        done
 
108
        -for file in $(srcdir)/plat/linux32/*.h; do \
 
109
        basefile=`basename $$file`; \
 
110
        $(INSTALL_DATA) $(srcdir)/$$file $(yacas_include)/plat/linux32/$$basefile; \
 
111
        done
 
112
        -for file in $(srcdir)/plat/linux32/*.inl; do \
 
113
        basefile=`basename $$file`; \
 
114
        $(INSTALL_DATA) $(srcdir)/$$file $(yacas_include)/plat/linux32/$$basefile; \
 
115
        done
 
116
 
 
117
include depend.dep
 
118
 
 
119
depend:
 
120
        gcc -MM *.cpp $(INCLUDES) > depend.dep
 
121
 
 
122