Makefile.common revision 6da5aa940d1e163c6f244b5523c22d545bfb954b
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy is of the CDDL is also available via the Internet
#
#
# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
#
include $(SRC)/cmd/Makefile.cmd
LOCALES= \
MACHLOCALES=$(LOCALES:%=$(MACH)/%)
ROOTLOCALE=$(ROOT)/usr/lib/locale
ROOTLOCDIRS=\
$(ROOT)/usr .WAIT \
$(ROOT)/usr/lib .WAIT \
$(ROOT)/usr/lib/locale .WAIT \
$(LOCALES:%=$(ROOTLOCALE)/%) .WAIT \
$(LOCALES:%=$(ROOTLOCALE)/%/$(CATEGORY))
ROOTLOCDATA=\
$(LOCALES:%=$(ROOTLOCALE)/%/$(CATEGORY)/LCL_DATA)
$(ROOTLOCDATA) := FILEMODE=0444
HASHSTRIP = $(GREP) -v '^$(POUND_SIGN)'
INS.nohash = $(RM) $@; $(GREP) -v '^$(POUND_SIGN)' $< > $@