[svn-inject] Installing original source of libnss-mysql-bg
[manu/libnss-mysql-bg.git] / src / Makefile.am
1 ##  Copyright (C) 2002 Ben Goodwin
2 ##  This file is part of the nss-mysql library.
3 ##
4 ##  The nss-mysql library is free software; you can redistribute it and/or
5 ##  modify it under the terms of the GNU General Public License as published
6 ##  by the Free Software Foundation; either version 2 of the License, or
7 ##  (at your option) any later version.
8 ##
9 ##  The nss-mysql library is distributed in the hope that it will be useful,
10 ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ##  GNU General Public License for more details.
13 ##
14 ##  You should have received a copy of the GNU General Public License
15 ##  along with the nss-mysql library; if not, write to the Free Software
16 ##  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17 ##
18 ## $Id: Makefile.am,v 1.3 2004/11/13 16:25:26 cinergi Exp $
19 # From Makefile.am $Revision: 1.3 $
20
21 AUTOMAKE_OPTIONS = foreign 1.6
22
23 library_sources         = version.c nss_config.c nss_main.c \
24                           nss_support.c mysql.c lookup.c \
25                           mysql-pwd.c mysql-spwd.c mysql-grp.c
26 library_ldflags         = -module -version-info @LIBVER@:0:0 \
27                           -export-symbols $(srcdir)/@OS@.sym
28
29 if RENAME
30 lib_LTLIBRARIES         = nss_mysql.la
31 nss_mysql_la_LDFLAGS    = $(library_ldflags)
32 nss_mysql_la_SOURCES    = $(library_sources)
33 else
34 lib_LTLIBRARIES         = libnss_mysql.la
35 libnss_mysql_la_LDFLAGS = $(library_ldflags)
36 libnss_mysql_la_SOURCES = $(library_sources)
37 endif
38  
39 noinst_HEADERS = nss_mysql.h lookup.h