files can make it difficult to build the tree. To do this, make the
depends target depend on generated header files and on header file
copies or links into the main include directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22486
dc483132-0cff-0310-8789-
dd5450dbe970
$(RM) libpty.a $(BUILDTOP)/include/libpty.h pty_err.c pty_err.h
clean-unix:: clean-liblinks clean-libs clean-libobjs
-depend:: pty_err.h
+depend:: includes pty_err.h
#install:: libpty.h
# $(INSTALL_DATA) $(srcdir)/libpty.h $(DESTDIR)$(KRB5_INCDIR)/libpty.h
$(INSTALL_DATA) $(srcdir)/krb5/locate_plugin.h $(DESTDIR)$(KRB5_INCDIR)$(S)krb5$(S)locate_plugin.h
$(INSTALL_DATA) profile.h $(DESTDIR)$(KRB5_INCDIR)$(S)profile.h
$(INSTALL_DATA) $(srcdir)/gssapi.h $(DESTDIR)$(KRB5_INCDIR)$(S)gssapi.h
+
+depend:: krb5/krb5.h $(BUILT_HEADERS)
clean::
$(RM) $(PROG) $(OBJS) import_err.c import_err.h
+depend:: import_err.h
clean::
$(RM) kpasswd_strings.c kpasswd_strings.h $(PROG) $(OBJS)
+
+depend:: kpasswd_strings.h
policy.o \
extern.o
-depend:: kdc5_err.c
+depend:: kdc5_err.c kdc5_err.h
kdc5_err.c: kdc5_err.et
$(DESTDIR)$(KRB5_INCDIR)/gssapi/$$f ; \
done
-depend:: $(ETSRCS)
+depend:: $(ETSRCS) $(ETHDRS) $(HDRS) errmap.h maptest.h
@libobj_frag@
$(DESTDIR)$(KRB5_INCDIR)/gssapi/$$f ; \
done
-depend:: $(ETSRCS)
+depend:: $(ETSRCS) $(ETHDRS) $(GSSAPI_KRB5_HDR) error_map.h
includes:: gssapi_krb5.h
$(INSTALL_DATA) chpass_util_strings.h $(DESTDIR)$(KRB5_INCDIR)$(S)kadm5$(S)chpass_util_strings.h
$(INSTALL_DATA) kadm_err.h $(DESTDIR)$(KRB5_INCDIR)$(S)kadm5$(S)kadm_err.h
+depend:: includes
+
@libobj_frag@
install:: install-libs
+depend:: includes
+
@lib_frag@
@libobj_frag@
install:: install-libs
+depend:: includes
+
@lib_frag@
@libobj_frag@
generate-files-mac: darwin.exports
+depend:: adb_err.h
+
@lib_frag@
@libobj_frag@
etags et_name.c error_message.c compile_et.c \
error_table.c init_et.c
-depend:: et_lex.lex.c
+depend:: et_lex.lex.c includes compile_et
@lib_frag@