3 ### Build script for SOD
5 ### (c) 2015 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the Sensible Object Design, an object system for C.
12 ### SOD is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU General Public License as published by
14 ### the Free Software Foundation; either version 2 of the License, or
15 ### (at your option) any later version.
17 ### SOD is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU General Public License for more details.
22 ### You should have received a copy of the GNU General Public License
23 ### along with SOD; if not, write to the Free Software Foundation,
24 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 include $(top_srcdir)/vars.am
30 ###--------------------------------------------------------------------------
31 ### Package-configuration file.
33 pkgconfigdir = $(libdir)/pkgconfig
34 pkgconfig_DATA = sod.pc
36 EXTRA_DIST += sod.pc.in
38 sod.pc: sod.pc.in Makefile
39 $(SUBST) $(srcdir)/sod.pc.in >$@.new $(SUBSTITUTIONS) && mv $@.new $@
41 ###--------------------------------------------------------------------------
42 ### Subdirectories to build
44 ## The SOD translator.
47 ## The runtime support library.
53 ## The tests and examples.
56 ###--------------------------------------------------------------------------
61 echo $(VERSION) >$(distdir)/RELEASE
63 ## Additional build tools.
64 EXTRA_DIST += config/auto-version
65 EXTRA_DIST += config/confsubst
67 ###--------------------------------------------------------------------------
70 EXTRA_DIST += debian/rules debian/copyright
71 EXTRA_DIST += debian/control debian/changelog
72 EXTRA_DIST += debian/compat
75 EXTRA_DIST += debian/libsod.install
78 EXTRA_DIST += debian/libsod-dev.install
81 EXTRA_DIST += debian/sod.install
84 EXTRA_DIST += debian/sod-doc.install
87 EXTRA_DIST += debian/sod-dev.install
89 ###----- That's all, folks --------------------------------------------------