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