libcrypto needs the memmove routine
authorTheodore Tso <tytso@mit.edu>
Mon, 17 Jan 1994 20:44:58 +0000 (20:44 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 17 Jan 1994 20:44:58 +0000 (20:44 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3357 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/os/Imakefile

index 1edca87fc03582328142311f03bb8d09c8856d2d..7ca64841072947bd042fd78665db1cb83939b3c7 100644 (file)
 # 
 NormalLibraryObjectRule()
 
-OBJS=  rnd_confoun.o localaddr.o ustime.o
+#if HasMemmove
+MMOBJS=
+MMSRCS=
+#else
+MMOBJS= memmove.o
+MMSRCS= memmove.c
+#endif
 
-SRCS=  rnd_confoun.c localaddr.c ustime.c
+OBJS=  rnd_confoun.o localaddr.o ustime.o $(MMOBJS)
+
+SRCS=  rnd_confoun.c localaddr.c ustime.c $(MMSRCS)
 
 SubdirLibraryRule($(OBJS))
 
@@ -40,3 +48,5 @@ localaddr.c: ../../krb5/os/localaddr.c
 ustime.c: ../../krb5/os/ustime.c
        $(LN) ../../krb5/os/ustime.c $@
 
+memmove.c: ../../krb5/posix/memmove.c
+       $(LN) ../../krb5/posix/memmove.c $@