Be more flexible where sources come from when building shared libraries
authorPaul Park <pjpark@mit.edu>
Fri, 30 Jun 1995 20:11:05 +0000 (20:11 +0000)
committerPaul Park <pjpark@mit.edu>
Fri, 30 Jun 1995 20:11:05 +0000 (20:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6203 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index bbb0cda3cda4297de51d32db12939b887cfa0d5c..8a948d93708d6fe15f47b8cf425dbabc3137216b 100644 (file)
@@ -1,3 +1,9 @@
+
+Fri Jun 30 14:26:01 EDT 1995   Paul Park       (pjpark@mit.edu)
+       * aclocal.m4(V5_SHARED_LIB_OBJS) - Change explicit $(srcdir)/$*.c to
+               $< so that sources which aren't in the source directory can
+               get compiled correctly.
+
 Wed Jun 28 20:13:10 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * configure.in: Proper test for GCC. (based on autoconf test).  
index d947415f9199a0810321f2f02e3cd353d0a5eadc..6fee5f22a5f199fae51216e0eaba2ea26f2920ef 100644 (file)
@@ -719,8 +719,8 @@ dnl This rule supports the generation of the shared library object files
 dnl
 define(V5_SHARED_LIB_OBJS,[
 if test ${krb5_cv_shlibs_dir}x != x; then
-SHARED_RULE="  \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$(srcdir)/\$""*.c"
-SHARED_RULE_LOCAL="    \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$""*.c"
+SHARED_RULE="  \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$""<"
+SHARED_RULE_LOCAL="    \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$""<"
 else
 SHARED_RULE=
 SHARED_RULE_LOCAL=