4 # Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6 # Copyright (C) 2001 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.
20 # This file is intended to include all common compilation defines for the
21 # SILC source tree. All Makefile.ams in the SILC source tree are expected
22 # to include this file (Makefile.defines.in). Also this file may be included
23 # in any external project that is included in the SILC source tree.
25 # Add following to your Makefile.am:
27 # include $(top_srcdir)/Makefile.defines.in
29 # All packages in the SILC source tree that include the Makefile.defines.in
30 # must also include the following two lines in their configure.in file.
32 # INCLUDE_DEFINES_INT="include \$(top_srcdir)/Makefile.defines_int"
33 # AC_SUBST(INCLUDE_DEFINES_INT)
35 # (See the Makefile.defines_int.pre for all different definitions but DO NOT
36 # directly include that file!)
44 INCLUDES = $(ADD_INCLUDES) $(SILC_CFLAGS) \
45 -I$(srcdir) -I$(top_srcdir) \
46 -I$(silc_top_srcdir) \
47 -I$(silc_top_srcdir)/lib/silccore \
48 -I$(silc_top_srcdir)/lib/silccrypt \
49 -I$(silc_top_srcdir)/lib/silcmath \
50 -I$(silc_top_srcdir)/lib/silcmath/mpi \
51 -I$(silc_top_srcdir)/lib/silcske \
52 -I$(silc_top_srcdir)/lib/silcsim \
53 -I$(silc_top_srcdir)/lib/silcutil \
54 -I$(silc_top_srcdir)/lib/silcclient \
55 -I$(silc_top_srcdir)/lib/contrib \
56 -I$(silc_top_srcdir)/includes \
57 -I$(silc_top_srcdir)/doc \
58 -I$(silc_top_srcdir)/lib/trq
60 includes-install: Makefile
61 for i in $(include_HEADERS); \
64 d=$(silc_top_srcdir)/includes/$$i; \
65 ln $$s $$d 2>/dev/null || (rm -f $$d; cp -p $$s $$d;); \
68 all-local: includes-install