Removing obsolete _MINIX define
Change-Id: Id33ac7e973d1c0e249b690fe44a597474fac6076
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
.if defined(NBSD_LIBC) && (${NBSD_LIBC} == "yes")
|
||||
CPPFLAGS+= -D_MINIX -D_NETBSD_SOURCE
|
||||
.else
|
||||
CPPFLAGS+= -D_MINIX -D_POSIX_SOURCE
|
||||
.endif
|
||||
# $NetBSD: Makefile.inc,v 1.7 2012/03/21 05:39:21 matt Exp $
|
||||
|
||||
#WARNS?= 5
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <sys/cdefs.h>
|
||||
#define _SYSTEM 1
|
||||
#define _MINIX 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include <minix/callnr.h>
|
||||
#include <minix/com.h>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#define __USE_MISC
|
||||
#define _SYSTEM 1
|
||||
#define _MINIX 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <lib.h>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#define _SYSTEM 1
|
||||
#define _MINIX 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <lib.h>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#define _SYSTEM 1
|
||||
#define _MINIX 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <lib.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#define _SYSTEM 1
|
||||
#define _MINIX 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <lib.h>
|
||||
#include "namespace.h"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#define _MINIX
|
||||
#define _POSIX_SOURCE
|
||||
#include <minix/callnr.h>
|
||||
#include <minix/com.h>
|
||||
#include <minix/config.h>
|
||||
|
||||
@@ -7,10 +7,6 @@ LIB= exec
|
||||
INCS= libexec.h
|
||||
SRCS= exec_aout.c exec_elf.c exec_general.c
|
||||
|
||||
.if (${NBSD_LIBC} != "no")
|
||||
INCSDIR= /usr/include
|
||||
.else
|
||||
INCSDIR= /usr/include.ack
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
@@ -10,7 +10,6 @@ MKPROFILE= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
CPPFLAGS+= -D_POSIX_SOURCE
|
||||
CPPFLAGS+= -I.
|
||||
CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Makefile for libmthread
|
||||
|
||||
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE -Wall -Werror -D_SYSTEM
|
||||
CPPFLAGS+= -O1 -Wall -Werror -D_SYSTEM
|
||||
|
||||
LIB= gpio
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Makefile for libmthread
|
||||
|
||||
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE -Wall -Werror
|
||||
CPPFLAGS+= -O1 -Wall -Werror
|
||||
|
||||
LIB= mthread
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
LIB = netsock
|
||||
|
||||
CPPFLAGS += -I${.CURDIR}/include/ -D_SYSTEM -D_MINIX
|
||||
CPPFLAGS += -I${.CURDIR}/include/ -D_SYSTEM
|
||||
CPPFLAGS+= -I${.CURDIR}/../../lib/liblwip/include
|
||||
CFLAGS += -Wall -Wextra -std=c99
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Makefile for libpadconf
|
||||
|
||||
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE -Wall -Werror -D_SYSTEM
|
||||
CPPFLAGS+= -O1 -Wall -Werror -D_SYSTEM
|
||||
|
||||
LIB= padconf
|
||||
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
/* This is the master header for fs. It includes some other files
|
||||
* and defines the principal constants.
|
||||
*/
|
||||
|
||||
#ifndef LIBPUFFS_FS_H
|
||||
#define LIBPUFFS_FS_H
|
||||
|
||||
#define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
|
||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
||||
/* This is the master header for fs. It includes some other files
|
||||
* and defines the principal constants.
|
||||
*/
|
||||
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
||||
|
||||
#define VERBOSE 0 /* show messages during initialization? */
|
||||
#define VERBOSE 0 /* show messages during initialization? */
|
||||
|
||||
/* The following are so basic, all the *.c files get them automatically. */
|
||||
#include <minix/config.h> /* MUST be first */
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define _MINIX 1
|
||||
#define _SYSTEM 1
|
||||
#define _SYSTEM 1
|
||||
#include <lib.h>
|
||||
#include <minix/u64.h>
|
||||
#include <minix/sysutil.h>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#define _MINIX 1
|
||||
#define _SYSTEM 1
|
||||
#define _SYSTEM 1
|
||||
|
||||
#include <minix/config.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
* May 2009 (D.C. van Moolenbroek)
|
||||
*/
|
||||
|
||||
#define _MINIX 1
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <minix/config.h>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
|
||||
#define _MINIX 1 /* tell headers to include MINIX stuff */
|
||||
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
||||
#define _SYSTEM 1 /* tell headers that this is the kernel */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -5,11 +5,7 @@ LIB= z
|
||||
SRCS= adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c \
|
||||
gzwrite.c infback.c inffast.c inflate.c inftrees.c trees.c uncompr.c zutil.c
|
||||
|
||||
.if (${NBSD_LIBC} != "no")
|
||||
INCSDIR= /usr/include
|
||||
.else
|
||||
INCSDIR= /usr/include.ack
|
||||
.endif
|
||||
|
||||
INCS= zconf.h zlib.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user