From 0bc6e7a090dd92465d905ffb0a2530d67d0bcc9c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 1 Apr 2006 18:41:07 +0000 Subject: r14852: See if all target platforms support multiple .SUFFIXES lines. (This used to be commit 137ed99e3527c5240533d59b6b98d1f01a849046) --- source4/heimdal_build/config.mk | 4 ++++ source4/main.mk | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk index 38b1c90022..b0d4c14ddc 100644 --- a/source4/heimdal_build/config.mk +++ b/source4/heimdal_build/config.mk @@ -428,6 +428,10 @@ include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/heim_err.et| include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/k524_err.et| include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et| +.SUFFIXES: .hin +.hin.h: + @cp $< $@ + $(patsubst heimdal/lib/des/%.h,heimdal/lib/des/hcrypto/%.h,$(wildcard heimdal/lib/des/*.h)): heimdal/lib/des/hcrypto heimdal/lib/des/hcrypto: diff --git a/source4/main.mk b/source4/main.mk index b1d001a2ae..73d29ab2c5 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -308,10 +308,7 @@ unused_macros: # File types ############################################################################### -.SUFFIXES: .x .c .et .y .l .d .o .h .h.gch .a .so .1 .1.xml .3 .3.xml .5 .5.xml .7 .7.xml .8 .8.xml .ho .hin .idl .hd - -.hin.h: - @cp $< $@ +.SUFFIXES: .x .c .et .y .l .d .o .h .h.gch .a .so .1 .1.xml .3 .3.xml .5 .5.xml .7 .7.xml .8 .8.xml .ho .idl .hd .c.ho: @echo "Compiling $< with host compiler" -- cgit