getconf: don't include xpg4 bits, gcc7 includes xpg6 bits for us
[unleashed.git] / usr / src / lib / libbsm / Makefile.com
blob63f9db88518af2ca0c0889632af12c9963c2171b
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
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.
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]
19 # CDDL HEADER END
22 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
25 LIBRARY =       libbsm.a
26 VERS =          .1
27 OBJECTS=        adr.o \
28                 adrf.o \
29                 adrm.o \
30                 adt.o \
31                 adt_token.o \
32                 adt_xlate.o \
33                 au_open.o \
34                 au_preselect.o \
35                 au_to.o \
36                 au_usermask.o \
37                 audit_allocate.o \
38                 audit_class.o \
39                 audit_cron.o \
40                 audit_crontab.o \
41                 audit_at.o \
42                 audit_event.o \
43                 audit_ftpd.o \
44                 audit_halt.o \
45                 audit_kadmind.o \
46                 audit_krb5kdc.o \
47                 audit_mountd.o \
48                 audit_plugin.o \
49                 audit_reboot.o \
50                 audit_scf.o \
51                 audit_settid.o \
52                 audit_shutdown.o \
53                 bsm.o \
54                 generic.o \
55                 getauditflags.o \
56                 getdaent.o \
57                 getdment.o \
58                 devalloc.o \
59                 getfaudflgs.o
62 # Include common library definitions.
64 include ../../Makefile.lib
66 # install this library in the root filesystem
67 include ../../Makefile.rootfs
69 SRCDIR =        ../common
71 LIBS =          $(DYNLIB)
73 LDLIBS +=        -lmd -lc -lsecdb -linetutil -lscf
75 CERRWARN +=     -Wno-parentheses
76 CERRWARN +=     -Wno-uninitialized
78 COMDIR=         ../common
79 AUDITD=         $(SRC)/cmd/auditd
81 CPPFLAGS += -I$(COMDIR) -I$(AUDITD)
84 # message catalogue file
86 TEXT_DOMAIN= SUNW_OST_OSLIB
88 .KEEP_STATE:
90 all: $(LIBS)
92 # Include library targets
94 include ../../Makefile.targ
96 pics/%.o: ../common/%.c
97         $(COMPILE.c) -o $@ $<
98         $(POST_PROCESS_O)