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 # <name>_EXTRA_DIST                    List of extra files or directories
18 #
19 # DISTRBUTIONS=<distributions>
20 #
21 # The _SUBDIRS define all the subdirectories that the Makefile should
22 # traverse.  The SUBDIRS_<dir> defines all subdirectories in the 
23 # subdirectory <dir>.  The DISTLABEL defines a preprocessor label
24 # that can be used in the source code like `#ifdef SILC_DIST_CLIENT' to
25 # define code only for the specific distribution.  The label can also be
26 # used in the Makefiles by `if SILC_DIST_CLIENT' to define something in
27 # the Makefile only for the specific distribution.
28 #
29 # The DISTRIBUTIONS defines all distributions in this file.  The
30 # EXTRA_DIST is used to add extra files or directories to the
31 # distribution. The files may be in subdirectories.
32 #
33 # NOTE: For now this supports only one sublevel of the directories.
34 #       Also make sure that the <dir> directory includes Makefile.am.pre
35 #       instead of Makefile.am, otherwise it won't work.  The Makefile.am.pre
36 #       must have DIST_SUBDIRS = SILC_DISTRIBUTIONS_SUBDIRS line in it.
37 #
38 # NOTE: Also note that if any subdirectory has Makefile.am.pre then you
39 #       must list it here as <name>_SUBDIRS_<dir>. To define all sub
40 #       directories use $(COMMONDIRS) that must be defined in the Makefile
41 #       and list all subdirs.
42 #
43 # Example:
44 #
45 # xyz_SUBDIRS=lib irssi doc includes
46 # xyz_SUBDIRS_lib=$(COMMONDIRS)
47 # xyz_DISTLABEL=SILC_DIST_XYZ
48 # xyz_EXTRA_DIST=README.XYZ
49 #
50 # To prepare the distribution give command ./prepare xyz 1.0.4
51 #
52
53 # Default Toolkit distribution
54 toolkit_SUBDIRS=lib irssi silc silcd doc includes win32
55 toolkit_SUBDIRS_lib=$(COMMONDIRS)
56 toolkit_SUBDIRS_doc=$(COMMONDIRS)
57 toolkit_DISTLABEL=SILC_DIST_TOOLKIT
58 toolkit_EXTRA_DIST=README.CVS README.WIN32
59
60 # Irssi SILC Client distribution
61 client_SUBDIRS=lib irssi doc includes
62 client_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcclient
63 client_SUBDIRS_doc=$(COMMONDIRS)
64 client_DISTLABEL=SILC_DIST_CLIENT
65 client_EXTRA_DIST=#
66
67 # SILC Server distribution
68 server_SUBDIRS=lib silcd doc includes
69 server_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf
70 server_SUBDIRS_doc=$(COMMONDIRS)
71 server_DISTLABEL=SILC_DIST_SERVER
72 server_EXTRA_DIST=#
73
74 # Native WIN32 SILC library distribution (will include only the libraries)
75 win32dll_SUBDIRS=lib doc includes
76 win32dll_SUBDIRS_lib=silccore silccrypt silcsim silcmath silcske silcutil trq silcclient
77 win32dll_SUBDIRS_doc=$(COMMONDIRS)
78 win32dll_DISTLABEL=SILC_DIST_WIN32DLL
79 win32dll_EXTRA_DIST=README.CVS README.WIN32
80
81 DISTRIBUTIONS=toolkit client server win32dll