source: acro-utilib/branches/dev_3_0/packages/Makefile.am @ 5621

Revision 5621, 2.9 KB checked in by wehart, 6 years ago (diff)

Setting config/makefile fragments for the acro_utilib_3_0 branch.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
Line 
1#
2# CAUTION!
3#
4# This file should only be edited in the bootstrap/packages directory!
5#
6
7include ../config/MakeMacros.mk
8
9##
10## utilib: Already autoconf'd (by us) subpackage, descend and
11##         let it build.
12##
13## exact, colin, pebbl, pico, coliny, parpcx, gnlp, interfaces -
14##   SNL codes, descend to directory and use our Makefile
15##
16## appspack: SNL code already autoconf'd (by others)
17##
18
19SUBDIRS = \
20  $(UTILIB_DIR) $(COOPR_TOOLS_DIR) $(SACACHE_DIR) $(SUNDRY_DIR) $(APPSPACK_DIR) \
21  $(JEGA_DIR) $(COLIN_DIR) $(TMF_DIR) $(PEBBL_DIR) $(PICO_DIR) \
22  $(COLINY_DIR) $(PARPCX_DIR) $(GNLP_DIR) $(OPTPP_DIR) $(INTERFACES_DIR) .
23
24DIST_SUBDIRS = \
25  $(UTILIB_DIR) $(COOPR_TOOLS_DIR) $(SACACHE_DIR) $(SUNDRY_DIR) $(APPSPACK_DIR) \
26  $(JEGA_DIR) $(COLIN_DIR) $(TMF_DIR) $(PEBBL_DIR) $(PICO_DIR) \
27  $(COLINY_DIR) $(PARPCX_DIR) $(GNLP_DIR) $(OPTPP_DIR) $(INTERFACES_DIR)
28
29if BUILD_OPTPP
30   MAKE_OPTPP_DOC=cd optpp/docs && $(MAKE) all
31   OPTPP_COPY=cd optpp/lib && ../libtool --mode=install $(INSTALL) 'libopt.la' '@abs_top_builddir@/lib/libopt.la'
32   OPTPP_CLEAN=rm -f @abs_top_builddir@/lib/libopt*
33endif
34if BUILD_UTILIB
35   MAKE_UTILIB_DOC=cd utilib && $(MAKE) docs
36   UTILIB_COPY=cd utilib/src && ../libtool --mode=install $(INSTALL) 'libutilib.la' '@abs_top_builddir@/lib/libutilib.la'
37   UTILIB_CLEAN=rm -f @abs_top_builddir@/lib/*utilib*
38endif
39if BUILD_APPSPACK
40   MAKE_APPSPACK_DOC=cd appspack/doc && $(MAKE) docs
41endif
42if BUILD_INTERFACES
43   MAKE_INTERFACES_DOC=cd interfaces/doc && $(MAKE) docs
44endif
45if BUILD_COLIN
46   MAKE_COLIN_DOC=cd colin/doc && $(MAKE) docs
47endif
48if BUILD_COLINY
49   MAKE_COLINY_DOC=cd coliny/doc && $(MAKE) docs
50endif
51if BUILD_PEBBL
52   MAKE_PEBBL_DOC=cd pebbl/doc && $(MAKE) docs
53endif
54if BUILD_PICO
55   MAKE_PICO_DOC=cd pico/doc && $(MAKE) docs
56endif
57if BUILD_PARPCX
58   MAKE_PARPCX_DOC=cd parpcx/doc && $(MAKE) docs
59endif
60if BUILD_GNLP
61   MAKE_GNLP_DOC=cd gnlp/doc && $(MAKE) docs
62endif
63if BUILD_TMF
64   MAKE_TMF_DOC=cd tmf/doc && $(MAKE) docs
65endif
66if BUILD_SACACHE
67   MAKE_SACACHE_DOC=cd sacache/doc && $(MAKE) docs
68endif
69
70python:
71        if test -d ../python;  then : ; else mkdir -p ../python/lib ; mkdir -p ../python/bin ; fi
72        @for dir in pyutilib pyfast coopr ; do\
73           if test -d $$dir;  then \
74              cd $$dir;\
75              export PYTHONPATH=`pwd`/../../python; python setup.py install --install-lib=../../python/lib --install-scripts=../../python/bin;\
76           fi;\
77        done
78
79docs:
80        $(MAKE_UTILIB_DOC)
81        $(MAKE_SACACHE_DOC)
82        $(MAKE_APPSPACK_DOC)
83        $(MAKE_COLIN_DOC)
84        $(MAKE_TMF_DOC)
85        $(MAKE_COLINY_DOC)
86        $(MAKE_GNLP_DOC)
87        $(MAKE_PARPCX_DOC)
88        $(MAKE_PEBBL_DOC)
89        $(MAKE_PICO_DOC)
90        $(MAKE_OPTPP_DOC)
91        $(MAKE_INTERFACES_DOC)
92
93all-local:
94        @if test -d ../lib;  then : ; else mkdir ../lib ; fi
95        @$(UTILIB_COPY)
96        @$(OPTPP_COPY)
97   
98
99clean-local:
100        @$(UTILIB_CLEAN)
101        @$(OPTPP_CLEAN)
102
103DISTCLEANFILES= dummy/Makefile dummy/Makefile.in
104MAINTAINERCLEANFILES = Makefile.in dummy/Makefile.in
105EXTRA_DIST=dummy/Makefile.am
Note: See TracBrowser for help on using the repository browser.