diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-08-22 05:54:47 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-08-22 05:54:47 +0200 |
commit | 30d8bf3e2835dbb0bf6876a6a1d4dd227ba335a9 (patch) | |
tree | 6e09c7ef38b00e0088104b38152a941e17fbea4e /scintilla.am | |
parent | a27b5d46c846f1e593b7ed475c6e315ca2051daf (diff) | |
download | sciteco-30d8bf3e2835dbb0bf6876a6a1d4dd227ba335a9.tar.gz |
automatically build Scintilla as part of SciTECO's build system:
this should simplify building SciTECO for new users
* compiler and archiver are passed down from Autoconf,
so cross-compiling should work transparently
* `make clean` will also clean the Scintilla source tree
* there is no longer any need for "source bundles" as
tar balls also contain Scintilla/Scinterm now
* building from Git is not much more difficult than building
from a tar ball
* The versions of Scintilla/Scinterm embedded as submodules
already contain all the patches necessary (currently none are
necessary), so there's no need to have patch files in the
repository
* INSTALL instructions have been rewritten
* the --with-scintilla and --with-scinterm site-config options
have been kept. But they should be rarely necessary now.
Diffstat (limited to 'scintilla.am')
-rw-r--r-- | scintilla.am | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scintilla.am b/scintilla.am new file mode 100644 index 0000000..0d408bd --- /dev/null +++ b/scintilla.am @@ -0,0 +1,22 @@ +# Scintilla/Scinterm are cloned as submodules +# of this repository, so we may give a rule +# for building scintilla.a here + +if INTERFACE_GTK +SCINTILLA_MAKE_DIR = @SCINTILLA_PATH@/gtk +else +SCINTILLA_MAKE_DIR = @SCINTERM_PATH@ +endif + +@SCINTILLA_PATH@/bin/scintilla.a : + $(MAKE) -C $(SCINTILLA_MAKE_DIR) \ + CXX=@CXX@ AR=@AR@ + +clean-local-scintilla: + $(MAKE) -C $(SCINTILLA_MAKE_DIR) clean + +# NOTE: using a separate `clean-local-scintilla` +# target allows us to add more custom rules to the +# including Automake file +clean-local: clean-local-scintilla +.PHONY: clean-local-scintilla |