updates
[silc.git] / distributions
1 #
2 # Distributions
3 #
4 # Distributions file describing the different distributions that are
5 # created out of the SILC source tree.  The ./prepare script will read
6 # this file to determine what kind of distributions are created.
7 #
8 # Give the name of the distribution and the version as arguments to the
9 # ./prepare script to prepare the source tree for the specific
10 # distribution.
11 #
12 # The format of this file is as follows:
13 #
14 # _<name>_SUBDIRS                       Subdirs for the distribution
15 # _<name>_SUBDIRS_<dir>                 Subdirs under <dir>
16 # _<name>_DISTLABEL                     Preprocessor label
17 #
18 # The _SUBDIRS define all the subdirectories that the Makefile should
19 # traverse.  The _SUBDIRS_<dir> defines all subdirectories in the 
20 # subdirectory <dir>.  The _DISTLABEL defines a preprocessor label
21 # that can be used in the source code like `#ifdef SILC_DIST_CLIENT' to
22 # define code only for the specific distribution.  The label can also be
23 # used in the Makefiles by `if SILC_DIST_CLIENT' to define something in
24 # the Makefile only for the specific distribution.
25 #
26 #
27 # NOTE: For now this supports only one sublevel of the directories.
28 #       Also make sure that the <dir> directory includes Makefile.am.pre
29 #       instead of Makefile.am, otherwise it won't work.  The Makefile.am.pre
30 #       must have DIST_SUBDIRS = SILC_DISTRIBUTIONS_SUBDIRS line in it.
31 #
32 # NOTE: Also note that if any subdirectory has Makefile.am.pre then you
33 #       must list it here as _<name>_SUBDIRS_<dir> and either define the
34 #       directories one by one or use $(SUBDIRS) to use default to that
35 #       Makefile.  Otherwise, ./prepare cannot create correct Makefile.am.
36 #
37 # Example:
38 #
39 # _xyz_SUBDIRS=lib irssi doc includes
40 # _xyz_SUBDIRS_lib=$(SUBDIRS)
41 # _xyz_DISTLABEL=SILC_DIST_XYZ
42 #
43 # To prepare the distribution give command ./prepare xyz 1.0.4
44 #
45
46 _toolkit_SUBDIRS=lib irssi silc silcd doc includes
47 _toolkit_SUBDIRS_lib=$(SUBDIRS)
48 _toolkit_DISTLABEL=SILC_DIST_TOOLKIT
49
50 _client_SUBDIRS=lib irssi doc includes
51 _client_SUBDIRS_lib=$(SUBDIRS)
52 _client_DISTLABEL=SILC_DIST_CLIENT
53
54 _server_SUBDIRS=lib silcd doc includes
55 _server_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf
56 _server_DISTLABEL=SILC_DIST_SERVER
57