Add bin/ hierarchy
This commit is contained in:
parent
49a93d54be
commit
03ff167d4d
3 changed files with 22 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -54,11 +54,13 @@ elf-libraries: includes
|
||||||
|
|
||||||
commands: includes libraries
|
commands: includes libraries
|
||||||
$(MAKE) -C commands all
|
$(MAKE) -C commands all
|
||||||
|
$(MAKE) -C bin all
|
||||||
$(MAKE) -C usr.bin all
|
$(MAKE) -C usr.bin all
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
$(MAKE) CC=cc -C boot depend
|
$(MAKE) CC=cc -C boot depend
|
||||||
$(MAKE) -C commands depend
|
$(MAKE) -C commands depend
|
||||||
|
$(MAKE) -C bin depend
|
||||||
$(MAKE) -C usr.bin depend
|
$(MAKE) -C usr.bin depend
|
||||||
$(MAKE) -C kernel depend
|
$(MAKE) -C kernel depend
|
||||||
$(MAKE) -C servers depend
|
$(MAKE) -C servers depend
|
||||||
|
@ -73,6 +75,7 @@ etcforce:
|
||||||
all:
|
all:
|
||||||
$(MAKE) CC=cc -C boot all
|
$(MAKE) CC=cc -C boot all
|
||||||
$(MAKE) -C commands all
|
$(MAKE) -C commands all
|
||||||
|
$(MAKE) -C bin all
|
||||||
$(MAKE) -C usr.bin all
|
$(MAKE) -C usr.bin all
|
||||||
$(MAKE) -C tools all
|
$(MAKE) -C tools all
|
||||||
|
|
||||||
|
@ -80,6 +83,7 @@ install:
|
||||||
$(MAKE) CC=cc -C boot install
|
$(MAKE) CC=cc -C boot install
|
||||||
$(MAKE) -C man install makedb
|
$(MAKE) -C man install makedb
|
||||||
$(MAKE) -C commands install
|
$(MAKE) -C commands install
|
||||||
|
$(MAKE) -C bin install
|
||||||
$(MAKE) -C usr.bin install
|
$(MAKE) -C usr.bin install
|
||||||
$(MAKE) -C share install
|
$(MAKE) -C share install
|
||||||
$(MAKE) -C tools install
|
$(MAKE) -C tools install
|
||||||
|
@ -87,6 +91,7 @@ install:
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C boot clean
|
$(MAKE) -C boot clean
|
||||||
$(MAKE) -C commands clean
|
$(MAKE) -C commands clean
|
||||||
|
$(MAKE) -C bin clean
|
||||||
$(MAKE) -C usr.bin clean
|
$(MAKE) -C usr.bin clean
|
||||||
$(MAKE) -C tools clean
|
$(MAKE) -C tools clean
|
||||||
$(MAKE) -C lib clean_all
|
$(MAKE) -C lib clean_all
|
||||||
|
@ -95,5 +100,6 @@ clean:
|
||||||
cleandepend:
|
cleandepend:
|
||||||
$(MAKE) -C boot cleandepend
|
$(MAKE) -C boot cleandepend
|
||||||
$(MAKE) -C commands cleandepend
|
$(MAKE) -C commands cleandepend
|
||||||
|
$(MAKE) -C bin cleandepend
|
||||||
$(MAKE) -C usr.bin cleandepend
|
$(MAKE) -C usr.bin cleandepend
|
||||||
$(MAKE) -C tools cleandepend
|
$(MAKE) -C tools cleandepend
|
||||||
|
|
7
bin/Makefile
Normal file
7
bin/Makefile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Makefile for bin
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
SUBDIR=
|
||||||
|
|
||||||
|
.include <bsd.subdir.mk>
|
9
bin/Makefile.inc
Normal file
9
bin/Makefile.inc
Normal file
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue