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

local: ;

bcmp.o: bcmp.s $(ASM386H)
bcopy.o: bcopy.s $(ASM386H)
bzero.o: bzero.s $(ASM386H)
ffs.o: ffs.s $(ASM386H)
index.o: index.s $(ASM386H)
memccpy.o: memccpy.c $(I)memory.h $(I)string.h
memchr.o: memchr.s $(ASM386H)
memcmp.o: memcmp.s $(ASM386H)
memcpy.o: memcpy.s $(ASM386H)
memcount.o: memcount.s $(ASM386H)
memdif.o: memdif.s $(ASM386H)
memicmp.o: memicmp.c $(I)memory.h $(I)string.h $(I)ctype.h
memmove.o: memmove.s $(ASM386H)
memrchr.o: memrchr.s $(ASM386H)
memset.o: memset.s $(ASM386H)
memswap.o: memswap.s $(ASM386H)
rindex.o: rindex.s $(ASM386H)
strcat.o: strcat.s $(ASM386H)
strchr.o: strchr.s $(ASM386H)
strcmp.o: strcmp.s $(ASM386H)
strcoll.o: strcoll.c $(I)string.h
strcpy.o: strcpy.s $(ASM386H)
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 $(I)emx/thread.h
stricmp.o: stricmp.c $(I)string.h $(I)ctype.h
strlen.o: strlen.s $(ASM386H)
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 $(ASM386H)
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 $(I)emx/thread.h
strupr.o: strupr.c $(I)string.h $(I)ctype.h
strxfrm.o: strxfrm.c $(I)string.h
swab.o: swab.s $(ASM386H)
_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 \
    memrchr.o bcmp.o bcopy.o bzero.o ffs.o index.o rindex.o swab.o
	$(AR) r $(DSTLIB) *.o
