summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1996-11-05 23:46:02 +0000
committerTom Yu <tlyu@mit.edu>1996-11-05 23:46:02 +0000
commit5d3adfd49fee71846fcb0575b150a4b631233cd7 (patch)
treed09d73fc93f344ee03e77c1d84deb1948e3da816 /src
parente195ea443858e7434f6ae5a0848dde20f6df0255 (diff)
downloadkrb5-5d3adfd49fee71846fcb0575b150a4b631233cd7.tar.gz
krb5-5d3adfd49fee71846fcb0575b150a4b631233cd7.tar.xz
krb5-5d3adfd49fee71846fcb0575b150a4b631233cd7.zip
* configure.in: Revert removal of CopySrcHeader, etc., for now
* Makefile.in (OBJS): Remove dependency of $(OBJS) on shared, also remove dependency of $(HDRS) on $(HDRDIR). Both of these to avoid unecessary copying. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9301 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/rpc/ChangeLog8
-rw-r--r--src/lib/rpc/Makefile.in35
-rw-r--r--src/lib/rpc/configure.in15
3 files changed, 25 insertions, 33 deletions
diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog
index 47f9aa99eb..00975d930e 100644
--- a/src/lib/rpc/ChangeLog
+++ b/src/lib/rpc/ChangeLog
@@ -1,3 +1,11 @@
+Tue Nov 5 18:43:46 1996 Tom Yu <tlyu@mit.edu>
+
+ * configure.in: Revert removal of CopySrcHeader, etc., for now.
+
+ * Makefile.in (OBJS): Remove dependency of $(OBJS) on shared, also
+ remove dependency of $(HDRS) on $(HDRDIR). Both of these to avoid
+ unecessary copying.
+
Wed Oct 30 13:18:34 1996 Barry Jaspan <bjaspan@mit.edu>
* xdr_stdio.c: Remove the #ifndef mc68000 cruft. I'm not sure
diff --git a/src/lib/rpc/Makefile.in b/src/lib/rpc/Makefile.in
index 29db6d217d..d52fca6d1d 100644
--- a/src/lib/rpc/Makefile.in
+++ b/src/lib/rpc/Makefile.in
@@ -114,39 +114,7 @@ HDRS= $(HDRDIR)/auth.h \
$(HDRDIR)/types.h \
$(HDRDIR)/xdr.h
-$(OBJS): $(HDRS) shared
-
-$(HDRDIR):
- mkdir $@
-
-$(HDRDIR)/auth.h: $(HDRDIR) $(srcdir)/auth.h
- $(CP) $(srcdir)/auth.h $@
-$(HDRDIR)/auth_gssapi.h: $(HDRDIR) $(srcdir)/auth_gssapi.h
- $(CP) $(srcdir)/auth_gssapi.h $@
-$(HDRDIR)/auth_unix.h: $(HDRDIR) $(srcdir)/auth_unix.h
- $(CP) $(srcdir)/auth_unix.h $@
-$(HDRDIR)/clnt.h: $(HDRDIR) $(srcdir)/clnt.h
- $(CP) $(srcdir)/clnt.h $@
-$(HDRDIR)/netdb.h: $(HDRDIR) $(srcdir)/netdb.h
- $(CP) $(srcdir)/netdb.h $@
-$(HDRDIR)/pmap_clnt.h: $(HDRDIR) $(srcdir)/pmap_clnt.h
- $(CP) $(srcdir)/pmap_clnt.h $@
-$(HDRDIR)/pmap_prot.h: $(HDRDIR) $(srcdir)/pmap_prot.h
- $(CP) $(srcdir)/pmap_prot.h $@
-$(HDRDIR)/pmap_rmt.h: $(HDRDIR) $(srcdir)/pmap_rmt.h
- $(CP) $(srcdir)/pmap_rmt.h $@
-$(HDRDIR)/rpc.h: $(HDRDIR) $(srcdir)/rpc.h
- $(CP) $(srcdir)/rpc.h $@
-$(HDRDIR)/rpc_msg.h: $(HDRDIR) $(srcdir)/rpc_msg.h
- $(CP) $(srcdir)/rpc_msg.h $@
-$(HDRDIR)/svc.h: $(HDRDIR) $(srcdir)/svc.h
- $(CP) $(srcdir)/svc.h $@
-$(HDRDIR)/svc_auth.h: $(HDRDIR) $(srcdir)/svc_auth.h
- $(CP) $(srcdir)/svc_auth.h $@
-$(HDRDIR)/xdr.h: $(HDRDIR) $(srcdir)/xdr.h
- $(CP) $(srcdir)/xdr.h $@
-$(HDRDIR)/types.h: $(HDRDIR) types.h
- $(CP) types.h $@
+$(OBJS): $(HDRS)
LIB_SUBDIRS= .
LIBDONE= DONE
@@ -166,6 +134,7 @@ SHLIB_LIBS=-lgssapi_krb5 -lkrb5 -lcrypto -lcom_err -ldyn
SHLIB_LDFLAGS= $(LDFLAGS) @SHLIB_RPATH_DIRS@
SHLIB_LIBDIRS= @SHLIB_LIBDIRS@
+all-unix:: shared
all-unix:: $(OBJS)
all-mac:: $(OBJS)
all-windows:: $(OBJS)
diff --git a/src/lib/rpc/configure.in b/src/lib/rpc/configure.in
index 9458e2d3a9..c2217044f8 100644
--- a/src/lib/rpc/configure.in
+++ b/src/lib/rpc/configure.in
@@ -80,6 +80,21 @@ AC_SUBST(CRYPTO_SH_VERS)
COMERR_SH_VERS=$krb5_cv_shlib_version_libcom_err
AC_SUBST(COMERR_SH_VERS)
+CopySrcHeader(auth.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(auth_gssapi.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(auth_unix.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(clnt.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(netdb.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(pmap_clnt.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(pmap_prot.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(pmap_rmt.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(rpc.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(rpc_msg.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(svc.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(svc_auth.h,[$](BUILDTOP)/include/rpc)
+CopyHeader(types.h,[$](BUILDTOP)/include/rpc)
+CopySrcHeader(xdr.h,[$](BUILDTOP)/include/rpc)
+
dnl
dnl This is gross but necessary because of the way we build shared libs
dnl