Home | History | Annotate | Line # | Download | only in compat_netbsd32
Makefile revision 1.23
      1  1.23       rin #	$NetBSD: Makefile,v 1.23 2019/02/17 04:05:45 rin Exp $
      2   1.1        ad 
      3   1.1        ad .include "../Makefile.inc"
      4   1.1        ad .include "../Makefile.assym"
      5   1.1        ad 
      6   1.1        ad KMOD=	compat_netbsd32
      7   1.1        ad 
      8  1.10  christos CPPFLAGS+=	-DCOMPAT_09
      9  1.10  christos CPPFLAGS+=	-DCOMPAT_10
     10  1.10  christos CPPFLAGS+=	-DCOMPAT_11
     11  1.10  christos CPPFLAGS+=	-DCOMPAT_12
     12  1.10  christos CPPFLAGS+=	-DCOMPAT_13
     13  1.10  christos CPPFLAGS+=	-DCOMPAT_14
     14  1.10  christos CPPFLAGS+=	-DCOMPAT_15
     15  1.10  christos CPPFLAGS+=	-DCOMPAT_16
     16  1.10  christos 
     17  1.10  christos CPPFLAGS+=	-DCOMPAT_20
     18  1.10  christos CPPFLAGS+=	-DCOMPAT_30 -DCOMPAT_40 -DCOMPAT_50
     19  1.10  christos CPPFLAGS+=	-DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80
     20  1.10  christos CPPFLAGS+=	-DCOMPAT_43
     21  1.18  pgoyette CPPFLAGS+=	-DCOMPAT_NETBSD32
     22  1.13      matt CPPFLAGS+=	-DEXEC_ELF32 -DEXEC_ELF64
     23  1.14  christos CPPFLAGS+=	-DCOREDUMP -DNTP -DVMSWAP
     24  1.22  pgoyette CPPFLAGS+=	-DKTRACE -DMODULAR
     25  1.21   mlelstv CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
     26   1.1        ad 
     27   1.1        ad .PATH:	${S}/compat/netbsd32
     28  1.22  pgoyette SRCS+=	netbsd32_core.c		netbsd32_event.c
     29  1.22  pgoyette SRCS+=	netbsd32_exec_elf32.c	netbsd32_execve.c
     30  1.22  pgoyette SRCS+=	netbsd32_fd.c		netbsd32_fs.c
     31  1.22  pgoyette SRCS+=	netbsd32_ioctl.c	netbsd32_kern_proc.c
     32  1.22  pgoyette SRCS+=	netbsd32_lwp.c		netbsd32_mod.c
     33  1.22  pgoyette SRCS+=	netbsd32_netbsd.c	netbsd32_quota.c
     34  1.22  pgoyette SRCS+=	netbsd32_rlimit.c	netbsd32_select.c
     35  1.22  pgoyette SRCS+=	netbsd32_sem.c		netbsd32_signal.c
     36  1.22  pgoyette SRCS+=	netbsd32_socket.c	netbsd32_syscalls.c
     37  1.22  pgoyette SRCS+=	netbsd32_sysctl.c	netbsd32_sysent.c
     38  1.22  pgoyette SRCS+=	netbsd32_time.c		netbsd32_wait.c	
     39  1.22  pgoyette SRCS+=	netbsd32_vm.c
     40  1.22  pgoyette SRCS+=	netbsd32_module.c
     41   1.1        ad 
     42  1.13      matt .if ${MACHINE_CPU} != "mips" && ${MACHINE_CPU} != "powerpc"
     43  1.13      matt CPPFLAGS+=	-DEXEC_AOUT -DCOMPAT_NOMID
     44  1.13      matt SRCS+=	netbsd32_exec_aout.c
     45  1.13      matt .endif
     46  1.13      matt 
     47   1.3       abs .if ${MACHINE_ARCH} == "x86_64"
     48   1.1        ad .PATH:	${S}/arch/amd64/amd64
     49  1.22  pgoyette CPPFLAGS+=	-DMTRR
     50  1.22  pgoyette SRCS+=	netbsd32_syscall.c
     51  1.22  pgoyette SRCS+=	netbsd32_machdep.c
     52   1.1        ad .endif
     53   1.1        ad 
     54   1.3       abs .if ${MACHINE_ARCH} == "sparc64"
     55   1.1        ad .PATH:	${S}/arch/sparc64/sparc64
     56  1.22  pgoyette SRCS+=	netbsd32_sigcode.S
     57  1.22  pgoyette SRCS+=	netbsd32_machdep.c
     58  1.22  pgoyette .endif
     59  1.22  pgoyette 
     60  1.22  pgoyette .if ${MACHINE_ARCH} == "arm"
     61  1.22  pgoyette .PATH:	${S}/arch/arm/arm32
     62  1.22  pgoyette SRCS+=	netbsd32_machdep.c
     63   1.1        ad .endif
     64   1.1        ad 
     65  1.23       rin WARNS=	3
     66  1.23       rin 
     67   1.1        ad .include <bsd.kmodule.mk>
     68