Blame w32/Makefile.am

Packit 5e354d
# Makefile.am - w32 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
# Note: This directory is only used for W32
Packit 5e354d
Packit 5e354d
EXTRA_DIST = npth.def
Packit 5e354d
nodist_include_HEADERS = npth.h
Packit 5e354d
Packit 5e354d
lib_LTLIBRARIES = libnpth.la
Packit 5e354d
Packit 5e354d
libnpth_la_SOURCES = npth.h npth.c
Packit 5e354d
Packit 5e354d
# AM_CPPFLAGS =
Packit 5e354d
# AM_CFLAGS =
Packit 5e354d
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
extra_ltoptions = -XCClinker -static-libgcc
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
Packit 5e354d
libnpth_la_LDFLAGS = $(no_undefined) $(export_symbols) $(extra_ltoptions) \
Packit 5e354d
	-version-info \
Packit 5e354d
	@LIBNPTH_LT_CURRENT@:@LIBNPTH_LT_REVISION@:@LIBNPTH_LT_AGE@
Packit 5e354d
libnpth_la_DEPENDENCIES = $(npth_deps)
Packit 5e354d
libnpth_la_LIBADD = @NETLIBS@
Packit 5e354d
Packit 5e354d
install-data-local: install-def-file
Packit 5e354d
Packit 5e354d
uninstall-local: uninstall-def-file