add include file copying
authorTom Yu <tlyu@mit.edu>
Fri, 30 Jun 2000 23:20:09 +0000 (23:20 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 30 Jun 2000 23:20:09 +0000 (23:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12493 dc483132-0cff-0310-8789-dd5450dbe970

src/util/db2/Makefile.in

index d1b3e65410a4a30a3ed312549b9f7b2310557c94..1963d54add0f0702de20cbdc8fc77b849926668a 100644 (file)
@@ -11,6 +11,21 @@ STOBJLISTS=hash/OBJS.ST btree/OBJS.ST db/OBJS.ST mpool/OBJS.ST \
        recno/OBJS.ST
 RELDIR=../util/db2
 
-all-unix:: all-liblinks
-clean-unix:: clean-liblinks clean-libs
+HDRDIR=$(BUILDTOP)/include
+HDRS = $(HDRDIR)/db.h $(HDRDIR)/db-config.h $(HDRDIR)/db-ndbm.h
+
+all-unix:: all-liblinks includes
+clean-unix:: clean-liblinks clean-libs clean-includes
 install-unix:: install-libs
+
+includes:: $(HDRS)
+
+$(HDRDIR)/db.h: $(srcdir)/include/db.h
+       $(CP) $(srcdir)/include/db.h $@
+$(HDRDIR)/db-config.h: include/db-config.h
+       $(CP) include/db-config.h $@
+$(HDRDIR)/db-ndbm.h: $(srcdir)/include/db-ndbm.h
+       $(CP) $(srcdir)/include/db-ndbm.h $@
+
+clean-includes::
+       $(RM) $(HDRS)