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 # DISTRBUTIONS=<distributions>
19 #
20 # The _SUBDIRS define all the subdirectories that the Makefile should
21 # traverse.  The _SUBDIRS_<dir> defines all subdirectories in the 
22 # subdirectory <dir>.  The _DISTLABEL defines a preprocessor label
23 # that can be used in the source code like `#ifdef SILC_DIST_CLIENT' to
24 # define code only for the specific distribution.  The label can also be
25 # used in the Makefiles by `if SILC_DIST_CLIENT' to define something in
26 # the Makefile only for the specific distribution.
27 #
28 # The DISTRIBUTIONS defines all distributions in this file.
29 #
30 # NOTE: For now this supports only one sublevel of the directories.
31 #       Also make sure that the <dir> directory includes Makefile.am.pre
32 #       instead of Makefile.am, otherwise it won't work.  The Makefile.am.pre
33 #       must have DIST_SUBDIRS = SILC_DISTRIBUTIONS_SUBDIRS line in it.
34 #
35 # NOTE: Also note that if any subdirectory has Makefile.am.pre then you
36 #       must list it here as _<name>_SUBDIRS_<dir>. To define all sub
37 #       directories use $(COMMONDIRS) that must be defined in the Makefile
38 #       and list all subdirs.
39 #
40 # Example:
41 #
42 # _xyz_SUBDIRS=lib irssi doc includes
43 # _xyz_SUBDIRS_lib=$(COMMONDIRS)
44 # _xyz_DISTLABEL=SILC_DIST_XYZ
45 #
46 # To prepare the distribution give command ./prepare xyz 1.0.4
47 #
48
49 # Default Toolkit distribution
50 _toolkit_SUBDIRS=lib irssi silc silcd doc includes win32
51 _toolkit_SUBDIRS_lib=$(COMMONDIRS)
52 _toolkit_SUBDIRS_doc=$(COMMONDIRS)
53 _toolkit_DISTLABEL=SILC_DIST_TOOLKIT
54
55 # Irssi SILC Client distribution
56 _client_SUBDIRS=lib irssi doc includes
57 _client_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcclient
58 _client_SUBDIRS_doc=$(COMMONDIRS)
59 _client_DISTLABEL=SILC_DIST_CLIENT
60
61 # SILC Server distribution
62 _server_SUBDIRS=lib silcd doc includes
63 _server_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf
64 _server_SUBDIRS_doc=$(COMMONDIRS)
65 _server_DISTLABEL=SILC_DIST_SERVER
66
67 # Native WIN32 SILC library distribution (will include only the libraries)
68 _win32dll_SUBDIRS=lib doc includes
69 _win32dll_SUBDIRS_lib=silccore silccrypt silcsim silcmath silcske silcutil trq silcclient
70 _win32dll_SUBDIRS_doc=$(COMMONDIRS)
71 _win32dll_DISTLABEL=SILC_DIST_WIN32DLL
72
73 DISTRIBUTIONS=toolkit client server win32dll