add STRDUP stuff
authorJohn Kohl <jtkohl@mit.edu>
Tue, 30 Apr 1991 11:39:41 +0000 (11:39 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 30 Apr 1991 11:39:41 +0000 (11:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2067 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/Imakefile

index fe69c19b1f1c78629544017d90e86dd99aa73633..fe0c8e983f78e468272a4a0176b2d1ad85c4e24b 100644 (file)
@@ -28,18 +28,25 @@ VSSRCS=
 VSOBJS=syslog.o
 VSSRCS=syslog.c
 #endif
+#ifdef HasStrdup
+STOBJS=
+STSRCS=
+#else
+STOBJS=strdup.o
+STSRCS=strdup.c
+#endif
 
 INCLUDES=-I$(TOP)/include/stdc-incl
 
 OBJS = \
        cryptoconf.o \
        perror.o \
-       $(VSOBJS) $(VPOBJS)
+       $(VSOBJS) $(VPOBJS) $(STOBJS)
 
 SRCS = \
        cryptoconf.c \
        perror.c \
-       $(VSSRCS) $(VPSRCS)
+       $(VSSRCS) $(VPSRCS) $(STSRCS)
 
 MakeSubdirs($(SUBDIRS))