# Automatically generated by Autodist 1.3.1 from Makefile.ad. Do not edit.
# To make changes edit the ./lib/silcsim/Makefile.ad file in the source tree.
# Source: ./lib/silcsim/Makefile.ad
# Generated: Tue Mar 6 22:34:57 CET 2007 by pat
# Distribution: Server
# License:
#
# Makefile.ad
#
# 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
if SILC_SIM
noinst_LTLIBRARIES = libsilcsim.la
else
noinst_LTLIBRARIES =
endif
libsilcsim_la_SOURCES = silcsim.c silcsimutil.c
#
# SILC Ciphers to be compiled as modules
#
SIM_CIPHER_OBJS = none.o blowfish.o rc5.o aes.o rsa.o twofish.o cast.o
#
# SILC Hash Functions to be compiled as modules
#
SIM_HASH_OBJS = md5.o sha1.o
if SILC_SIM
all: $(SIM_CIPHER_OBJS) $(SIM_HASH_OBJS)
endif
if SILC_LIBTOOLFIX
LTFLAGS = --libtool-enable-shared
else
LTFLAGS =
endif
$(SIM_CIPHER_OBJS):
@if test '!' -f lib$*.la ; then $(LIBTOOL) --mode=link $(CCLD) -rpath $(silc_modulesdir) ../silccrypt/$*.lo -o lib$*.la $(LTFLAGS); cd $(srcdir) && $(LN_S) -f $(srcdir)/.libs/lib$*.so $(srcdir)/$*.sim.so; fi
$(SIM_HASH_OBJS):
@if test '!' -f lib$*.la ; then $(LIBTOOL) --mode=link $(CCLD) -rpath $(silc_modulesdir) ../silccrypt/$*.lo -o lib$*.la $(LTFLAGS); cd $(srcdir) && $(LN_S) -f $(srcdir)/.libs/lib$*.so $(srcdir)/$*.sim.so; fi
CLEANFILES = *.sim.so *.la
EXTRA_DIST = *.h
#
# Installation
#
install-data-hook:
-mkdir -p $(modulesdir)
-$(INSTALL_DATA) $(top_srcdir)/lib/silcsim/*.so $(modulesdir)/
include $(top_srcdir)/Makefile.defines.in
syntax highlighted by Code2HTML, v. 0.9.1