Specify pattern rules in addition to suffix rules
authorAndrew Deason <adeason@sinenomine.net>
Tue, 8 Nov 2011 18:29:39 +0000 (12:29 -0600)
committerDerrick Brashear <shadow@dementix.org>
Wed, 9 Nov 2011 03:38:17 +0000 (19:38 -0800)
commit5c64df8628e60f2e4c55aaf3e53fb01c140b42ed
treee921b1519e8713e64a42c718e2cb317f810dda0f
parent70e8451acd0426024c152073e53bc6606e0189e1
Specify pattern rules in addition to suffix rules

A few makefiles specify an old-style suffix rule, such as:

  .c.o:
          $(AFS_CCRULE) $<

Not all makes seem to interpret these rules correctly (such as Solaris
/usr/xpg4/bin/make). Since it is easy to do so, specify pattern-based
rules along with these, like so:

  %.o: %.c
          $(AFS_CCRULE) $<

Change-Id: I052f1156d1a7e29beedb0fb59390073c2521459e
Reviewed-on: http://gerrit.openafs.org/5819
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afsweb/Makefile.in
src/config/Makefile.lwp.in
src/config/Makefile.pthread.in
src/config/Makefile.shared.in