Makefile.com (a787240632bcb1404b9fd4583516b875d3f02c8b) Makefile.com (0ea5e3a571e3da934507bdd32924d11659c70704)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License"). You may not use this file except in compliance
7# with the License.
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
22#
23# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
21# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24# Use is subject to license terms.
25#
26# ident "%Z%%M% %I% %E% SMI"
27#
28
29PROG= syslogd
30ROTATESCRIPT= newsyslog
31CONFIGFILE= syslog.conf
32TXTS= syslog.conf
33PRODUCT= $(PROG) $(ROTATESCRIPT)
34OBJS= syslogd.o queue.o list.o conf.o
35SRCS= $(OBJS:%.o=../%.c)
36LLOBJS= $(OBJS:%.o=%.ll)
37
38include ../../Makefile.cmd
39
22# Use is subject to license terms.
23#
24# ident "%Z%%M% %I% %E% SMI"
25#
26
27PROG= syslogd
28ROTATESCRIPT= newsyslog
29CONFIGFILE= syslog.conf
30TXTS= syslog.conf
31PRODUCT= $(PROG) $(ROTATESCRIPT)
32OBJS= syslogd.o queue.o list.o conf.o
33SRCS= $(OBJS:%.o=../%.c)
34LLOBJS= $(OBJS:%.o=%.ll)
35
36include ../../Makefile.cmd
37
40$(PROG) := LDLIBS += -lcmd -lnsl
38$(PROG) lint := LDLIBS += -lscf -lnsl
41CCVERBOSE =
42CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
39CCVERBOSE =
40CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
43CPPFLAGS += -DNDEBUG
41CFLAGS += -DNDEBUG
44
42
43# there's some extra utility code defined but not used.
44LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
45
45VARSYSLOG= syslog
46VARAUTHLOG= authlog
47ROOTVARLOGD= $(ROOT)/var/log
48
49OWNER= root
50GROUP= sys
51
52ROOTETCCONFIG= $(CONFIGFILE:%=$(ROOTETC)/%)

--- 52 unchanged lines hidden ---
46VARSYSLOG= syslog
47VARAUTHLOG= authlog
48ROOTVARLOGD= $(ROOT)/var/log
49
50OWNER= root
51GROUP= sys
52
53ROOTETCCONFIG= $(CONFIGFILE:%=$(ROOTETC)/%)

--- 52 unchanged lines hidden ---