add tools/cdrtools
[openadk.git] / tools / cpio / Makefile
blobceebf8bbbe577844228c6320b1770bf4589824c9
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(TOPDIR)/rules.mk
6 install: ${TOOLS_DIR}/cpio
8 SRCS:= src/ib_open.c \
9 src/ib_close.c \
10 src/ib_read.c \
11 src/ib_alloc.c \
12 src/ib_free.c \
13 src/ib_getlin.c \
14 src/sfile.c \
15 src/gmatch.c \
16 src/sigset.c \
17 src/memalign.c \
18 src/version.c \
19 src/blast.c \
20 src/crc32.c \
21 src/expand.c \
22 src/explode.c \
23 src/flags.c \
24 src/inflate.c \
25 src/unshrink.c \
26 src/nonpax.c \
27 src/cpio.c
29 ${TOOLS_DIR}/cpio: ${SRCS}
30 ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -D_GNU_SOURCE -Isrc -o $@ $^
32 include $(TOPDIR)/mk/tools.mk