mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
Fix make dist
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-02-14 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
|
* include/Makefile.am (nodist_includes_HEADERS): Define. Don't
|
||||||
|
distribute ffitarget.h from the build include dir.
|
||||||
|
* Makefile.in: Rebuilt.
|
||||||
|
|
||||||
2008-02-14 Anthony Green <green@redhat.com>
|
2008-02-14 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
* include/Makefile.am (includesdir): Install headers under libdir.
|
* include/Makefile.am (includesdir): Install headers under libdir.
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ noinst_LTLIBRARIES = libffi_convenience.la
|
|||||||
|
|
||||||
libffi_la_SOURCES = src/debug.c src/prep_cif.c src/types.c \
|
libffi_la_SOURCES = src/debug.c src/prep_cif.c src/types.c \
|
||||||
src/raw_api.c src/java_raw_api.c src/closures.c
|
src/raw_api.c src/java_raw_api.c src/closures.c
|
||||||
# include/ffi_common.h include/ffitarget.h
|
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = libffi.pc
|
pkgconfig_DATA = libffi.pc
|
||||||
|
|||||||
@@ -390,7 +390,6 @@ noinst_LTLIBRARIES = libffi_convenience.la
|
|||||||
libffi_la_SOURCES = src/debug.c src/prep_cif.c src/types.c \
|
libffi_la_SOURCES = src/debug.c src/prep_cif.c src/types.c \
|
||||||
src/raw_api.c src/java_raw_api.c src/closures.c
|
src/raw_api.c src/java_raw_api.c src/closures.c
|
||||||
|
|
||||||
# include/ffi_common.h include/ffitarget.h
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = libffi.pc
|
pkgconfig_DATA = libffi.pc
|
||||||
nodist_libffi_la_SOURCES = $(am__append_1) $(am__append_2) \
|
nodist_libffi_la_SOURCES = $(am__append_1) $(am__append_2) \
|
||||||
|
|||||||
@@ -6,4 +6,5 @@ DISTCLEANFILES=ffitarget.h
|
|||||||
EXTRA_DIST=ffi.h.in ffi_common.h
|
EXTRA_DIST=ffi.h.in ffi_common.h
|
||||||
|
|
||||||
includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
|
includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
|
||||||
includes_HEADERS = ffi.h ffitarget.h
|
includes_HEADERS = ffi.h
|
||||||
|
nodist_includes_HEADERS = ffitarget.h
|
||||||
|
|||||||
+35
-11
@@ -52,9 +52,11 @@ am__vpath_adj = case $$p in \
|
|||||||
*) f=$$p;; \
|
*) f=$$p;; \
|
||||||
esac;
|
esac;
|
||||||
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
||||||
am__installdirs = "$(DESTDIR)$(includesdir)"
|
am__installdirs = "$(DESTDIR)$(includesdir)" \
|
||||||
|
"$(DESTDIR)$(includesdir)"
|
||||||
includesHEADERS_INSTALL = $(INSTALL_HEADER)
|
includesHEADERS_INSTALL = $(INSTALL_HEADER)
|
||||||
HEADERS = $(includes_HEADERS)
|
nodist_includesHEADERS_INSTALL = $(INSTALL_HEADER)
|
||||||
|
HEADERS = $(includes_HEADERS) $(nodist_includes_HEADERS)
|
||||||
ETAGS = etags
|
ETAGS = etags
|
||||||
CTAGS = ctags
|
CTAGS = ctags
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
@@ -183,7 +185,8 @@ AUTOMAKE_OPTIONS = foreign
|
|||||||
DISTCLEANFILES = ffitarget.h
|
DISTCLEANFILES = ffitarget.h
|
||||||
EXTRA_DIST = ffi.h.in ffi_common.h
|
EXTRA_DIST = ffi.h.in ffi_common.h
|
||||||
includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
|
includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
|
||||||
includes_HEADERS = ffi.h ffitarget.h
|
includes_HEADERS = ffi.h
|
||||||
|
nodist_includes_HEADERS = ffitarget.h
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@@ -241,6 +244,23 @@ uninstall-includesHEADERS:
|
|||||||
echo " rm -f '$(DESTDIR)$(includesdir)/$$f'"; \
|
echo " rm -f '$(DESTDIR)$(includesdir)/$$f'"; \
|
||||||
rm -f "$(DESTDIR)$(includesdir)/$$f"; \
|
rm -f "$(DESTDIR)$(includesdir)/$$f"; \
|
||||||
done
|
done
|
||||||
|
install-nodist_includesHEADERS: $(nodist_includes_HEADERS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
test -z "$(includesdir)" || $(MKDIR_P) "$(DESTDIR)$(includesdir)"
|
||||||
|
@list='$(nodist_includes_HEADERS)'; for p in $$list; do \
|
||||||
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
|
f=$(am__strip_dir) \
|
||||||
|
echo " $(nodist_includesHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includesdir)/$$f'"; \
|
||||||
|
$(nodist_includesHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includesdir)/$$f"; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-nodist_includesHEADERS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(nodist_includes_HEADERS)'; for p in $$list; do \
|
||||||
|
f=$(am__strip_dir) \
|
||||||
|
echo " rm -f '$(DESTDIR)$(includesdir)/$$f'"; \
|
||||||
|
rm -f "$(DESTDIR)$(includesdir)/$$f"; \
|
||||||
|
done
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
@@ -320,7 +340,7 @@ check-am: all-am
|
|||||||
check: check-am
|
check: check-am
|
||||||
all-am: Makefile $(HEADERS)
|
all-am: Makefile $(HEADERS)
|
||||||
installdirs:
|
installdirs:
|
||||||
for dir in "$(DESTDIR)$(includesdir)"; do \
|
for dir in "$(DESTDIR)$(includesdir)" "$(DESTDIR)$(includesdir)"; do \
|
||||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||||
done
|
done
|
||||||
install: install-am
|
install: install-am
|
||||||
@@ -366,7 +386,8 @@ info: info-am
|
|||||||
|
|
||||||
info-am:
|
info-am:
|
||||||
|
|
||||||
install-data-am: install-includesHEADERS
|
install-data-am: install-includesHEADERS \
|
||||||
|
install-nodist_includesHEADERS
|
||||||
|
|
||||||
install-dvi: install-dvi-am
|
install-dvi: install-dvi-am
|
||||||
|
|
||||||
@@ -400,7 +421,8 @@ ps: ps-am
|
|||||||
|
|
||||||
ps-am:
|
ps-am:
|
||||||
|
|
||||||
uninstall-am: uninstall-includesHEADERS
|
uninstall-am: uninstall-includesHEADERS \
|
||||||
|
uninstall-nodist_includesHEADERS
|
||||||
|
|
||||||
.MAKE: install-am install-strip
|
.MAKE: install-am install-strip
|
||||||
|
|
||||||
@@ -411,11 +433,13 @@ uninstall-am: uninstall-includesHEADERS
|
|||||||
install-data-am install-dvi install-dvi-am install-exec \
|
install-data-am install-dvi install-dvi-am install-exec \
|
||||||
install-exec-am install-html install-html-am \
|
install-exec-am install-html install-html-am \
|
||||||
install-includesHEADERS install-info install-info-am \
|
install-includesHEADERS install-info install-info-am \
|
||||||
install-man install-pdf install-pdf-am install-ps \
|
install-man install-nodist_includesHEADERS install-pdf \
|
||||||
install-ps-am install-strip installcheck installcheck-am \
|
install-pdf-am install-ps install-ps-am install-strip \
|
||||||
installdirs maintainer-clean maintainer-clean-generic \
|
installcheck installcheck-am installdirs maintainer-clean \
|
||||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||||
ps ps-am tags uninstall uninstall-am uninstall-includesHEADERS
|
mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
|
||||||
|
uninstall-am uninstall-includesHEADERS \
|
||||||
|
uninstall-nodist_includesHEADERS
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
|||||||
Reference in New Issue
Block a user