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.
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
12 # The format of this file is as follows:
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
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.
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.
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.
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.
43 # xyz_SUBDIRS=lib irssi doc includes
44 # xyz_SUBDIRS_lib=$(COMMONDIRS)
45 # xyz_DISTLABEL=SILC_DIST_XYZ
46 # xyz_EXTRA_DIST=README.XYZ
48 # To prepare the distribution give command ./prepare xyz 1.0.4
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
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 silcsftp
61 client_SUBDIRS_doc=$(COMMONDIRS)
62 client_DISTLABEL=SILC_DIST_CLIENT
65 # SILC Server distribution
66 server_SUBDIRS=lib silcd doc includes
67 server_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp
68 server_SUBDIRS_doc=$(COMMONDIRS)
69 server_DISTLABEL=SILC_DIST_SERVER
72 # Native WIN32 SILC library distribution (will include only the libraries)
73 # XXX This is not really used at all!
74 win32dll_SUBDIRS=lib doc includes
75 win32dll_SUBDIRS_lib=silccore silccrypt silcsim silcmath silcske silcutil trq silcclient
76 win32dll_SUBDIRS_doc=$(COMMONDIRS)
77 win32dll_DISTLABEL=SILC_DIST_WIN32DLL
78 win32dll_EXTRA_DIST=README.CVS README.WIN32
80 DISTRIBUTIONS=toolkit client server win32dll