X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2FMakefile.ad;h=df5d76eb991692d00c531fe35bae40d7f6d1fafd;hb=1ea936cbf1bb3b19bd55839b904ef59ada84b8b5;hp=4f8b11af62d296b4bf565583684c98d717808969;hpb=e9f89411d9512b68d5f48dd3c517f61f6c27b7cb;p=silc.git diff --git a/lib/Makefile.ad b/lib/Makefile.ad index 4f8b11af..df5d76eb 100644 --- a/lib/Makefile.ad +++ b/lib/Makefile.ad @@ -3,7 +3,7 @@ # # Author: Pekka Riikonen # -# Copyright (C) 2000 - 2005 Pekka Riikonen +# Copyright (C) 2000 - 2007 Pekka Riikonen # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,25 +19,8 @@ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign # SILC Library dirs SILCLIB_DIRS = \ - contrib \ silccore \ - silcutil \ silcapputil \ -#ifdef SILC_DIST_CRYPTO - silccrypt \ -#endif SILC_DIST_CRYPTO -#ifdef SILC_DIST_SKR - silcskr \ -#endif SILC_DIST_SKR -#ifdef SILC_DIST_MATH - silcmath \ -#endif SILC_DIST_MATH -#ifdef SILC_DIST_SIM - silcsim \ -#endif SILC_DIST_SIM -#ifdef SILC_DIST_ASN1 - silcasn1 \ -#endif SILC_DIST_ASN1 silcske \ #ifdef SILC_DIST_HTTP silchttp \ @@ -48,12 +31,6 @@ SILCLIB_DIRS = \ #ifdef SILC_DIST_VCARD silcvcard \ #endif SILC_DIST_VCARD -#ifdef SILC_DIST_ACC - silcacc \ -#endif SILC_DIST_ACC -#ifdef SILC_DIST_SSH - silcssh \ -#endif SILC_DIST_SSH if SILC_ENABLE_SHARED if SILC_WIN32 @@ -66,18 +43,18 @@ LIBTOOL_SILCCLIENT_VERSION = -version-info $(LIBSILCCLIENT_CURRENT):$(LIBSILCCLI LIBTOOL_SILCSERVER_VERSION = -version-info $(LIBSILCSERVER_CURRENT):$(LIBSILCSERVER_REVISION):$(LIBSILCSERVER_AGE) else LIBTOOL_OPTS= -LIBTOOL_SILC_VERSION = -LIBTOOL_SILCCLIENT_VERSION = -LIBTOOL_SILCSERVER_VERSION = +LIBTOOL_SILC_VERSION = +LIBTOOL_SILCCLIENT_VERSION = +LIBTOOL_SILCSERVER_VERSION = endif if SILC_WIN32 -SILC_LIBS=$(LIBS) -SILCCLIENT_LIBS=$(LIBS) -lsilc +SILC_LINK_LIBS=$(LIBS) +SILCCLIENT_LINK_LIBS=$(LIBS) -lsilc SILCSERVER_LIBS=$(LIBS) -lsilc else -SILC_LIBS= -SILCCLIENT_LIBS= +SILC_LINK_LIBS= +SILCCLIENT_LINK_LIBS= SILCSERVER_LIBS= endif @@ -148,7 +125,7 @@ LIBSILC_AGE=@LIBSILC_AGE@ libsilc.a: find $(SILCLIB_DIRS) -type f -name *.lo | xargs \ - $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LIBS) \ + $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LINK_LIBS) \ $(LIBTOOL_SILC_VERSION) \ $(LIBTOOL_OPTS) -o libsilc.la @@ -159,8 +136,8 @@ LIBSILCCLIENT_AGE=@LIBSILCCLIENT_AGE@ libsilcclient.a: find $(SILCCLIENTLIB_DIRS) -type f -name *.lo | xargs \ - $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILCCLIENT_LIBS) \ - $(LIBTOOL_SILCCLIENT_VERSION) \ + $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) \ + $(SILCCLIENT_LINK_LIBS) $(LIBTOOL_SILCCLIENT_VERSION) \ $(LIBTOOL_OPTS) -o libsilcclient.la #endif SILC_DIST_CLIENTLIB