summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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