blob: ff80dac0e4d7ca5235df0666f83af50895936ca2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- 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:
|