Skip to content

Commit

Permalink
autotools: Fix SUFFIXES usage
Browse files Browse the repository at this point in the history
SUFFIXES must be defined in the top-level Makefile.am, when
non-recursive make is used.
  • Loading branch information
ueno committed Aug 18, 2020
1 parent 3c1304c commit fd8b56f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ check_PROGRAMS = $(c_tests)
check_SCRIPTS = $(sh_tests)
check_LTLIBRARIES =

SUFFIXES =

BUILT_SOURCES =

CLEANFILES =
Expand Down
2 changes: 1 addition & 1 deletion p11-kit/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ p11-kit/uri.gnu.c: p11-kit/uri.h
p11-kit/iter.gnu.c: p11-kit/iter.h
p11-kit/pin.gnu.c: p11-kit/pin.h

SUFFIXES = .h .gnu.c
SUFFIXES += .h .gnu.c
.h.gnu.c:
$(AM_V_GEN) src=$<; dst=$@; rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
Expand Down
2 changes: 1 addition & 1 deletion trust/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ EXTRA_DIST += \
trust/p11-kit-trust.module \
trust/meson.build

SUFFIXES = .asn .asn.h
SUFFIXES += .asn .asn.h
.asn.asn.h:
$(AM_V_GEN)$(ASN1PARSER) -o $@ $<

Expand Down

0 comments on commit fd8b56f

Please sign in to comment.