--- include/Makefile.orig 2013-06-17 00:06:14.000000000 +0900 +++ include/Makefile 2013-06-17 00:18:39.000000000 +0900 @@ -45,17 +45,17 @@ # Makefile for standard definition file # -PREFIX=/usr/local/v6eval -INCLUDEDIR=$(PREFIX)/include/ +PREFIX?=/usr/local +INCLUDEDIR=$(PREFIX)/v6eval/include/ all: install: - install -d -o bin -g bin -m 755 $(INCLUDEDIR) - install -c -o bin -g bin -m 644 std.def $(INCLUDEDIR) - install -c -o bin -g bin -m 644 stdaddr.def $(INCLUDEDIR) - install -c -o bin -g bin -m 644 stdpacket.def $(INCLUDEDIR) - install -c -o bin -g bin -m 644 stdconst.def $(INCLUDEDIR) + install -d -m 555 $(INCLUDEDIR) + ${BSD_INSTALL_DATA} std.def $(INCLUDEDIR) + ${BSD_INSTALL_DATA} stdaddr.def $(INCLUDEDIR) + ${BSD_INSTALL_DATA} stdpacket.def $(INCLUDEDIR) + ${BSD_INSTALL_DATA} stdconst.def $(INCLUDEDIR) depend: clean: