Adjust include directories.
Enable standard gcc error checking.
This commit is contained in:
parent
cdb9bd0327
commit
aca560d3b4
@ -1,11 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.18 1998/12/15 22:36:24 pk Exp $
|
||||
# $NetBSD: Makefile,v 1.19 1998/12/17 15:17:27 pk Exp $
|
||||
|
||||
SUBDIR= ld
|
||||
|
||||
.include <bsd.own.mk> # for NOPIC definition
|
||||
|
||||
.if !defined(NOPIC)
|
||||
SUBDIR+= rtld
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -1,5 +1,8 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 1997/10/25 10:12:41 lukem Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.3 1998/12/17 15:17:27 pk Exp $
|
||||
|
||||
CPPFLAGS += -I$(.CURDIR)/../common -I$(.CURDIR)/../arch/$(MACHINE_ARCH)
|
||||
SHLIBPATH = $(.CURDIR)/../../../../libexec/ld.aout_so
|
||||
|
||||
.PATH: $(.CURDIR)/../common $(.CURDIR)/../arch/$(MACHINE_ARCH)
|
||||
CPPFLAGS += -I$(SHLIBPATH) -I$(SHLIBPATH)/arch/$(MACHINE_ARCH) -I$(.CURDIR)
|
||||
.PATH: $(SHLIBPATH) $(SHLIBPATH)/arch/$(MACHINE_ARCH)
|
||||
|
||||
CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||
|
Loading…
Reference in New Issue
Block a user