4 # Author: Pekka Riikonen <priikone@silcnet.org>
6 # Copyright (C) 2000 - 2007 Pekka Riikonen
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; version 2 of the License.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
18 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
21 noinst_LTLIBRARIES = libsilcsim.la
26 libsilcsim_la_SOURCES = \
31 # SILC Ciphers to be compiled as modules
41 # SILC Hash Functions to be compiled as modules
49 all: $(SIM_CIPHER_OBJS) $(SIM_HASH_OBJS)
53 @if test '!' -f lib$*.la ; then \
54 $(LIBTOOL) --mode=link $(CCLD) -rpath $(silc_modulesdir) \
55 ../silccrypt/$*.lo -o lib$*.la $(LTFLAGS); \
56 cd $(srcdir) && $(LN_S) -f $(srcdir)/.libs/lib$*.so \
57 $(srcdir)/$*.sim.so; \
61 @if test '!' -f lib$*.la ; then \
62 $(LIBTOOL) --mode=link $(CCLD) -rpath $(silc_modulesdir) \
63 ../silccrypt/$*.lo -o lib$*.la $(LTFLAGS); \
64 cd $(srcdir) && $(LN_S) -f $(srcdir)/.libs/lib$*.so \
65 $(srcdir)/$*.sim.so; \
68 CLEANFILES = *.sim.so *.la
70 #ifdef SILC_DIST_TOOLKIT
71 include_HEADERS = silcsim.h silcsimutil.h
72 #endif SILC_DIST_TOOLKIT
80 -mkdir -p $(modulesdir)
81 -$(INSTALL_DATA) $(top_srcdir)/lib/silcsim/*.so $(modulesdir)/
83 include $(top_srcdir)/Makefile.defines.in