From: John Carr Date: Wed, 25 Mar 1992 15:03:15 +0000 (+0000) Subject: Support for alternate source directory. X-Git-Tag: krb5-1.0-beta2~195 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3281657b47d0ca44048c576036972dd0433dad81;p=krb5.git Support for alternate source directory. Make sed hack conditional. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2267 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/Imakefile b/src/lib/krb5/asn.1/Imakefile index fd25d30bf..4ea28ede3 100644 --- a/src/lib/krb5/asn.1/Imakefile +++ b/src/lib/krb5/asn.1/Imakefile @@ -159,12 +159,16 @@ Krb5InstallHeaders(KRB5_defs.h KRB5_pre_defs.h KRB5-types.h, $(KRB5_INCDIR)/krb5 clean:: $(RM) KRB5.ph KRB5_defs.h KRB5_pre_defs.h KRB5-types.h KRB5_tables.c +SpecialObjectRule(KRB5_tables.o,KRB5_tables.c,) + DependTarget() +#ifdef UseSedHack + #define IHaveSpecialMakefileTarget Makefile:: Imakefile - $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -s Makefile.new + $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) $(SRCSUBDIR)Imakefile -s Makefile.new $(MAKE) -f Makefile.new noop -@if [ -f Makefile ]; then \ echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak";\ @@ -173,4 +177,6 @@ Makefile:: Imakefile sed 's/^@/ @/' Makefile.new > Makefile || $(MV) Makefile.new Makefile -$(RM) Makefile.new +#endif + noop::