view include/sys/Makefile @ 20687:ac1492488560 draft

ilist: add generic circular doubly-linked list with a sentinel node
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 22 Mar 2020 10:48:20 -0400
parents 3d3af0dae5e6
children
line wrap: on
line source

i386_INCS=			\
	avintr.h		\
	agpgart.h		\
	asy.h			\
	dma_engine.h		\
	fd_debug.h		\
	fdc.h			\
	fdmedia.h		\
	firmload.h		\
	gfx_private.h		\
	i8272A.h		\
	mouse.h			\
	pic.h			\
	pit.h			\
	rtc.h			\
	ucode.h

sparc_INCSS= 			\
	mouse.h			\
	scsi/targets/ssddef.h	\
	$(MDESCHDRS)

INCDIR=	/usr/include/sys
INCS=	${${CONFIG_MACH}_INCS}	\
	acpi_drv.h		\
	acct.h			\
	acctctl.h		\
	acl.h			\
	acl_impl.h		\
	aggr.h			\
	aggr_impl.h		\
	aio.h			\
	aio_impl.h		\
	aio_req.h		\
	aiocb.h			\
	ascii.h			\
	asynch.h		\
	atomic.h		\
	attr.h			\
	audio.h			\
	audioio.h		\
	autoconf.h		\
	auxv.h			\
	auxv_386.h		\
	auxv_SPARC.h		\
	avl.h			\
	avl_impl.h		\
	bitmap.h		\
	bitset.h		\
	bl.h			\
	blkdev.h		\
	bofi.h			\
	bofi_impl.h		\
	bpp_io.h		\
	bootstat.h		\
	brand.h			\
	buf.h			\
	bufmod.h		\
	bustypes.h		\
	byteorder.h		\
	callb.h			\
	callo.h			\
	cap_util.h		\
	cpucaps.h		\
	cpucaps_impl.h		\
	ccompile.h		\
	cdio.h			\
	cfgparam.h		\
	class.h			\
	clock_impl.h		\
	cmlb.h			\
	cmn_err.h		\
	compress.h		\
	condvar.h		\
	condvar_impl.h		\
	conf.h			\
	consdev.h		\
	console.h		\
	consplat.h		\
	vt.h			\
	vtdaemon.h		\
	kd.h			\
	contract.h		\
	contract_impl.h		\
	copyops.h		\
	core.h			\
	corectl.h		\
	cpc_impl.h		\
	cpc_pcbe.h		\
	cpr.h			\
	cpupart.h		\
	cpuvar.h		\
	crc32.h			\
	cred.h			\
	cred_impl.h		\
	crtctl.h		\
	cryptmod.h		\
	csiioctl.h		\
	ctf.h			\
	ctfs.h			\
	ctfs_impl.h		\
	ctf_api.h		\
	ctype.h			\
	cyclic.h		\
	cyclic_impl.h		\
	dacf.h			\
	dacf_impl.h		\
	damap.h			\
	damap_impl.h		\
	ddi.h			\
	ddifm.h			\
	ddifm_impl.h		\
	ddi_hp.h		\
	ddi_hp_impl.h		\
	ddi_intr.h		\
	ddi_intr_impl.h		\
	ddi_impldefs.h		\
	ddi_implfuncs.h		\
	ddi_obsolete.h		\
	ddi_periodic.h		\
	ddidevmap.h		\
	ddidmareq.h		\
	ddimapreq.h		\
	ddipropdefs.h		\
	dditypes.h		\
	debug.h			\
	des.h			\
	devctl.h		\
	devcache.h		\
	devcache_impl.h		\
	devfm.h			\
	devid_cache.h		\
	devinfo_impl.h		\
	devops.h		\
	devpolicy.h		\
	devpoll.h		\
	dirent.h		\
	disp.h			\
	dkbad.h			\
	dkio.h			\
	dklabel.h		\
	dl.h			\
	dlpi.h			\
	dld.h			\
	dld_impl.h		\
	dld_ioc.h		\
	dls.h			\
	dls_mgmt.h		\
	dls_impl.h		\
	dma_i8237A.h		\
	dnlc.h			\
	door.h			\
	door_data.h		\
	door_impl.h		\
	dtrace.h		\
	dtrace_impl.h		\
	dumpadm.h		\
	dumphdr.h		\
	ecppsys.h		\
	ecppio.h		\
	ecppreg.h		\
	ecppvar.h		\
	edonr.h			\
	efi_partition.h		\
	elf.h			\
	elf_386.h		\
	elf_SPARC.h		\
	elf_notes.h		\
	elf_amd64.h		\
	elftypes.h		\
	emul64.h		\
	emul64cmd.h		\
	emul64var.h		\
	epm.h			\
	epoll.h			\
	errno.h			\
	errorq.h		\
	errorq_impl.h		\
	esunddi.h		\
	ethernet.h		\
	euc.h			\
	eucioctl.h		\
	eventfd.h		\
	exacct.h		\
	exacct_catalog.h	\
	exacct_impl.h		\
	exec.h			\
	exechdr.h		\
	extdirent.h		\
	fasttrap.h		\
	fasttrap_impl.h		\
	fault.h			\
	fbio.h			\
	fbuf.h			\
	fcntl.h			\
	fct.h			\
	fct_defines.h		\
	fctio.h			\
	fdbuffer.h		\
	fdio.h			\
	feature_tests.h		\
	fem.h			\
	file.h			\
	filio.h			\
	flock.h			\
	flock_impl.h		\
	fork.h			\
	fs_reparse.h		\
	fs_subr.h		\
	fsid.h			\
	fss.h			\
	fssnap.h		\
	fssnap_if.h		\
	fsspriocntl.h		\
	fstyp.h			\
	ftrace.h		\
	fx.h			\
	fxpriocntl.h		\
	gfs.h			\
	gld.h			\
	gldpriv.h		\
	group.h			\
	hdio.h			\
	hook.h			\
	hook_event.h		\
	hook_impl.h		\
	hwconf.h		\
	ia.h			\
	iapriocntl.h		\
	ibpart.h		\
	id32.h			\
	idmap.h 		\
	ieeefp.h		\
	id_space.h		\
	ilist.h			\
	instance.h		\
	int_const.h		\
	int_fmtio.h		\
	int_limits.h		\
	int_types.h		\
	inttypes.h		\
	ioccom.h		\
	ioctl.h			\
	ipc.h			\
	ipc_impl.h		\
	ipc_rctl.h		\
	ipd.h			\
	ipmi.h			\
	isa_defs.h		\
	iscsi_authclient.h	\
	iscsi_authclientglue.h	\
	iscsi_protocol.h	\
	jioctl.h		\
	kbd.h			\
	kbdreg.h		\
	kbio.h			\
	kcpc.h			\
	kdi.h			\
	kdi_impl.h		\
	kiconv.h		\
	kiconv_big5_utf8.h	\
	kiconv_cck_common.h	\
	kiconv_cp950hkscs_utf8.h	\
	kiconv_emea1.h		\
	kiconv_emea2.h		\
	kiconv_euckr_utf8.h	\
	kiconv_euctw_utf8.h	\
	kiconv_gb18030_utf8.h	\
	kiconv_gb2312_utf8.h	\
	kiconv_hkscs_utf8.h	\
	kiconv_ja.h		\
	kiconv_ja_jis_to_unicode.h	\
	kiconv_ja_unicode_to_jis.h	\
	kiconv_ko.h		\
	kiconv_latin1.h		\
	kiconv_sc.h		\
	kiconv_tc.h		\
	kiconv_uhc_utf8.h	\
	kiconv_utf8_big5.h	\
	kiconv_utf8_cp950hkscs.h	\
	kiconv_utf8_euckr.h	\
	kiconv_utf8_euctw.h	\
	kiconv_utf8_gb18030.h	\
	kiconv_utf8_gb2312.h	\
	kiconv_utf8_hkscs.h	\
	kiconv_utf8_uhc.h	\
	kidmap.h		\
	klpd.h			\
	klwp.h			\
	kmdb.h			\
	kmem.h			\
	kmem_impl.h		\
	kobj.h			\
	kobj_impl.h		\
	ksocket.h		\
	kstat.h			\
	kstr.h			\
	ksyms.h			\
	ksynch.h		\
	ldterm.h		\
	lgrp.h			\
	lgrp_user.h		\
	libc_kernel.h		\
	limits.h		\
	link.h			\
	list.h			\
	list_impl.h		\
	llc1.h			\
	loadavg.h		\
	lock.h			\
	lockfs.h		\
	lockstat.h		\
	lofi.h			\
	lofi_impl.h		\
	log.h			\
	logindmux.h		\
	logindmux_impl.h	\
	lwp.h			\
	lwp_timer_impl.h	\
	lwp_upimutex_impl.h	\
	lpif.h			\
	mac.h			\
	mac_client.h		\
	mac_client_impl.h	\
	mac_ether.h		\
	mac_flow.h		\
	mac_flow_impl.h		\
	mac_impl.h		\
	mac_provider.h		\
	mac_soft_ring.h		\
	mac_stat.h		\
	machelf.h		\
	map.h			\
	md4.h			\
	md5.h			\
	md5_consts.h		\
	mdi_impldefs.h		\
	mem.h			\
	mem_config.h		\
	memlist.h		\
	mkdev.h			\
	mhd.h			\
	mii.h			\
	miiregs.h		\
	mixer.h			\
	mman.h			\
	mmapobj.h		\
	mntent.h		\
	mntio.h			\
	mnttab.h		\
	modctl.h		\
	mode.h			\
	model.h			\
	modhash.h		\
	modhash_impl.h		\
	mount.h			\
	mouse.h			\
	msacct.h		\
	msg.h			\
	msg_impl.h		\
	msio.h			\
	msreg.h			\
	mtio.h			\
	multidata.h		\
	multidata_impl.h	\
	mutex.h			\
	nbmlock.h		\
	ndifm.h			\
	ndi_impldefs.h		\
	net80211.h		\
	net80211_amrr.h		\
	net80211_crypto.h	\
	net80211_ht.h		\
	net80211_proto.h	\
	netconfig.h		\
	neti.h			\
	netstack.h		\
	nexusdefs.h		\
	note.h			\
	null.h			\
	nvpair.h		\
	nvpair_impl.h		\
	objfs.h			\
	objfs_impl.h		\
	ontrap.h		\
	open.h			\
	openpromio.h		\
	panic.h			\
	param.h			\
	pathconf.h		\
	pathname.h		\
	pattr.h			\
	queue.h			\
	serializer.h		\
	pbio.h			\
	pci.h			\
	pcie.h			\
	pci_impl.h		\
	pci_tools.h		\
	pctypes.h		\
	pfmod.h			\
	pg.h			\
	pghw.h			\
	physmem.h		\
	pkp_hash.h		\
	pm.h			\
	policy.h		\
	poll.h			\
	poll_impl.h		\
	pool.h			\
	pool_impl.h		\
	pool_pset.h		\
	port.h			\
	port_impl.h		\
	port_kernel.h		\
	portif.h		\
	ppmio.h			\
	pppt_ic_if.h		\
	pppt_ioctl.h		\
	priocntl.h		\
	priv.h			\
	priv_impl.h		\
	prnio.h			\
	proc.h			\
	processor.h		\
	procfs.h		\
	procset.h		\
	project.h		\
	protosw.h		\
	prsystm.h		\
	pset.h			\
	pshot.h			\
	ptem.h			\
	ptms.h			\
	ptyvar.h		\
	raidioctl.h		\
	ramdisk.h		\
	random.h		\
	rctl.h			\
	rctl_impl.h		\
	rds.h			\
	reboot.h		\
	refstr.h		\
	refstr_impl.h		\
	resource.h		\
	rlioctl.h		\
	rt.h			\
	rtpriocntl.h		\
	rwlock.h		\
	rwlock_impl.h		\
	rwstlock.h		\
	sad.h			\
	schedctl.h		\
	sdt.h			\
	secflags.h		\
	select.h		\
	sem.h			\
	sem_impl.h		\
	sema_impl.h		\
	semaphore.h		\
	sendfile.h		\
	ser_sync.h		\
	session.h		\
	sha1.h			\
	sha1_consts.h		\
	sha2.h			\
	sha2_consts.h		\
	share.h			\
	shm.h			\
	shm_impl.h		\
	sid.h			\
	siginfo.h		\
	signal.h		\
	signalfd.h		\
	skein.h			\
	sleepq.h		\
	smbios.h		\
	smbios_impl.h		\
	sobject.h		\
	socket.h		\
	socket_impl.h		\
	socket_proto.h		\
	socketvar.h		\
	sockfilter.h		\
	sockio.h		\
	soundcard.h		\
	squeue.h		\
	squeue_impl.h		\
	srn.h			\
	stat.h			\
	statfs.h		\
	statvfs.h		\
	stdbool.h		\
	stdint.h		\
	stermio.h		\
	stmf.h			\
	stmf_defines.h		\
	stmf_ioctl.h		\
	stmf_sbd_ioctl.h	\
	stream.h		\
	strft.h			\
	strlog.h		\
	strmdep.h		\
	stropts.h		\
	strredir.h		\
	strstat.h		\
	strsubr.h		\
	strsun.h		\
	strtty.h		\
	sunddi.h		\
	sunldi.h		\
	sunldi_impl.h		\
	sunmdi.h		\
	sunndi.h		\
	sunos_dhcp_class.h	\
	sunpm.h			\
	suntpi.h		\
	suntty.h		\
	swap.h			\
	synch.h			\
	sysdc.h			\
	sysdc_impl.h		\
	syscall.h		\
	sysconf.h		\
	sysconfig.h		\
	sysevent.h		\
	sysevent_impl.h		\
	sysinfo.h		\
	syslog.h		\
	sysmacros.h		\
	sysmsg_impl.h		\
	systeminfo.h		\
	systm.h			\
	task.h			\
	taskq.h			\
	taskq_impl.h		\
	t_kuser.h		\
	t_lock.h		\
	telioctl.h		\
	termio.h		\
	termios.h		\
	termiox.h		\
	thread.h		\
	ticlts.h		\
	ticots.h		\
	ticotsord.h		\
	tihdr.h			\
	time.h			\
	time_impl.h		\
	time_std_impl.h		\
	timeb.h			\
	timer.h			\
	timerfd.h		\
	times.h			\
	timex.h			\
	timod.h			\
	tirdwr.h		\
	tiuser.h		\
	tl.h			\
	tnf.h			\
	tnf_com.h		\
	tnf_probe.h		\
	tnf_writer.h		\
	todio.h			\
	tpicommon.h		\
	ts.h			\
	tspriocntl.h		\
	ttcompat.h		\
	ttold.h			\
	tty.h			\
	ttychars.h		\
	ttydev.h		\
	tuneable.h		\
	turnstile.h		\
	types.h			\
	types32.h		\
	tzfile.h		\
	u8_textprep.h		\
	u8_textprep_data.h	\
	uadmin.h		\
	ucred.h			\
	uio.h			\
	ulimit.h		\
	un.h			\
	unistd.h		\
	user.h			\
	ustat.h			\
	utime.h			\
	utsname.h		\
	utssys.h		\
	uuid.h			\
	va_impl.h		\
	va_list.h		\
	var.h			\
	varargs.h		\
	vfs.h			\
	vfs_opreg.h		\
	vfstab.h		\
	vgareg.h		\
	videodev2.h		\
	visual_io.h		\
	vlan.h			\
	vm.h			\
	vm_usage.h		\
	vmem.h			\
	vmem_impl.h		\
	vmsystm.h		\
	vnic.h			\
	vnic_impl.h		\
	vnode.h			\
	vscan.h			\
	vtoc.h			\
	vtrace.h		\
	vuid_event.h		\
	vuid_wheel.h		\
	vuid_queue.h		\
	vuid_state.h		\
	vuid_store.h		\
	wait.h			\
	waitq.h			\
	watchpoint.h		\
	winlockio.h		\
	zcons.h			\
	zone.h			\
	xti_inet.h		\
	xti_osi.h		\
	xti_xtiopt.h		\
	zmod.h

# headers generated using awk
GENERATED_INCS=	priv_const.h \
		priv_names.h

INCS+=		${GENERATED_INCS}
CLEANFILES+=	${GENERATED_INCS}

AWK?=	/usr/bin/awk
PRIVS_AWK = ../../usr/src/uts/common/os/privs.awk
PRIVS_DEF = ../../usr/src/uts/common/os/priv_defs

.PHONY: all

all: ${GENERATED_INCS}

priv_const.h: ${PRIVS_AWK} ${PRIVS_DEF}
	$(AWK) -f ${PRIVS_AWK} -v privhfile=$@ < ${PRIVS_DEF}

priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
	$(AWK) -f ${PRIVS_AWK} -v pubhfile=$@ < ${PRIVS_DEF}

SUBDIR=	1394 \
	agp \
	audio \
	av \
	contract \
	crypto \
	dcam \
	dktp \
	fc4 \
	fm \
	fs \
	hotplug \
	ib \
	iscsit \
	iso \
	proc \
	rsm \
	sata \
	scsi \
	sdcard \
	sysevent \
	usb

.include <prog.mk>
.include <inc.mk>

.include <../../Makefile.cfgparam>