xref: /freebsd/packages/Makefile (revision cd0a101b01d685092d073a367f0e7374f7259256)
1# SPDX-License-Identifier: ISC
2#
3# Copyright (c) 2026 Lexi Winter <ivy@FreeBSD.org>
4#
5# Permission to use, copy, modify, and distribute this software for any
6# purpose with or without fee is hereby granted, provided that the above
7# copyright notice and this permission notice appear in all copies.
8#
9# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16
17.include <src.opts.mk>
18
19SUBDIR=	\
20	bsdconfig \
21	bzip2 \
22	clibs \
23	cron \
24	ctl \
25	devd \
26	devmatch \
27	dhclient \
28	fetch \
29	flua \
30	firmware-iwm \
31	fwget \
32	geom \
33	ggate \
34	lib9p \
35	libarchive \
36	libbegemot \
37	libblocksruntime \
38	libbsdstat \
39	libcasper \
40	libcompat \
41	libcompiler_rt \
42	libdwarf \
43	libevent1 \
44	libexecinfo \
45	libpathconv \
46	librss \
47	libsqlite3 \
48	libthread_db \
49	libucl \
50	libyaml \
51	locales \
52	mandoc \
53	mtree \
54	natd \
55	ncurses \
56	netmap \
57	newsyslog \
58	nfs \
59	nvme-tools \
60	pam \
61	periodic \
62	powerd \
63	ppp \
64	rc \
65	rcmds \
66	resolvconf \
67	rip \
68	runtime \
69	smart \
70	smbutils \
71	syslogd \
72	tcpd \
73	toolchain \
74	ufs \
75	utilities \
76	xz \
77	zlib \
78	zstd
79
80.if ${MK_ACCT} != "no" || ${MK_UTMPX} != "no"
81SUBDIR+=	acct
82.endif
83
84.if ${MK_CLANG} != "no" || ${MK_LLD} != "no" || \
85    ${MK_LLDB} != "no" || ${MK_LLVM_BINUTILS} != "no"
86SUBDIR+=	clang
87.endif
88
89.if ${MK_AUTHPF} != "no" || ${MK_PF} != "no"
90SUBDIR+=	pf
91.endif
92
93# XXX - certctl probably shouldn't depend on caroot. This logic comes from
94# the src build, so we have to match it.
95.if ${MK_CAROOT} != "no"
96SUBDIR.${MK_OPENSSL}+=  certctl
97SUBDIR+=		caroot
98.endif
99
100SUBDIR.${MK_AT}+=		at
101SUBDIR.${MK_AUDIT}+=		audit
102SUBDIR.${MK_AUTOFS}+=		autofs
103SUBDIR.${MK_BLOCKLIST}+=	blocklist
104SUBDIR.${MK_BLUETOOTH}+=	bluetooth
105SUBDIR.${MK_BOOT}+=		bootloader
106SUBDIR.${MK_BSDINSTALL}+=	bsdinstall
107SUBDIR.${MK_BSNMP}+=		bsnmp
108SUBDIR.${MK_CCD}+=		ccdconfig
109SUBDIR.${MK_CUSE}+=		libcuse
110SUBDIR.${MK_CXGBETOOL}+=	cxgbe-tools
111SUBDIR.${MK_DMAGENT}+=		dma
112SUBDIR.${MK_DTRACE}+=		ctf dtrace dwatch
113SUBDIR.${MK_EE}+=		ee
114SUBDIR.${MK_EFI}+=		efi-tools
115SUBDIR.${MK_EXAMPLES}+=		examples
116SUBDIR.${MK_FILE}+=		libmagic
117SUBDIR.${MK_FLOPPY}+=		fd
118SUBDIR.${MK_FTP}+=		ftp
119SUBDIR.${MK_GAMES}+=		games
120SUBDIR.${MK_GOOGLETEST}+=	googletest
121SUBDIR.${MK_HAST}+=		hast
122SUBDIR.${MK_HYPERV}+=		hyperv-tools
123SUBDIR.${MK_INETD}+=		inetd
124SUBDIR.${MK_IPFILTER}+=		ipf
125SUBDIR.${MK_IPFW}+=		ipfw
126SUBDIR.${MK_ISCSI}+=		iscsi
127SUBDIR.${MK_JAIL}+=		jail
128SUBDIR.${MK_KERBEROS}+=		kerberos kerberos-kdc librpcsec_gss gssd
129SUBDIR.${MK_LDNS}+=		libldns
130SUBDIR.${MK_LEGACY_CONSOLE}+=	console-tools
131SUBDIR.${MK_LLD}+=		lld
132SUBDIR.${MK_LLDB}+=		lldb
133SUBDIR.${MK_LPR}+=		lp
134SUBDIR.${MK_MAKE}+=		bmake
135SUBDIR.${MK_MAN}+=		kernel-man
136SUBDIR.${MK_MLX5TOOL}+=		mlx-tools
137SUBDIR.${MK_NIS}+=		yp
138SUBDIR.${MK_NTP}+=		ntp
139SUBDIR.${MK_NUAGEINIT}+=	nuageinit
140SUBDIR.${MK_OFED}+=		rdma
141SUBDIR.${MK_OPENSSH}+=		ssh
142SUBDIR.${MK_OPENSSL}+=		openssl
143SUBDIR.${MK_PKGBOOTSTRAP}+=	pkg-bootstrap
144SUBDIR.${MK_PKGCONF}+=		pkgconf
145SUBDIR.${MK_PMC}+=		pmc
146SUBDIR.${MK_QUOTAS}+=		quotacheck
147SUBDIR.${MK_RESCUE}+=		rescue
148SUBDIR.${MK_SENDMAIL}+=		sendmail libmilter
149SUBDIR.${MK_SOUND}+=		sound
150SUBDIR.${MK_SYSCONS}+=		syscons-data
151SUBDIR.${MK_TCSH}+=		csh
152SUBDIR.${MK_TELNET}+=		telnet
153SUBDIR.${MK_TESTS}+=		tests
154SUBDIR.${MK_TESTS_SUPPORT}+=	atf kyua
155SUBDIR.${MK_UNBOUND}+=		local-unbound
156SUBDIR.${MK_VI}+=		vi
157SUBDIR.${MK_VT}+=		vt-data
158SUBDIR.${MK_WIRELESS}+=		hostapd wpa
159SUBDIR.${MK_ZFS}+=		zfs
160SUBDIR.${MK_ZONEINFO}+=		zoneinfo
161
162.include <bsd.arch.inc.mk>
163
164SUBDIR_PARALLEL=
165
166.ORDER:	all stagepackages
167
168.include <bsd.subdir.mk>
169