mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-24 14:24:59 +08:00
3dd601f552
which were copying Makefile.in from the libtool tree into the package running libtoolize. Now we explicitly list the files to copy to force the package to generate its own Makefile.in: * libltdl/Makefile.am (libltdl_la_SOURCES, libltdlc_la_SOURCES): Add ltdl.h. (ltdldatadir): New variable for installation directory of libtoolize --ltdl files. (ltdldata_DATA): Tell automake what files to copy there at install time (and remove at unistall time!). (local-install-files): Removed. This hack is not required anymore, the automake generated install rules are much more advanced than this. * Makefile.am (install-data-hook, uninstall-local): Removed. Libltdl files for libtoolize are installed by their own Makefile now.
55 lines
1.8 KiB
Makefile
55 lines
1.8 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
##
|
|
## Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004 Free Software Foundation
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; either version 2 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program; see the file COPYING. If not, write to
|
|
## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
## Boston, MA 02111-1307, USA.
|
|
|
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
|
ACLOCAL_AMFLAGS = -I ../m4
|
|
AM_CPPFLAGS = -I$(top_srcdir)
|
|
DEFS = -DHAVE_CONFIG_H="<$(CONFIG_H)>"
|
|
|
|
if INSTALL_LTDL
|
|
include_HEADERS = ltdl.h
|
|
lib_LTLIBRARIES = libltdl.la
|
|
else
|
|
noinst_HEADERS = ltdl.h
|
|
endif
|
|
|
|
if CONVENIENCE_LTDL
|
|
noinst_LTLIBRARIES = libltdlc.la
|
|
endif
|
|
|
|
## Make sure these will be cleaned even when they're not built by
|
|
## default.
|
|
CLEANFILES = libltdl.la libltdlc.la
|
|
|
|
libltdl_la_SOURCES = ltdl.c ltdl.h
|
|
libltdl_la_LDFLAGS = -no-undefined -version-info 4:0:1
|
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
|
|
|
libltdlc_la_SOURCES = ltdl.c ltdl.h
|
|
libltdlc_la_LIBADD = $(LIBADD_DL)
|
|
|
|
## Because we do not have automatic dependency tracking:
|
|
ltdl.lo: ltdl.h $(top_srcdir)/$(CONFIG_H)
|
|
|
|
|
|
## These are installed as a subdirectory of pkgdatadir so that
|
|
## libtoolize --ltdl can find them later:
|
|
ltdldatadir = $(pkgdatadir)/libltdl
|
|
ltdldata_DATA = COPYING.LIB Makefile.am README $(libltdl_la_SOURCES)
|