6811333 Remove prom_printf() message in emlxs driver
[opensolaris.git] / usr / src / lib / libbsm / Makefile.com
blob367586ba90aab358de69092abc9ac57fe0616252
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 2008 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I%     %E% SMI"
28 LIBRARY =       libbsm.a
29 VERS =          .1
30 OBJECTS=        adr.o \
31                 adrf.o \
32                 adrm.o \
33                 adt.o \
34                 adt_token.o \
35                 adt_xlate.o \
36                 au_open.o \
37                 au_preselect.o \
38                 au_to.o \
39                 au_usermask.o \
40                 audit_allocate.o \
41                 audit_class.o \
42                 audit_cron.o \
43                 audit_crontab.o \
44                 audit_at.o \
45                 audit_event.o \
46                 audit_ftpd.o \
47                 audit_halt.o \
48                 audit_kadmind.o \
49                 audit_krb5kdc.o \
50                 audit_mountd.o \
51                 audit_plugin.o \
52                 audit_reboot.o \
53                 audit_rexd.o \
54                 audit_rexecd.o \
55                 audit_rshd.o \
56                 audit_settid.o \
57                 audit_shutdown.o \
58                 audit_user.o \
59                 bsm.o \
60                 generic.o \
61                 getacinfo.o \
62                 getacval.o \
63                 getauditflags.o \
64                 getdaent.o \
65                 getdevicerange.o \
66                 getdment.o \
67                 getdadefs.o \
68                 devalloc.o \
69                 getfaudflgs.o
72 # Include common library definitions.
74 include ../../Makefile.lib
76 # install this library in the root filesystem
77 include ../../Makefile.rootfs
79 SRCDIR =        ../common
81 LIBS =          $(DYNLIB) $(LINTLIB)
83 LINTSRC= $(LINTLIB:%.ln=%)
84 $(LINTLIB) :=   SRCS = ../common/$(LINTSRC)
85 ROOTLINTDIR=    $(ROOTLIBDIR)
86 ROOTLINT=       $(LINTSRC:%=$(ROOTLINTDIR)/%)
88 CLEANFILES +=   $(LINTOUT) $(LINTLIB)
90 CFLAGS  +=      $(CCVERBOSE)
91 LDLIBS +=       -lsocket -lnsl -lmd -lc -lsecdb -ltsol -linetutil
93 COMDIR=         ../common
95 CPPFLAGS += -I$(COMDIR)
96 CPPFLAGS += -D_REENTRANT
99 # message catalogue file
101 TEXT_DOMAIN= SUNW_OST_OSLIB
103 .KEEP_STATE:
105 all: $(LIBS)
107 lint: lintcheck
109 # Include library targets
111 include ../../Makefile.targ
113 pics/%.o: ../common/%.c
114         $(COMPILE.c) -o $@ $<
115         $(POST_PROCESS_O)
117 # install rule for lint library target
118 $(ROOTLINTDIR)/%: ../common/%
119         $(INS.file)