|
Packit |
5e354d |
# Makefile.am - src/ Makefile for npth.
|
|
Packit |
5e354d |
# Copyright (C) 2011 g10 Code GmbH
|
|
Packit |
5e354d |
#
|
|
Packit |
5e354d |
# This file is part of nPth.
|
|
Packit |
5e354d |
#
|
|
Packit |
5e354d |
# nPth is free software; you can redistribute it and/or modify it
|
|
Packit |
5e354d |
# under the terms of the GNU Lesser General Public License as
|
|
Packit |
5e354d |
# published by the Free Software Foundation; either version 2.1 of the
|
|
Packit |
5e354d |
# License, or (at your option) any later version.
|
|
Packit |
5e354d |
#
|
|
Packit |
5e354d |
# nPth is distributed in the hope that it will be useful, but WITHOUT
|
|
Packit |
5e354d |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
Packit |
5e354d |
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
|
Packit |
5e354d |
# Public License for more details.
|
|
Packit |
5e354d |
#
|
|
Packit |
5e354d |
# You should have received a copy of the GNU Lesser General Public
|
|
Packit |
5e354d |
# License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
## Process this file with automake to produce Makefile.in
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
EXTRA_DIST = libnpth.vers
|
|
Packit |
5e354d |
# versioninfo.rc.in
|
|
Packit |
5e354d |
nodist_include_HEADERS = npth.h
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
lib_LTLIBRARIES = libnpth.la
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
if HAVE_LD_VERSION_SCRIPT
|
|
Packit |
5e354d |
libnpth_version_script_cmd = -Wl,--version-script=$(srcdir)/libnpth.vers
|
|
Packit |
5e354d |
else
|
|
Packit |
5e354d |
libnpth_version_script_cmd =
|
|
Packit |
5e354d |
endif
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
libnpth_la_SOURCES = npth.h npth.c npth-sigev.c
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
# AM_CPPFLAGS =
|
|
Packit |
5e354d |
# AM_CFLAGS =
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
if HAVE_W32_SYSTEM
|
|
Packit |
5e354d |
RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
|
|
Packit |
5e354d |
LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE)
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
SUFFIXES = .rc .lo
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
.rc.lo:
|
|
Packit |
5e354d |
$(LTRCCOMPILE) -i "$<" -o "$@"
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
npth_res = versioninfo.lo
|
|
Packit |
5e354d |
no_undefined = -no-undefined
|
|
Packit |
5e354d |
export_symbols = -export-symbols $(srcdir)/npth.def
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
install-def-file:
|
|
Packit |
5e354d |
$(INSTALL) $(srcdir)/npth.def $(DESTDIR)$(libdir)/npth.def
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
uninstall-def-file:
|
|
Packit |
5e354d |
-rm $(DESTDIR)$(libdir)/npth.def
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
gpgme_deps = $(gpgme_res) npth.def
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
else
|
|
Packit |
5e354d |
npth_res =
|
|
Packit |
5e354d |
no_undefined =
|
|
Packit |
5e354d |
export_symbols =
|
|
Packit |
5e354d |
install-def-file:
|
|
Packit |
5e354d |
uninstall-def-file:
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
npth_deps =
|
|
Packit |
5e354d |
endif
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
libnpth_la_LDFLAGS = $(no_undefined) $(export_symbols) \
|
|
Packit |
5e354d |
$(libnpth_version_script_cmd) -version-info \
|
|
Packit |
5e354d |
@LIBNPTH_LT_CURRENT@:@LIBNPTH_LT_REVISION@:@LIBNPTH_LT_AGE@
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
libnpth_la_DEPENDENCIES = $(srcdir)/libnpth.vers $(npth_deps)
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
install-data-local: install-def-file
|
|
Packit |
5e354d |
|
|
Packit |
5e354d |
uninstall-local: uninstall-def-file
|
|
Packit |
5e354d |
|