From: Arun Thomas Date: Fri, 1 Jul 2011 16:43:15 +0000 (+0200) Subject: Add bin/ hierarchy X-Git-Tag: v3.2.0~501 X-Git-Url: http://zhaoyanbai.com/repos/man.isc-hmac-fixup.html?a=commitdiff_plain;h=03ff167d4d69207746e3ecfe22463366780ac4c4;p=minix.git Add bin/ hierarchy --- diff --git a/Makefile b/Makefile index 3878f901b..74c8edc65 100644 --- a/Makefile +++ b/Makefile @@ -54,11 +54,13 @@ elf-libraries: includes commands: includes libraries $(MAKE) -C commands all + $(MAKE) -C bin all $(MAKE) -C usr.bin all depend: $(MAKE) CC=cc -C boot depend $(MAKE) -C commands depend + $(MAKE) -C bin depend $(MAKE) -C usr.bin depend $(MAKE) -C kernel depend $(MAKE) -C servers depend @@ -73,6 +75,7 @@ etcforce: all: $(MAKE) CC=cc -C boot all $(MAKE) -C commands all + $(MAKE) -C bin all $(MAKE) -C usr.bin all $(MAKE) -C tools all @@ -80,6 +83,7 @@ install: $(MAKE) CC=cc -C boot install $(MAKE) -C man install makedb $(MAKE) -C commands install + $(MAKE) -C bin install $(MAKE) -C usr.bin install $(MAKE) -C share install $(MAKE) -C tools install @@ -87,6 +91,7 @@ install: clean: $(MAKE) -C boot clean $(MAKE) -C commands clean + $(MAKE) -C bin clean $(MAKE) -C usr.bin clean $(MAKE) -C tools clean $(MAKE) -C lib clean_all @@ -95,5 +100,6 @@ clean: cleandepend: $(MAKE) -C boot cleandepend $(MAKE) -C commands cleandepend + $(MAKE) -C bin cleandepend $(MAKE) -C usr.bin cleandepend $(MAKE) -C tools cleandepend diff --git a/bin/Makefile b/bin/Makefile new file mode 100644 index 000000000..186d10d23 --- /dev/null +++ b/bin/Makefile @@ -0,0 +1,7 @@ +# Makefile for bin + +.include + +SUBDIR= + +.include diff --git a/bin/Makefile.inc b/bin/Makefile.inc new file mode 100644 index 000000000..744f304bb --- /dev/null +++ b/bin/Makefile.inc @@ -0,0 +1,9 @@ +# Requires NBSD_LIBC and clang/gcc (we default to using clang) +NBSD_LIBC:= yes +CC:=${CC:C/^cc/clang/} +COMPILER_TYPE:= gnu + +CPPFLAGS+= -D_NETBSD_SOURCE + +BINDIR?=/bin +