now gpt works under macosx.
This commit is contained in:
parent
21c34dbb1d
commit
92e39ddd46
@ -1,12 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.2 2014/09/29 21:05:11 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2014/09/30 18:00:28 christos Exp $
|
||||
|
||||
HOSTPROGNAME= nbgpt
|
||||
HOST_SRCDIR= sbin/gpt
|
||||
HOST_CPPFLAGS+= -I${.CURDIR}
|
||||
HOST_SRCS+= opendisk.c
|
||||
|
||||
HOST_SRCS+= opendisk.c dehumanize_number.c
|
||||
|
||||
NOMAN= # defined
|
||||
.PATH.c: ${.CURDIR}/../../lib/libutil
|
||||
.PATH.c: ${.CURDIR}/../../lib/libutil ${.CURDIR}/../../lib/libc/gen
|
||||
|
||||
.include "${.CURDIR}/../Makefile.nbincludes"
|
||||
.include "${.CURDIR}/../Makefile.host"
|
||||
|
5
tools/gpt/namespace.h
Normal file
5
tools/gpt/namespace.h
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
#include <stdint.h>
|
||||
__BEGIN_DECLS
|
||||
extern int dehumanize_number(const char *, int64_t *);
|
||||
__END_DECLS
|
Loading…
Reference in New Issue
Block a user