4 # Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6 # Copyright (C) 2000 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; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
19 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
22 noinst_LTLIBRARIES = libsilcsim.la
27 libsilcsim_la_SOURCES = \
32 # SILC Ciphers to be compiled as modules
44 # SILC Hash Functions to be compiled as modules
51 all: $(SIM_CIPHER_OBJS) $(SIM_HASH_OBJS)
55 LTFLAGS = --libtool-enable-shared
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; \
69 @if test '!' -f lib$*.la ; then \
70 $(LIBTOOL) --mode=link $(CCLD) -rpath $(silc_modulesdir) \
71 ../silccrypt/$*.lo -o lib$*.la $(LTFLAGS); \
72 cd $(srcdir) && $(LN_S) -f $(srcdir)/.libs/lib$*.so \
73 $(srcdir)/$*.sim.so; \
76 CLEANFILES = *.sim.so *.la
79 include_HEADERS = silcsim.h silcsimutil.h
84 include $(top_srcdir)/Makefile.defines.in