Makefile revision 67b886e08e73a289a63ea9a98920f9ff423d1881
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# This file and its contents are supplied under the terms of the
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Common Development and Distribution License ("CDDL"), version 1.0.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# You may only use this file in accordance with the terms of version
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# 1.0 of the CDDL.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# A full copy of the text of the CDDL should have accompanied this
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# source. A copy of the CDDL is also available via the Internet at
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Copyright 2011 EveryCity Ltd. All rights reserved.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Copyright 2013 DEY Storage Systems, Inc.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Copyright 2015 Joyent, Inc.
a180a41bba1d50822df23fff0099e90b86638b89vboxsyncOBJS = charmap.o collate.o ctype.o messages.o monetary.o numeric.o time.o \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Unfortunately, we have a chicken and an egg problem. libavl is becoming
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# public, which means that all of its symbols are in a version that the build
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# machine doesn't have and traditionally there has been no libavl compilation
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# symlink. Therefore, because we know that we only support building on illumos,
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# we regrettably have to link explicitly against the full library path. Sorry.
a180a41bba1d50822df23fff0099e90b86638b89vboxsyncCLEANFILES = $(NOBJS) $(OBJS) parser.tab.c parser.tab.h
a180a41bba1d50822df23fff0099e90b86638b89vboxsync es_AR es_BO es_CL es_CO es_EC es_GT es_MX es_NI es_PA \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# All new locales should be in UTF-8 form.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ar_AE ar_BH ar_DZ ar_EG ar_IQ ar_JO ar_KW ar_LB ar_LY ar_MA \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync en_AU en_BW en_BZ en_CA en_GB en_HK en_IE en_IN en_JM en_MH \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync en_MT en_NA en_NZ en_PH en_PK en_SG en_TT en_US en_ZA en_ZW \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync es_AR es_BO es_CL es_CO es_CR es_DO es_EC es_ES es_GQ es_GT \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync fr_BE fr_CA fr_CF fr_CH fr_FR fr_GN fr_LU fr_MC fr_MG fr_ML \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync $(NATIVECC) $(NATIVE_CFLAGS) $(NATIVE_CPPFLAGS) -o $@ -c $<
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Strip LC_CTYPE contents for UTF-8 locales and replace them
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# with UTF-8.ct we compiled
a180a41bba1d50822df23fff0099e90b86638b89vboxsync $(SED) '/^LC_CTYPE/,/^END LC_CTYPE/d;$$r UTF-8.ct' $< | \
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-1/stamp: data/%.UTF-8.src 8859-1.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-1.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-2/stamp: data/%.UTF-8.src 8859-2.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-2.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-5/stamp: data/%.UTF-8.src 8859-5.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-5.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-7/stamp: data/%.UTF-8.src 8859-7.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-7.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-6/stamp: data/%.UTF-8.src 8859-6.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-6.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-9/stamp: data/%.UTF-8.src 8859-9.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-9.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-11/stamp: data/%.UTF-8.src 8859-11.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-11.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-13/stamp: data/%.UTF-8.src 8859-13.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-13.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.ISO8859-15/stamp: data/%.UTF-8.src 8859-15.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-15.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.KOI8-R/stamp: data/%.UTF-8.src KOI8-R.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f KOI8-R.cm $(@D)
a180a41bba1d50822df23fff0099e90b86638b89vboxsynclocale/%.GB18030/stamp: data/%.UTF-8.src GB18030.cm locale $(NPROG)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f GB18030.cm $(@D)