root/trunk/gdal/swig/GNUmakefile

Revision 12783, 1.0 kB (checked in by warmerdam, 1 year ago)

exit if any submakes fail (#1994)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2 include ../GDALmake.opt
3
4 # The BINDINGS variable in GDALmake.opt contains a list of language
5 # bindings to be built and installed by default.
6
7 # The ALL_BINDINGS variable defines all the possible bindings.  It's used
8 # in the dist and clean definitions.
9 ALL_BINDINGS = python php csharp ruby perl java
10
11 default: generate
12
13 # The dist target should generate all the wrapper files for all supported
14 # language bindings.  This should be called by the top level distribution
15 # maker script prior to bundling up the source.  It eliminates the installer
16 # from having the proper version of swig installled.
17 dist: generate
18
19 clean:
20         for dir in ${BINDINGS}; do (cd $$dir; $(MAKE) clean) || exit; done
21
22 veryclean:
23         for dir in ${ALL_BINDINGS}; do (cd $$dir; $(MAKE) veryclean) || exit; done
24
25 generate:
26         for dir in ${ALL_BINDINGS}; do (cd $$dir; $(MAKE) generate) || exit; done
27
28 build:
29         for dir in ${BINDINGS}; do (cd $$dir; $(MAKE) build) || exit; done
30
31 install:
32         for dir in ${BINDINGS}; do (cd $$dir; $(MAKE) install) || exit; done
Note: See TracBrowser for help on using the browser.