00c02816f19e32fd902f5cad46f74b0899114b77
[silc.git] / Makefile.defines.pre
1 #
2 #  Makefile.defines.pre
3 #
4 #  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
5 #
6 #  Copyright (C) 2001 Pekka Riikonen
7 #
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.
12 #
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.
17 #
18
19 #
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.
24 #
25 # Add following to your Makefile.am:
26 #
27 # include $(top_srcdir)/Makefile.defines.in
28 #
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.
31 #
32 # INCLUDE_DEFINES_INT="include \$(top_srcdir)/Makefile.defines_int"   
33 # AC_SUBST(INCLUDE_DEFINES_INT)
34 #
35 # (See the Makefile.defines_int.pre for all different definitions but DO NOT
36 #  directly include that file!)
37 #
38
39 @INCLUDE_DEFINES_INT@
40
41 #
42 # INCLUDE defines
43 #
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
59
60 #
61 #includes-install: Makefile
62 #       for i in $(include_HEADERS); do s=$(srcdir)/$$i;
63 #d=$(silc_top_srcdir)/includes/$$i; \
64 #          ln $$s $$d 2>/dev/null || (rm -f $$d; cp -p $$s $$d;); \
65 #       done;
66 #
67 #all-local: includes-install