From 6061db580075fd5235cb0f23b8d7909ea11612a7 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 8 Jun 2013 13:06:17 -0700 Subject: [PATCH] AROS: Add an install target to the makefile Copy libnfs.a to GCC:lib and the header files to INCLUDE:nfsc --- aros/Makefile.AROS | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/aros/Makefile.AROS b/aros/Makefile.AROS index 6d39137..9c97dc0 100755 --- a/aros/Makefile.AROS +++ b/aros/Makefile.AROS @@ -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 -- 2.34.1