xref: /freebsd/sbin/rtsol/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
17d56d374SYoshinobu Inoue# Copyright (c) 1996 WIDE Project. All rights reserved.
27d56d374SYoshinobu Inoue#
37d56d374SYoshinobu Inoue# Redistribution and use in source and binary forms, with or without
47d56d374SYoshinobu Inoue# modifications, are permitted provided that the above copyright notice
57d56d374SYoshinobu Inoue# and this paragraph are duplicated in all such forms and that any
67d56d374SYoshinobu Inoue# documentation, advertising materials, and other materials related to
77d56d374SYoshinobu Inoue# such distribution and use acknowledge that the software was developed
87d56d374SYoshinobu Inoue# by the WIDE Project, Japan. The name of the Project may not be used to
97d56d374SYoshinobu Inoue# endorse or promote products derived from this software without
107d56d374SYoshinobu Inoue# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
117d56d374SYoshinobu Inoue# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
127d56d374SYoshinobu Inoue# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137d56d374SYoshinobu Inoue# A PARTICULAR PURPOSE.
1406cced4cSYaroslav Tykhiy#
157d56d374SYoshinobu Inoue
1622289a8cSEnji Cooper.PATH:	${SRCTOP}/usr.sbin/rtsold
17491bafe5SYaroslav Tykhiy
187de1daebSGlen BarberPACKAGE=runtime
197d56d374SYoshinobu InouePROG=	rtsol
20*04e9edb5SMark JohnstonSRCS=	cap_llflags.c \
21*04e9edb5SMark Johnston	cap_script.c \
22*04e9edb5SMark Johnston	cap_sendmsg.c \
23*04e9edb5SMark Johnston	dump.c \
24*04e9edb5SMark Johnston	if.c \
25*04e9edb5SMark Johnston	rtsol.c \
26*04e9edb5SMark Johnston	rtsold.c \
27*04e9edb5SMark Johnston	rtsock.c
283bdf7758SWarner LoshMAN=
29*04e9edb5SMark JohnstonLIBADD=	util
307d56d374SYoshinobu Inoue
31*04e9edb5SMark Johnston.include <src.opts.mk>
32*04e9edb5SMark Johnston
33*04e9edb5SMark Johnston.if ${MK_DYNAMICROOT} == "no"
34*04e9edb5SMark Johnston.warning ${PROG} built without libcasper support
35*04e9edb5SMark Johnston.elif ${MK_CASPER} != "no" && !defined(RESCUE)
36*04e9edb5SMark JohnstonCFLAGS+= -DWITH_CASPER
37*04e9edb5SMark JohnstonLIBADD+= cap_syslog casper nv
38*04e9edb5SMark Johnston.endif
39491bafe5SYaroslav Tykhiy
407d56d374SYoshinobu Inoue.include <bsd.prog.mk>
41