From: Tom Yu Date: Wed, 4 Dec 2002 06:34:59 +0000 (+0000) Subject: * Makefile.in: Fix up includes handling somewhat X-Git-Tag: krb5-1.3-alpha1~250 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=61635b9a48a6e39cdd8b4853e7f4923b172f73fc;p=krb5.git * Makefile.in: Fix up includes handling somewhat git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15024 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 87021912e..1b61636c2 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,7 @@ +2002-12-04 Tom Yu + + * Makefile.in: Fix up includes handling somewhat. + 2002-12-02 Tom Yu * change_password.c: Remove netdb.h inclusion. diff --git a/src/lib/krb4/Makefile.in b/src/lib/krb4/Makefile.in index 3573b5a88..8f3f46596 100644 --- a/src/lib/krb4/Makefile.in +++ b/src/lib/krb4/Makefile.in @@ -201,7 +201,7 @@ all-unix:: krb_err.h kadm_err.h includes all-liblinks ##DOS##LIBOBJS = $(OBJS) # comp_et_depend(krb_err) -krb_err.h:: krb_err.et +krb_err.h: krb_err.et krb_err.c: krb_err.et kadm_err.h: kadm_err.et @@ -210,19 +210,12 @@ kadm_err.c: kadm_err.et depend:: krb_err.h kadm_err.h depend:: $(CODE) -includes:: krb_err.h - if cmp krb_err.h $(EHDRDIR)/krb_err.h >/dev/null 2>&1; then :; \ - else \ - (set -x; $(RM) $(EHDRDIR)/krb_err.h; \ - $(CP) krb_err.h $(EHDRDIR)/krb_err.h) ; \ - fi - -includes:: kadm_err.h - if cmp kadm_err.h $(EHDRDIR)/kadm_err.h >/dev/null 2>&1; then :; \ - else \ - (set -x; $(RM) $(EHDRDIR)/kadm_err.h; \ - $(CP) kadm_err.h $(EHDRDIR)/kadm_err.h) ; \ - fi +includes: $(EHDRDIR)$(S)krb_err.h $(EHDRDIR)$(S)kadm_err.h + +$(EHDRDIR)$(S)krb_err.h: krb_err.h + $(CP) krb_err.h $@ +$(EHDRDIR)$(S)kadm_err.h: kadm_err.h + $(CP) kadm_err.h $@ clean-unix:: $(RM) $(EHDRDIR)/krb_err.h