summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Friedel <Jan.Friedel@Sun.COM>2009-06-03 11:07:08 +0200
committerJan Friedel <Jan.Friedel@Sun.COM>2009-06-03 11:07:08 +0200
commit105becb210761411eef0a68f3c1f441f2f7a2647 (patch)
tree3f026820fdb89bf260b37b805e776178f9360dc4
parent614f161203d313b00e559d24c1d439b11e022fd5 (diff)
downloadillumos-joyent-105becb210761411eef0a68f3c1f441f2f7a2647.tar.gz
6805954 auditd_plugins `make clobber' keeps files in source tree.
-rw-r--r--usr/src/lib/auditd_plugins/binfile/Makefile14
-rw-r--r--usr/src/lib/auditd_plugins/syslog/Makefile14
2 files changed, 16 insertions, 12 deletions
diff --git a/usr/src/lib/auditd_plugins/binfile/Makefile b/usr/src/lib/auditd_plugins/binfile/Makefile
index a8d5726fcc..7a664a5a1c 100644
--- a/usr/src/lib/auditd_plugins/binfile/Makefile
+++ b/usr/src/lib/auditd_plugins/binfile/Makefile
@@ -19,10 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -30,8 +29,8 @@ include $(SRC)/lib/Makefile.lib
SUBDIRS = $(MACH)
TEXT_DOMAIN= SUNW_OST_OSCMD
-POFILE= audit_binfile.po
-MSGFILES= `$(GREP) -l gettext *.[ch]`
+POFILE= audit_binfile.po
+MSGFILES= binfile.c
all := TARGET= all
clean := TARGET= clean
@@ -43,13 +42,16 @@ lint := TARGET= lint
all clean clobber install lint: $(SUBDIRS)
-$(POFILE): pofile_MSGFILES
+$(POFILE): $(MSGFILES)
+ $(BUILDPO.msgfiles)
_msg: $(MSGDOMAINPOFILE)
-include $(SRC)/Makefile.msg.targ
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
+
+include $(SRC)/lib/Makefile.targ
+include $(SRC)/Makefile.msg.targ
diff --git a/usr/src/lib/auditd_plugins/syslog/Makefile b/usr/src/lib/auditd_plugins/syslog/Makefile
index 39802d1dfd..eaecad8673 100644
--- a/usr/src/lib/auditd_plugins/syslog/Makefile
+++ b/usr/src/lib/auditd_plugins/syslog/Makefile
@@ -19,10 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
#
include $(SRC)/lib/Makefile.lib
@@ -30,8 +29,8 @@ include $(SRC)/lib/Makefile.lib
SUBDIRS = $(MACH)
TEXT_DOMAIN= SUNW_OST_OSCMD
-POFILE= audit_syslog.po
-MSGFILES= `$(GREP) -l gettext *.[ch]`
+POFILE= audit_syslog.po
+MSGFILES= sysplugin.c
all := TARGET= all
clean := TARGET= clean
@@ -43,13 +42,16 @@ lint := TARGET= lint
all clean clobber install lint: $(SUBDIRS)
-$(POFILE): pofile_MSGFILES
+$(POFILE): $(MSGFILES)
+ $(BUILDPO.msgfiles)
_msg: $(MSGDOMAINPOFILE)
-include $(SRC)/Makefile.msg.targ
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
+
+include $(SRC)/lib/Makefile.targ
+include $(SRC)/Makefile.msg.targ