port msrtool to darwin.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> with minor changes to allow 32bit and 64bit compilation and (I hope), Peter's concerns addressed. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
e95eb616cc
commit
37f3935029
@@ -27,7 +27,7 @@ CFLAGS = @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
TARGETS = geodelx.o cs5536.o k8.o
|
||||
SYSTEMS = linux.o
|
||||
SYSTEMS = linux.o darwin.o
|
||||
OBJS = $(PROGRAM).o msrutils.o sys.o $(SYSTEMS) $(TARGETS)
|
||||
|
||||
all: $(PROGRAM)
|
||||
@@ -39,9 +39,8 @@ $(PROGRAM).o: $(PROGRAM).c
|
||||
$(CC) $(CFLAGS) -DVERSION='"@VERSION@"' -c $< -o $@
|
||||
|
||||
install: $(PROGRAM)
|
||||
$(INSTALL) $(PROGRAM) $(PREFIX)/sbin
|
||||
mkdir -p $(PREFIX)/share/man/man8
|
||||
$(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/sbin
|
||||
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
|
||||
|
||||
distprep: distclean Makefile.deps
|
||||
|
||||
|
Reference in New Issue
Block a user