xref: /freebsd/sbin/rtsol/Makefile (revision cbb3ec25236ba72f91cbdf23f8b78b9d1af0cedf)
1# Copyright (c) 1996 WIDE Project. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modifications, are permitted provided that the above copyright notice
5# and this paragraph are duplicated in all such forms and that any
6# documentation, advertising materials, and other materials related to
7# such distribution and use acknowledge that the software was developed
8# by the WIDE Project, Japan. The name of the Project may not be used to
9# endorse or promote products derived from this software without
10# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
11# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13# A PARTICULAR PURPOSE.
14#
15
16.PATH:	${SRCTOP}/usr.sbin/rtsold
17
18PACKAGE=runtime
19PROG=	rtsol
20SRCS=	cap_llflags.c \
21	cap_script.c \
22	cap_sendmsg.c \
23	dump.c \
24	if.c \
25	rtsol.c \
26	rtsold.c \
27	rtsock.c
28MAN=
29LIBADD=	util
30
31.include <src.opts.mk>
32
33.if ${MK_DYNAMICROOT} == "no"
34.warning ${PROG} built without libcasper support
35.elif ${MK_CASPER} != "no" && !defined(RESCUE)
36CFLAGS+= -DWITH_CASPER
37LIBADD+= cap_syslog casper nv
38.endif
39
40.include <bsd.prog.mk>
41