Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/syslogd/Makefile
| # @(#)Makefile 8.1 (Berkeley) 6/6/93 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 | ||||
| # $FreeBSD$ | # $FreeBSD$ | ||||
| .include <src.opts.mk> | .include <src.opts.mk> | ||||
| .PATH: ${SRCTOP}/usr.bin/wall | .PATH: ${SRCTOP}/usr.bin/wall | ||||
| CONFGROUPS= CONFS SYSLOGD_D | CONFGROUPS= CONFS SYSLOGD_D | ||||
| CONFS= syslog.conf | CONFS= syslog.conf | ||||
| PROG= syslogd | PROG= syslogd | ||||
| MAN= syslog.conf.5 syslogd.8 | MAN= syslog.conf.5 syslogd.8 | ||||
| SRCS= syslogd.c ttymsg.c | SRCS= syslogd.c ttymsg.c | ||||
| LIBADD= util | LIBADD= util | ||||
| .if ${MK_INET_SUPPORT} != "no" | .if (${MK_INET} != "no" && ${MK_INET_SUPPORT} != "no") | ||||
emaste: these are probably better handled by having one of these be dependent on the other - i.e. | |||||
Not Done Inline ActionsI think the new check is bogus. WITHOUT_INET{,6} means do not build the program at all; that also sets (hopefully still) WITHOUT_INET{,6}_SUPPORT. WITHOUT_INET{,6}_SUPPORT means don't build the address family component into the program/library/.. but still build the program/library/.. So in theory the previous Makefile was correct (also for v6 below). If the code does not build any longer, please fix the code. bz: I think the new check is bogus. WITHOUT_INET{,6} means do not build the program at all; that… | |||||
| CFLAGS+= -DINET | CFLAGS+= -DINET | ||||
| .endif | .endif | ||||
| .if ${MK_INET6_SUPPORT} != "no" | .if (${MK_INET6} != "no" && ${MK_INET6_SUPPORT} != "no") | ||||
| CFLAGS+= -DINET6 | CFLAGS+= -DINET6 | ||||
| .endif | .endif | ||||
| SYSLOGD_D= | SYSLOGD_D= | ||||
| SYSLOGD_DDIR= /etc/syslog.d | SYSLOGD_DDIR= /etc/syslog.d | ||||
| .if ${MK_FTP} != "no" | .if ${MK_FTP} != "no" | ||||
| SYSLOGD_D+= ftp.conf | SYSLOGD_D+= ftp.conf | ||||
| .endif | .endif | ||||
| Show All 12 Lines | |||||
these are probably better handled by having one of these be dependent on the other - i.e., WITHOUT_INET_SUPPORT should imply WITHOUT_INET I think. @bz ?