Print this page
NEX-8148 Alerts should be sent if cores are created on a system
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
@@ -18,10 +18,11 @@
#
# CDDL HEADER END
#
#
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2017 Nexenta Systems, Inc.
#
MODULE = software-diagnosis
CLASS = common
@@ -34,11 +35,11 @@
#
# Sources for subsidiary diagnosis "modules" that we host. These should
# be listed in ../Makefile.com
#
-SUBDE_SRCS = $(SMF_DE_SRCS) $(PANIC_DE_SRCS)
+SUBDE_SRCS = $(SMF_DE_SRCS) $(PANIC_DE_SRCS) $(CORE_DE_SRCS)
#
# All sources for softtware-diagnosis
#
SRCS = $(SWDE_SRCS) $(CMN_SRCS:%=../%) $(SUBDE_SRCS:%=../%)
@@ -45,9 +46,9 @@
include ../../../Makefile.plugin
CFLAGS += $(INCS)
LINTFLAGS += $(INCS)
-LDLIBS += -L$(ROOTLIB)/fm -ltopo -luutil -luuid -lkstat
+LDLIBS += -L$(ROOTLIB)/fm -ltopo -luutil -luuid -lkstat -lproc
LDFLAGS += -R/usr/lib/fm
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized