Print this page
6864993 HA-xVM validate messages need to be wrapped by gettext

@@ -33,30 +33,31 @@
 SUBDIRS = $($(MACH)_SUBDIRS)
 
 include $(SRC)/Makefile.subdirs
 
 # list common shell scripts for $(PKGNAME)/bin
-KSH_BIN_SRCS =  control_xvm.ksh \
+KSH_SRCS =      control_xvm.ksh \
                 functions.ksh \
                 validate_xvm.ksh \
                 init_xvm.ksh \
                 ldm_migrate.ksh \
                 ppkssh.ksh
 
-PROG = $(KSH_BIN_SRCS:%.ksh=%)
+PROG = $(KSH_SRCS:%.ksh=%)
 
 include $(SRC)/cmd/Makefile.cmd
 
 # Packaging
 PKGNAME = SUNWscxvm
 RTRFILE = SUNW.xvm SUNW.ldom    
 
-# Disable I18N stuff, the po filename needs to be unique to support parallel
-# builds of the agents below gds-agents
-POFILE= $(PKGNAME).po
-PIFILES=
+TEXT_DOMAIN = SUNW_SC_XVM 
 
+MESSAGE_DIR = /opt/$(PKGNAME)/lib/locale
+POFILE = xvm.po
+PIFILES = $(KSH_SRCS:%.ksh=%.pi)
+
 # Disable lint
 LINTFILES=
 
 .KEEP_STATE: