6ba2e89612
- Simplify operating system/architecture handling. - Fix build on !i386. - Set ONLY_FOR_ARCHS. - Honor CC/CFLAGS. - Proper install. Inspired by PR: 53470 Submitted by: Mark Linimon <linimon@lonesome.com>
24 lines
766 B
Text
24 lines
766 B
Text
|
|
$FreeBSD$
|
|
|
|
--- Makefile.orig Sun Jun 2 15:32:39 2002
|
|
+++ Makefile Mon Jun 30 02:54:48 2003
|
|
@@ -51,14 +51,10 @@
|
|
# Plan 9 section two corresponds to Unix sections two and three
|
|
|
|
install: $(BINARIES)
|
|
- cp $(BINARIES) $(HOME)/bin/$$systype/$$objtype
|
|
- cp mk9660.man $(HOME)/etc/man/man8/mk9660.8
|
|
- cp proto.man $(HOME)/etc/man/man3/proto.3
|
|
-
|
|
-install-sys: $(BINARIES)
|
|
- cp $(BINARIES) /usr/local/bin
|
|
- cp mk9660.man /usr/local/man/man8/mk9660.8
|
|
- cp proto.man /usr/local/man/man3/proto.3
|
|
+ ${BSD_INSTALL_PROGRAM} dump9660 ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_SCRIPT} mk9660 ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_MAN} mk9660.man ${PREFIX}/man/man8/mk9660.8
|
|
+ ${BSD_INSTALL_MAN} proto.man ${PREFIX}/man/man5/proto.5
|
|
|
|
dump9660: $(OFILES) $(LIBS)
|
|
$(CC) -o $@ $(OFILES) $(LDFLAGS)
|