X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=distributions;h=89c96275b775c74a45b636442b5537846a163b3a;hb=615b50b8ed9ae9f18452a4318b1fa9dba69e9b36;hp=5f7b490909e3fe76c532dccb1b9648e935637626;hpb=765901077719f14db6243f3eddce052666aa5a1e;p=silc.git diff --git a/distributions b/distributions index 5f7b4909..89c96275 100644 --- a/distributions +++ b/distributions @@ -12,17 +12,20 @@ # The format of this file is as follows: # # __SUBDIRS Subdirs for the distribution -# __SUBIDRS_ Subdirs under +# __SUBDIRS_ Subdirs under # __DISTLABEL Preprocessor label # +# DISTRBUTIONS= +# # The _SUBDIRS define all the subdirectories that the Makefile should -# traverse. The _SUBDIRS_ defines a subdirectories in the +# 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. # # NOTE: For now this supports only one sublevel of the directories. # Also make sure that the directory includes Makefile.am.pre @@ -30,28 +33,41 @@ # 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_ and either define the -# directories one by one or use $(SUBDIRS) to use default to that -# Makefile. Otherwise, ./prepare cannot create correct Makefile.am. +# 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_SUBDIRS_lib=$(COMMONDIRS) # _xyz_DISTLABEL=SILC_DIST_XYZ # # To prepare the distribution give command ./prepare xyz 1.0.4 # -_toolkit_SUBDIRS=lib irssi silc silcd doc includes -_toolkit_SUBDIRS_lib=$(SUBDIRS) +# 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 +# Irssi SILC Client distribution _client_SUBDIRS=lib irssi doc includes -_client_SUBDIRS_lib=$(SUBDIRS) +_client_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcclient +_client_SUBDIRS_doc=$(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 +_server_SUBDIRS_doc=$(COMMONDIRS) _server_DISTLABEL=SILC_DIST_SERVER +# Native WIN32 SILC library distribution (will include only the libraries) +_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 + +DISTRIBUTIONS=toolkit client server win32dll