From 321e5d90f18d32ca1517572a376b042aa1939e78 Mon Sep 17 00:00:00 2001 From: wens Date: Sun, 1 Mar 2009 12:20:12 +0000 Subject: Move settings for bsd.lib.mk down to pttbbs.mk git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- common/bbs/Makefile | 8 +------- common/diet/Makefile | 9 --------- common/osdep/Makefile | 8 +------- common/sys/Makefile | 8 +------- 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" diff --git a/pttbbs.mk b/pttbbs.mk index a8c188c9..5473c999 100644 --- a/pttbbs.mk +++ b/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 -- cgit v1.2.3