diff options
-rw-r--r-- | common/bbs/Makefile | 8 | ||||
-rw-r--r-- | common/diet/Makefile | 9 | ||||
-rw-r--r-- | common/osdep/Makefile | 8 | ||||
-rw-r--r-- | common/sys/Makefile | 8 | ||||
-rw-r--r-- | pttbbs.mk | 15 |
5 files changed, 18 insertions, 30 deletions
diff --git a/common/bbs/Makefile b/common/bbs/Makefile index 9f134552..5edff9bb 100644 --- a/common/bbs/Makefile +++ b/common/bbs/Makefile @@ -1,10 +1,4 @@ -# For NetBSD pmake -MKLINT:=no -MKPROFILE:=no -MKPIC:=no - -# For FreeBSD make -WITHOUT_PROFILE:=yes +# $Id$ SRCROOT:= ../.. .include "$(SRCROOT)/pttbbs.mk" diff --git a/common/diet/Makefile b/common/diet/Makefile index 1b1e1455..72c02fbe 100644 --- a/common/diet/Makefile +++ b/common/diet/Makefile @@ -1,14 +1,5 @@ # $Id$ -# For NetBSD pmake -MKLINT:=no -MKPROFILE:=no -MKPIC:=no -NOGCCERROR:=yes - -# For FreeBSD make -WITHOUT_PROFILE:=yes - SRCROOT:= ../.. .include "$(SRCROOT)/pttbbs.mk" diff --git a/common/osdep/Makefile b/common/osdep/Makefile index b46a94b5..4c47fd97 100644 --- a/common/osdep/Makefile +++ b/common/osdep/Makefile @@ -1,10 +1,4 @@ -# For NetBSD pmake -MKLINT:=no -MKPROFILE:=no -MKPIC:=no - -# For FreeBSD make -WITHOUT_PROFILE:=yes +# $Id$ SRCROOT= ../.. .include "$(SRCROOT)/pttbbs.mk" diff --git a/common/sys/Makefile b/common/sys/Makefile index a76f4628..b92d746d 100644 --- a/common/sys/Makefile +++ b/common/sys/Makefile @@ -1,10 +1,4 @@ -# For NetBSD pmake -MKLINT:=no -MKPROFILE:=no -MKPIC:=no - -# For FreeBSD make -WITHOUT_PROFILE:=yes +# $Id$ SRCROOT= ../.. .include "$(SRCROOT)/pttbbs.mk" @@ -72,6 +72,21 @@ CFLAGS+= -DNO_FORK CXXFLAGS+= -DNO_FORK .endif +###################################### +# Settings for common libraries + +# NetBSD pmake +MKLINT:=no +MKPROFILE:=no +MKPIC:=no +# Do not take warnings as errors +NOGCCERROR:=no + +# FreeBSD make +WITHOUT_PROFILE:=yes + +###################################### + .MAIN: all $(SRCROOT)/include/var.h: $(SRCROOT)/mbbsd/var.c |