AROS: Add an install target to the makefile

Copy libnfs.a to GCC:lib and the header files to
INCLUDE:nfsc
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2013-06-08 13:06:17 -07:00
parent 7e66b28947
commit 6061db5800
1 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,18 @@ lib/libnfs.a: $(OBJS)
echo $(CC) $(CFLAGS) -c -o $@ $<
$(CC) $(CFLAGS) -c -o $@ $<
install: all
cp lib/libnfs.a GCC:lib
mkdir -p INCLUDE:nfsc
cp include/nfsc/libnfs.h INCLUDE:nfsc
cp include/nfsc/libnfs-raw.h INCLUDE:nfsc
cp include/nfsc/libnfs-zdr.h INCLUDE:nfsc
cp mount/libnfs-raw-mount.h INCLUDE:nfsc
cp nlm/libnfs-raw-nlm.h INCLUDE:nfsc
cp nfs/libnfs-raw-nfs.h INCLUDE:nfsc
cp portmap/libnfs-raw-portmap.h INCLUDE:nfsc
cp rquota/libnfs-raw-rquota.h INCLUDE:nfsc
examples/nfsclient-listservers: examples/nfsclient-listservers.c lib/libnfs.a
$(CC) $(CFLAGS) -o $@ $< lib/libnfs.a