Commit | Line | Data |
---|---|---|
97a9a385 MW |
1 | ### -*-makefile-*- |
2 | ### | |
3 | ### Build script for SOD | |
4 | ### | |
5 | ### (c) 2015 Straylight/Edgeware | |
6 | ### | |
7 | ||
8 | ###----- Licensing notice --------------------------------------------------- | |
9 | ### | |
e0808c47 | 10 | ### This file is part of the Sensible Object Design, an object system for C. |
97a9a385 MW |
11 | ### |
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. | |
16 | ### | |
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. | |
21 | ### | |
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. | |
25 | ||
b5d086c2 MW |
26 | include $(top_srcdir)/vars.am |
27 | ||
97a9a385 MW |
28 | SUBDIRS = |
29 | ||
30 | ###-------------------------------------------------------------------------- | |
31 | ### Subdirectories to build | |
32 | ||
33 | ## The SOD translator. | |
34 | SUBDIRS += src | |
35 | ||
36 | ## The runtime support library. | |
37 | SUBDIRS += lib | |
38 | ||
3f725f73 MW |
39 | ## The manual. |
40 | SUBDIRS += doc | |
41 | ||
8d1d7d3e MW |
42 | ## The tests and examples. |
43 | SUBDIRS += test | |
44 | ||
5aeb3da7 MW |
45 | ###-------------------------------------------------------------------------- |
46 | ### Distribution. | |
47 | ||
6d1b78e0 MW |
48 | ## Release number. |
49 | dist-hook: | |
50 | echo $(VERSION) >$(distdir)/RELEASE | |
51 | ||
722aeb62 MW |
52 | ## The `STYLE' document. |
53 | EXTRA_DIST += STYLE | |
54 | ||
5aeb3da7 MW |
55 | ## Additional build tools. |
56 | EXTRA_DIST += config/auto-version | |
eddc126b | 57 | EXTRA_DIST += config/confsubst |
5aeb3da7 | 58 | |
259726f3 MW |
59 | ###-------------------------------------------------------------------------- |
60 | ### Debian. | |
61 | ||
62 | EXTRA_DIST += debian/rules debian/copyright | |
63 | EXTRA_DIST += debian/control debian/changelog | |
64 | EXTRA_DIST += debian/compat | |
65 | ||
66 | ## libsod | |
67 | EXTRA_DIST += debian/libsod.install | |
68 | ||
69 | ## libsod-dev | |
70 | EXTRA_DIST += debian/libsod-dev.install | |
71 | ||
72 | ## sod | |
73 | EXTRA_DIST += debian/sod.install | |
74 | ||
3f725f73 MW |
75 | ## sod-doc |
76 | EXTRA_DIST += debian/sod-doc.install | |
77 | ||
259726f3 MW |
78 | ## sod-dev |
79 | EXTRA_DIST += debian/sod-dev.install | |
80 | ||
97a9a385 | 81 | ###----- That's all, folks -------------------------------------------------- |