diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-09-01 10:03:01 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-09-01 10:03:01 +0000 |
commit | 37f3935029cef0616fa36b9c822496e3e51f03ba (patch) | |
tree | 347c23e4a92e282a9e2d074d46e29cd73475e1db /util/msrtool/Makefile.in | |
parent | e95eb616cc987072a1a17f8b98854645fb82bfce (diff) | |
download | coreboot-37f3935029cef0616fa36b9c822496e3e51f03ba.tar.xz |
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
Diffstat (limited to 'util/msrtool/Makefile.in')
-rw-r--r-- | util/msrtool/Makefile.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/util/msrtool/Makefile.in b/util/msrtool/Makefile.in index 3a6d3a97e3..f20dd9fe1a 100644 --- a/util/msrtool/Makefile.in +++ b/util/msrtool/Makefile.in @@ -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 |