X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=distributions;h=e55e5e0f35f761b713569d8c4fbf79f0bb473f72;hb=refs%2Fheads%2Fsilcer;hp=b4fca28a0dc821aa88d81fb3a595a7b706c0c984;hpb=245cb91327cbaa7ac1f8ba1df2c44d49f1bad08f;p=silc.git diff --git a/distributions b/distributions index b4fca28a..e55e5e0f 100644 --- a/distributions +++ b/distributions @@ -11,21 +11,22 @@ # # The format of this file is as follows: # -# __SUBDIRS Subdirs for the distribution -# __SUBDIRS_ Subdirs under -# __DISTLABEL Preprocessor label -# -# DISTRBUTIONS= +# _SUBDIRS Subdirs for the distribution +# _SUBDIRS_ Subdirs under +# _DISTLABEL Preprocessor label +# _EXTRA_DIST List of extra files or directories # # The _SUBDIRS define all the subdirectories that the Makefile should -# traverse. The _SUBDIRS_ defines all subdirectories in the -# subdirectory . The _DISTLABEL defines a preprocessor label +# traverse. The SUBDIRS_ defines all subdirectories in the +# subdirectory . The DISTLABEL defines a preprocessor label # that can be used in the source code like `#ifdef SILC_DIST_CLIENT' to # define code only for the specific distribution. The label can also be # used in the Makefiles by `if SILC_DIST_CLIENT' to define something in # the Makefile only for the specific distribution. # -# The DISTRIBUTIONS defines all distributions in this file. +# The DISTRIBUTIONS defines all distributions in this file. The +# EXTRA_DIST is used to add extra files or directories to the +# distribution. The files may be in subdirectories. # # NOTE: For now this supports only one sublevel of the directories. # Also make sure that the directory includes Makefile.am.pre @@ -33,29 +34,47 @@ # must have DIST_SUBDIRS = SILC_DISTRIBUTIONS_SUBDIRS line in it. # # NOTE: Also note that if any subdirectory has Makefile.am.pre then you -# must list it here as __SUBDIRS_. To define all sub -# directories use $(COMMONLIBS) that must be defined in the Makefile +# must list it here as _SUBDIRS_. To define all sub +# directories use $(COMMONDIRS) that must be defined in the Makefile # and list all subdirs. # # Example: # -# _xyz_SUBDIRS=lib irssi doc includes -# _xyz_SUBDIRS_lib=$(SUBDIRS) -# _xyz_DISTLABEL=SILC_DIST_XYZ +# xyz_SUBDIRS=lib irssi doc includes +# xyz_SUBDIRS_lib=$(COMMONDIRS) +# xyz_DISTLABEL=SILC_DIST_XYZ +# xyz_EXTRA_DIST=README.XYZ # # To prepare the distribution give command ./prepare xyz 1.0.4 # -_toolkit_SUBDIRS=lib irssi silc silcd doc includes -_toolkit_SUBDIRS_lib=$(COMMONDIRS) -_toolkit_DISTLABEL=SILC_DIST_TOOLKIT +# Default Toolkit distribution +toolkit_SUBDIRS=lib irssi silc silcd doc includes win32 +toolkit_SUBDIRS_lib=$(COMMONDIRS) +toolkit_SUBDIRS_doc=$(COMMONDIRS) +toolkit_DISTLABEL=SILC_DIST_TOOLKIT +toolkit_EXTRA_DIST=README.CVS README.WIN32 + +# Irssi SILC Client distribution +client_SUBDIRS=lib irssi doc includes +client_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcclient silcsftp +client_SUBDIRS_doc=$(COMMONDIRS) +client_DISTLABEL=SILC_DIST_CLIENT +client_EXTRA_DIST=# -_client_SUBDIRS=lib irssi doc includes -_client_SUBDIRS_lib=$(COMMONDIRS) -_client_DISTLABEL=SILC_DIST_CLIENT +# SILC Server distribution +server_SUBDIRS=lib silcd doc includes +server_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf silcsftp +server_SUBDIRS_doc=$(COMMONDIRS) +server_DISTLABEL=SILC_DIST_SERVER +server_EXTRA_DIST=# -_server_SUBDIRS=lib silcd doc includes -_server_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq dotconf -_server_DISTLABEL=SILC_DIST_SERVER +# Native WIN32 SILC library distribution (will include only the libraries) +# XXX This is not really used at all! +win32dll_SUBDIRS=lib doc includes +win32dll_SUBDIRS_lib=silccore silccrypt silcsim silcmath silcske silcutil trq silcclient +win32dll_SUBDIRS_doc=$(COMMONDIRS) +win32dll_DISTLABEL=SILC_DIST_WIN32DLL +win32dll_EXTRA_DIST=README.CVS README.WIN32 -DISTRIBUTIONS=toolkit client server +DISTRIBUTIONS=toolkit client server win32dll