This eliminates the AM_CONDITIONAL ugliness, which eliminates just a bit of extra boilerplate for a new target. At the same time, properly categorize the EXTRA_DIST files into SOURCES and HEADERS, for the generation of ctags.
11 lines
274 B
Makefile
11 lines
274 B
Makefile
## Process this with automake to create Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS=foreign
|
|
|
|
DISTCLEANFILES=ffitarget.h
|
|
noinst_HEADERS=ffi_common.h ffi_cfi.h
|
|
EXTRA_DIST=ffi.h.in
|
|
|
|
includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
|
|
nodist_includes_HEADERS = ffi.h ffitarget.h
|