diff options
Diffstat (limited to 'package/toolbox/src/lib/Makefile')
-rw-r--r-- | package/toolbox/src/lib/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/toolbox/src/lib/Makefile b/package/toolbox/src/lib/Makefile new file mode 100644 index 000000000..4954e48c4 --- /dev/null +++ b/package/toolbox/src/lib/Makefile @@ -0,0 +1,24 @@ +LIB= oadk_toolbox +SRCS+= fgetln.c +SRCS+= md5.c md5hlp.c +CLEANFILES+= lib${LIB}.a + +include ../common.mk + +OBJS+= strlcpy.o strlcat.o + +all: lib${LIB}.a + +lib${LIB}.a: ${OBJS} + ar rc $@ ${OBJS} + -ranlib $@ + +CFLAGS_strlcpy.o=-DOUTSIDE_OF_LIBKERN -DL_strlcpy +strlcpy.o: strlfun.c + ${COMPILE.c} -o $@ $< +CFLAGS_strlcat.o=-DOUTSIDE_OF_LIBKERN -DL_strlcat +strlcat.o: strlfun.c + ${COMPILE.c} -o $@ $< + +install: + # nothing to do here |