xref: /freebsd/packages/Makefile (revision 25942dddc8a81a338d4615db99b8e7cbb8550449)
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=	blocklist \
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_BLUETOOTH}+=	bluetooth
104SUBDIR.${MK_BOOT}+=		bootloader
105SUBDIR.${MK_BSDINSTALL}+=	bsdinstall
106SUBDIR.${MK_BSNMP}+=		bsnmp
107SUBDIR.${MK_CCD}+=		ccdconfig
108SUBDIR.${MK_CUSE}+=		libcuse
109SUBDIR.${MK_CXGBETOOL}+=	cxgbe-tools
110SUBDIR.${MK_DMAGENT}+=		dma
111SUBDIR.${MK_DTRACE}+=		ctf dtrace dwatch
112SUBDIR.${MK_EE}+=		ee
113SUBDIR.${MK_EFI}+=		efi-tools
114SUBDIR.${MK_EXAMPLES}+=		examples
115SUBDIR.${MK_FILE}+=		libmagic
116SUBDIR.${MK_FLOPPY}+=		fd
117SUBDIR.${MK_FTP}+=		ftp
118SUBDIR.${MK_GAMES}+=		games
119SUBDIR.${MK_GOOGLETEST}+=	googletest
120SUBDIR.${MK_HAST}+=		hast
121SUBDIR.${MK_HYPERV}+=		hyperv-tools
122SUBDIR.${MK_INETD}+=		inetd
123SUBDIR.${MK_IPFILTER}+=		ipf
124SUBDIR.${MK_IPFW}+=		ipfw
125SUBDIR.${MK_ISCSI}+=		iscsi
126SUBDIR.${MK_JAIL}+=		jail
127SUBDIR.${MK_KERBEROS}+=		kerberos kerberos-kdc librpcsec_gss gssd
128SUBDIR.${MK_LDNS}+=		libldns
129SUBDIR.${MK_LEGACY_CONSOLE}+=	console-tools
130SUBDIR.${MK_LLD}+=		lld
131SUBDIR.${MK_LLDB}+=		lldb
132SUBDIR.${MK_LPR}+=		lp
133SUBDIR.${MK_MAKE}+=		bmake
134SUBDIR.${MK_MAN}+=		kernel-man
135SUBDIR.${MK_MLX5TOOL}+=		mlx-tools
136SUBDIR.${MK_NIS}+=		yp
137SUBDIR.${MK_NTP}+=		ntp
138SUBDIR.${MK_NUAGEINIT}+=	nuageinit
139SUBDIR.${MK_OFED}+=		rdma
140SUBDIR.${MK_OPENSSH}+=		ssh
141SUBDIR.${MK_OPENSSL}+=		openssl
142SUBDIR.${MK_PKGBOOTSTRAP}+=	pkg-bootstrap
143SUBDIR.${MK_PKGCONF}+=		pkgconf
144SUBDIR.${MK_PMC}+=		pmc
145SUBDIR.${MK_QUOTAS}+=		quotacheck
146SUBDIR.${MK_RESCUE}+=		rescue
147SUBDIR.${MK_SENDMAIL}+=		sendmail libmilter
148SUBDIR.${MK_SOUND}+=		sound
149SUBDIR.${MK_SYSCONS}+=		syscons-data
150SUBDIR.${MK_TCSH}+=		csh
151SUBDIR.${MK_TELNET}+=		telnet
152SUBDIR.${MK_TESTS}+=		tests
153SUBDIR.${MK_TESTS_SUPPORT}+=	atf kyua
154SUBDIR.${MK_UNBOUND}+=		local-unbound
155SUBDIR.${MK_VI}+=		vi
156SUBDIR.${MK_VT}+=		vt-data
157SUBDIR.${MK_WIRELESS}+=		hostapd wpa
158SUBDIR.${MK_ZFS}+=		zfs
159SUBDIR.${MK_ZONEINFO}+=		zoneinfo
160
161.include <bsd.arch.inc.mk>
162
163SUBDIR_PARALLEL=
164
165.ORDER:	all stagepackages
166
167.include <bsd.subdir.mk>
168