diff options
Diffstat (limited to 'src/service/gns/nss/Makefile.am')
-rw-r--r-- | src/service/gns/nss/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/service/gns/nss/Makefile.am b/src/service/gns/nss/Makefile.am new file mode 100644 index 000000000..af0a8a2e2 --- /dev/null +++ b/src/service/gns/nss/Makefile.am | |||
@@ -0,0 +1,43 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | # $Id$ | ||
3 | # | ||
4 | # This file taken and modified from nss-gns. | ||
5 | # | ||
6 | # nss-gns is free software; you can redistribute it and/or modify it | ||
7 | # under the terms of the GNU General Public License as | ||
8 | # published by the Free Software Foundation; either version 3 of the | ||
9 | # License, or (at your option) any later version. | ||
10 | # | ||
11 | # nss-gns is distributed in the hope that it will be useful, but | ||
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | # General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU Lesser General Public | ||
17 | # License along with nss-gns; if not, write to the Free Software | ||
18 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 | ||
19 | # USA. | ||
20 | |||
21 | EXTRA_DIST = map-file | ||
22 | |||
23 | AM_LDFLAGS=-avoid-version -module -export-dynamic | ||
24 | |||
25 | lib_LTLIBRARIES = \ | ||
26 | libnss_gns.la \ | ||
27 | libnss_gns4.la \ | ||
28 | libnss_gns6.la | ||
29 | |||
30 | sources = nss_gns_query.h nss_gns_query.c | ||
31 | |||
32 | # GNU Libc | ||
33 | libnss_gns_la_SOURCES= $(sources) nss_gns.c | ||
34 | libnss_gns_la_CFLAGS=$(AM_CFLAGS) -D_GNU_SOURCE | ||
35 | libnss_gns_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=$(srcdir)/map-file | ||
36 | |||
37 | libnss_gns4_la_SOURCES=$(libnss_gns_la_SOURCES) | ||
38 | libnss_gns4_la_CFLAGS=$(libnss_gns_la_CFLAGS) -DNSS_IPV4_ONLY=1 | ||
39 | libnss_gns4_la_LDFLAGS=$(libnss_gns_la_LDFLAGS) | ||
40 | |||
41 | libnss_gns6_la_SOURCES=$(libnss_gns_la_SOURCES) | ||
42 | libnss_gns6_la_CFLAGS=$(libnss_gns_la_CFLAGS) -DNSS_IPV6_ONLY=1 | ||
43 | libnss_gns6_la_LDFLAGS=$(libnss_gns_la_LDFLAGS) | ||