# Automatically generated by Autodist 1.3.1 from Makefile.ad. Do not edit.
# To make changes edit the ./lib/Makefile.ad file in the source tree.
# Source: ./lib/Makefile.ad
# Generated: Tue Mar 6 22:34:53 CET 2007 by pat
# Distribution: Server
# License:
#
# Makefile.am
#
# Author: Pekka Riikonen <priikone@silcnet.org>
#
# Copyright (C) 2000 - 2005 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
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
# SILC Library dirs
SILCLIB_DIRS = contrib silccore silccrypt silcsim silcmath silcske silcutil
SILCLIB = libsilc.a
SUBDIRS = $(SILCLIB_DIRS) $(SILCCLIENTLIB_DIRS)
CLEANFILES = libsilc.a libsilcclient.a
DISTCLEANFILES = libsilc.a libsilcclient.a
remove:
-rm -f libsilc.a
-rm -f libsilcclient.a
all:
$(MAKE) remove $(SILCLIB) $(SILCSERVERLIB) $(SILCCLIENTLIB)
install-exec-hook:
if SILC_ENABLE_SHARED
-mkdir -p $(libdir)
-$(LIBTOOL) $(INSTALL) libsilc.la $(DESTDIR)$(libdir)/
-rm -rf $(DESTDIR)$(libdir)/libsilc.a
endif
LIB_BASE_VERSION=@LIB_BASE_VERSION@
LIBSILC_CURRENT=@LIBSILC_CURRENT@
LIBSILC_REVISION=@LIBSILC_REVISION@
LIBSILC_AGE=@LIBSILC_AGE@
libsilc.a:
find $(SILCLIB_DIRS) -type f -name *.lo | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -version-info $(LIBSILC_CURRENT):$(LIBSILC_REVISION):$(LIBSILC_AGE) -release $(LIB_BASE_VERSION) -rpath $(DESTDIR)$(libdir) -o libsilc.la
install-data-hook:
include $(top_srcdir)/Makefile.defines.in
syntax highlighted by Code2HTML, v. 0.9.1