1f6e214c7SGavin Maltby#
2f6e214c7SGavin Maltby# CDDL HEADER START
3f6e214c7SGavin Maltby#
4f6e214c7SGavin Maltby# The contents of this file are subject to the terms of the
5f6e214c7SGavin Maltby# Common Development and Distribution License (the "License").
6f6e214c7SGavin Maltby# You may not use this file except in compliance with the License.
7f6e214c7SGavin Maltby#
8f6e214c7SGavin Maltby# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f6e214c7SGavin Maltby# or http://www.opensolaris.org/os/licensing.
10f6e214c7SGavin Maltby# See the License for the specific language governing permissions
11f6e214c7SGavin Maltby# and limitations under the License.
12f6e214c7SGavin Maltby#
13f6e214c7SGavin Maltby# When distributing Covered Code, include this CDDL HEADER in each
14f6e214c7SGavin Maltby# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f6e214c7SGavin Maltby# If applicable, add the following below this CDDL HEADER, with the
16f6e214c7SGavin Maltby# fields enclosed by brackets "[]" replaced with your own identifying
17f6e214c7SGavin Maltby# information: Portions Copyright [yyyy] [name of copyright owner]
18f6e214c7SGavin Maltby#
19f6e214c7SGavin Maltby# CDDL HEADER END
20f6e214c7SGavin Maltby#
21f6e214c7SGavin Maltby
22f6e214c7SGavin Maltby#
23f6e214c7SGavin Maltby# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24f6e214c7SGavin Maltby#
25f6e214c7SGavin Maltby
26f6e214c7SGavin MaltbyLIBRARY = libfmnotify.a
27f6e214c7SGavin MaltbyVERS = .1
28f6e214c7SGavin Maltby
29f6e214c7SGavin MaltbyLIBSRCS = libfmnotify.c
30f6e214c7SGavin MaltbyOBJECTS = $(LIBSRCS:%.c=%.o)
31f6e214c7SGavin Maltby
32f6e214c7SGavin Maltbyinclude ../../../Makefile.lib
33f6e214c7SGavin Maltbyinclude ../../Makefile.lib
34f6e214c7SGavin Maltby
35f6e214c7SGavin MaltbySRCS = $(LIBSRCS:%.c=../common/%.c)
36*241c90a0SRichard LoweLIBS = $(DYNLIB)
37f6e214c7SGavin Maltby
38f6e214c7SGavin MaltbySRCDIR =	../common
39f6e214c7SGavin Maltby
40bd0ce624SYuri PankovCSTD = $(CSTD_GNU99)
41f6e214c7SGavin Maltby
42f6e214c7SGavin MaltbyCPPFLAGS += -I../common -I.
43f6e214c7SGavin MaltbyCFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
44f6e214c7SGavin MaltbyCFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
45f6e214c7SGavin Maltby
46f6e214c7SGavin Maltby$(DYNLIB) := LDLIBS += $(MACH_LDLIBS)
47f6e214c7SGavin Maltby$(DYNLIB) := LDLIBS += -lnvpair -lc -lfmd_msg -lfmevent -lscf -ldiagcode
48f6e214c7SGavin Maltby
49f6e214c7SGavin Maltby
50f6e214c7SGavin Maltby.KEEP_STATE:
51f6e214c7SGavin Maltby
52f6e214c7SGavin Maltbyall: $(LIBS)
53f6e214c7SGavin Maltby
54f6e214c7SGavin Maltbyinclude ../../../Makefile.targ
55f6e214c7SGavin Maltbyinclude ../../Makefile.targ
56