#
# /emx/src/lib/str/makefile
#
.INCLUDE: /emx/src/lib/libc.mak

local: ;

bcmp.o: bcmp.s $(I)strings.h
bcopy.o: bcopy.s $(I)strings.h
bzero.o: bzero.s $(I)strings.h
ffs.o: ffs.s $(I)strings.h
index.o: index.s $(I)strings.h
memccpy.o: memccpy.c $(I)memory.h $(I)string.h
memchr.o: memchr.s $(I)memory.h $(I)string.h
memcmp.o: memcmp.s $(I)memory.h $(I)string.h
memcpy.o: memcpy.s $(I)memory.h $(I)string.h
memcount.o: memcount.s $(I)memory.h $(I)string.h
memdif.o: memdif.s $(I)memory.h $(I)string.h
memicmp.o: memicmp.c $(I)memory.h $(I)string.h $(I)ctype.h
memmove.o: memmove.s $(I)memory.h $(I)string.h
memset.o: memset.s $(I)memory.h $(I)string.h
memswap.o: memswap.s $(I)memory.h $(I)string.h
rindex.o: rindex.s $(I)strings.h
strcat.o: strcat.s $(I)string.h
strchr.o: strchr.s $(I)string.h
strcmp.o: strcmp.s $(I)string.h
strcoll.o: strcoll.c $(I)string.h
strcpy.o: strcpy.s $(I)string.h
strcspn.o: strcspn.c $(I)string.h
strdup.o: strdup.c $(I)string.h $(I)stdlib.h
strerror.o: strerror.c $(I)string.h $(I)stdlib.h $(E)
stricmp.o: stricmp.c $(I)string.h $(I)ctype.h
strlen.o: strlen.s $(I)string.h
strlwr.o: strlwr.c $(I)string.h $(I)ctype.h
strncat.o: strncat.c $(I)string.h
strncmp.o: strncmp.c $(I)string.h
strncpy.o: strncpy.c $(I)string.h
strnicmp.o: strnicmp.c $(I)string.h $(I)ctype.h
strnset.o: strnset.c $(I)string.h
strpbrk.o: strpbrk.c $(I)string.h
strrchr.o: strrchr.s $(I)string.h
strrev.o: strrev.c $(I)string.h
strset.o: strset.c $(I)string.h
strspn.o: strspn.c $(I)string.h
strstr.o: strstr.c $(I)string.h
strtok.o: strtok.c $(I)string.h $(E)
strupr.o: strupr.c $(I)string.h $(I)ctype.h
strxfrm.o: strxfrm.c $(I)string.h
swab.o: swab.s $(I)stdlib.h
_strncpy.o: _strncpy.c $(I)string.h

$(DSTLIB): memset.o memchr.o memcpy.o memccpy.o memcmp.o memmove.o memicmp.o \
    strlen.o strchr.o strrchr.o strstr.o strcpy.o strcat.o strset.o strtok.o \
    strdup.o strrev.o strspn.o strcspn.o strcmp.o stricmp.o strerror.o \
    strlwr.o strupr.o strpbrk.o strncpy.o strncat.o strnset.o strncmp.o \
    strnicmp.o _strncpy.o strcoll.o strxfrm.o memcount.o memswap.o memdif.o \
    bcmp.o bcopy.o bzero.o ffs.o index.o rindex.o swab.o
	-$(AR) d $(DSTLIB) __.SYMDEF
	$(AR) r $(DSTLIB) *.o
	$(AR) s $(DSTLIB)
