summaryrefslogtreecommitdiff
path: root/usr/src/lib/fm/libfmevent/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/fm/libfmevent/Makefile.com')
-rw-r--r--usr/src/lib/fm/libfmevent/Makefile.com11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/src/lib/fm/libfmevent/Makefile.com b/usr/src/lib/fm/libfmevent/Makefile.com
index ed023a34d7..1301bb5a2a 100644
--- a/usr/src/lib/fm/libfmevent/Makefile.com
+++ b/usr/src/lib/fm/libfmevent/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libfmevent.a
@@ -29,7 +28,8 @@ VERS = .1
LIBSRCS = fmev_subscribe.c \
fmev_evaccess.c \
fmev_errstring.c \
- fmev_util.c
+ fmev_util.c \
+ fmev_publish.c
OBJECTS = $(LIBSRCS:%.c=%.o)
@@ -41,12 +41,15 @@ LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
+C99MODE = $(C99_ENABLE)
+
CPPFLAGS += -I../common -I.
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
-LDLIBS += -lumem -lnvpair -luutil -lsysevent -lc
+$(DYNLIB) := LDLIBS += -lumem -lnvpair -luutil -lsysevent -L$(ROOTLIBDIR) \
+ -ltopo -lc
LINTFLAGS = -msux
LINTFLAGS64 = -msux -m64