7db6ba3b08
This header conforms to the C11 standard Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h> According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines four macros: - alignas which expands to _Alignas - alignof which expands to _Alignof - __alignas_is_defined and __alignof_is_defined which both expand to 1 The _Alignas declaration appears as one of the type specifiers to modify the alignment requirement of the object being declared. The _Alignof operator is used to query the alignment requirement of its operand type. ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header <cstdalign> which defines only __alignas_is_defined and shall not define the alignas macro. It misses the alignof case as it's probably based on an older C1x draft, which defined only alignas. Assume that this is a bug in the standard and treat alignof the same way as alignas in C++11. Allow to define alignas and alignof in C++ prior the C++11 standard. It might be broken but a nonstandard C++ compiler might support C11-like _Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.
52 lines
1.6 KiB
Makefile
52 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.143 2016/10/02 17:19:00 kamil Exp $
|
|
# @(#)Makefile 8.2 (Berkeley) 1/4/94
|
|
|
|
# Doing a make includes builds /usr/include
|
|
|
|
NOOBJ= # defined
|
|
|
|
# Missing: mp.h
|
|
|
|
INCS= a.out.h aio.h ar.h assert.h atomic.h \
|
|
bitstring.h bm.h cdbw.h complex.h cpio.h ctype.h \
|
|
db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
|
|
fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
|
|
inttypes.h iso646.h kvm.h langinfo.h libgen.h \
|
|
limits.h link.h link_aout.h link_elf.h locale.h \
|
|
login_cap.h lwp.h malloc.h math.h md2.h \
|
|
memory.h mntopts.h monetary.h mpool.h mqueue.h \
|
|
ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
|
|
paths.h pwd.h quota.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
|
|
resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
|
|
string.h sgtty.h signal.h spawn.h stab.h stdalign.h stddef.h stdio.h \
|
|
stdlib.h stdnoreturn.h strings.h stringlist.h struct.h sysexits.h \
|
|
tar.h time.h ttyent.h tzfile.h \
|
|
ucontext.h ulimit.h unistd.h util.h utime.h utmp.h utmpx.h uuid.h \
|
|
vis.h wchar.h wctype.h wordexp.h
|
|
INCS+= arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/nameser_compat.h \
|
|
arpa/telnet.h arpa/tftp.h
|
|
INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
|
|
protocols/talkd.h protocols/timed.h
|
|
|
|
INCS+= hesiod.h
|
|
|
|
INCS+= rpcsvc/yp_prot.h rpcsvc/ypclnt.h
|
|
|
|
INCS+= ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h
|
|
|
|
.if (${MACHINE_ARCH} != "vax")
|
|
INCS+= ieeefp.h
|
|
.endif
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
INCSDIR= /usr/include
|
|
|
|
SUBDIR= rpc
|
|
SUBDIR+= ../common/include/prop
|
|
SUBDIR+= ../common/include/ppath
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.subdir.mk>
|