1*880d7978SAlexander Pyhalov# 2*880d7978SAlexander Pyhalov# CDDL HEADER START 3*880d7978SAlexander Pyhalov# 4*880d7978SAlexander Pyhalov# The contents of this file are subject to the terms of the 5*880d7978SAlexander Pyhalov# Common Development and Distribution License (the "License"). 6*880d7978SAlexander Pyhalov# You may not use this file except in compliance with the License. 7*880d7978SAlexander Pyhalov# 8*880d7978SAlexander Pyhalov# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 9*880d7978SAlexander Pyhalov# or http://www.opensolaris.org/os/licensing. 10*880d7978SAlexander Pyhalov# See the License for the specific language governing permissions 11*880d7978SAlexander Pyhalov# and limitations under the License. 12*880d7978SAlexander Pyhalov# 13*880d7978SAlexander Pyhalov# When distributing Covered Code, include this CDDL HEADER in each 14*880d7978SAlexander Pyhalov# file and include the License file at src/OPENSOLARIS.LICENSE. 15*880d7978SAlexander Pyhalov# If applicable, add the following below this CDDL HEADER, with the 16*880d7978SAlexander Pyhalov# fields enclosed by brackets "[]" replaced with your own identifying 17*880d7978SAlexander Pyhalov# information: Portions Copyright [yyyy] [name of copyright owner] 18*880d7978SAlexander Pyhalov# 19*880d7978SAlexander Pyhalov# CDDL HEADER END 20*880d7978SAlexander Pyhalov# 21*880d7978SAlexander Pyhalov# 22*880d7978SAlexander Pyhalov# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*880d7978SAlexander Pyhalov# Use is subject to license terms. 24*880d7978SAlexander Pyhalov# 25*880d7978SAlexander Pyhalov 26*880d7978SAlexander Pyhalovinclude $(SRC)/Makefile.master 27*880d7978SAlexander Pyhalovinclude $(SRC)/lib/iconv_modules/Makefile.iconv 28*880d7978SAlexander Pyhalov 29*880d7978SAlexander PyhalovCFLAGS = -Xa -fPIC -G -xO3 -I. $(XREGSFLAG) -D_REENTRANT 30*880d7978SAlexander Pyhalov 31*880d7978SAlexander PyhalovSRCS = 646%8859.c 646da%8859.c 646de%8859.c 646en%8859.c 646es%8859.c 646fr%8859.c 646it%8859.c 646sv%8859.c \ 32*880d7978SAlexander Pyhalov8859%646.c 8859%646da.c 8859%646de.c 8859%646en.c 8859%646es.c 8859%646fr.c 8859%646it.c 8859%646sv.c 8859-1%IBM-037.c \ 33*880d7978SAlexander Pyhalov8859-1%IBM-500.c 8859-1%IBM-850.c IBM-037%8859-1.c IBM-500%8859-1.c IBM-850%8859-1.c alt%iso.c alt%iso5.c alt%koi.c \ 34*880d7978SAlexander Pyhalovalt%koi8.c alt%mac.c alt%win.c alt%win5.c dhn%dos2.c dhn%ib2.c dhn%is2.c dhn%iso2.c dhn%maz.c dhn%wi2.c dhn%win2.c \ 35*880d7978SAlexander Pyhalovdos2%dhn.c dos2%iso2.c dos2%maz.c dos2%win2.c ib2%dhn.c ib2%is2.c ib2%maz.c ib2%wi2.c is2%dhn.c is2%ib2.c is2%maz.c \ 36*880d7978SAlexander Pyhalovis2%wi2.c iso%alt.c iso%koi.c iso%mac.c iso%win.c iso2%dhn.c iso2%dos2.c iso2%maz.c iso2%win2.c iso5%alt.c iso5%koi8.c \ 37*880d7978SAlexander Pyhaloviso5%mac.c iso5%win5.c koi%alt.c koi%iso.c koi%mac.c koi%win.c koi8%alt.c koi8%iso5.c koi8%mac.c koi8%win5.c mac%alt.c \ 38*880d7978SAlexander Pyhalovmac%iso.c mac%iso5.c mac%koi.c mac%koi8.c mac%win.c mac%win5.c maz%dhn.c maz%dos2.c maz%ib2.c maz%is2.c maz%iso2.c \ 39*880d7978SAlexander Pyhalovmaz%wi2.c maz%win2.c orig%646de%8859.c table.8859-1.IBM-500.c table.IBM-500.8859-1.c table.alt.iso.c table.alt.koi.c \ 40*880d7978SAlexander Pyhalovtable.alt.mac.c table.alt.win.c table.dhn.ib2.c table.dhn.is2.c table.dhn.maz.c table.dhn.wi2.c table.ib2.dhn.c table.ib2.is2.c \ 41*880d7978SAlexander Pyhalovtable.ib2.maz.c table.ib2.wi2.c table.is2.dhn.c table.is2.ib2.c table.is2.maz.c table.is2.wi2.c table.iso.alt.c table.iso.koi.c \ 42*880d7978SAlexander Pyhalovtable.iso.mac.c table.iso.win.c table.koi.alt.c table.koi.iso.c table.koi.mac.c table.koi.win.c table.mac.alt.c table.mac.iso.c \ 43*880d7978SAlexander Pyhalovtable.mac.koi.c table.mac.win.c table.maz.dhn.c table.maz.ib2.c table.maz.is2.c table.maz.wi2.c table.wi2.dhn.c table.wi2.ib2.c \ 44*880d7978SAlexander Pyhalovtable.wi2.is2.c table.wi2.maz.c table.win.alt.c table.win.iso.c table.win.koi.c table.win.mac.c wi2%dhn.c wi2%ib2.c wi2%is2.c \ 45*880d7978SAlexander Pyhalovwi2%maz.c win%alt.c win%iso.c win%koi.c win%mac.c win2%dhn.c win2%dos2.c win2%iso2.c win2%maz.c win5%alt.c win5%iso5.c win5%koi8.c \ 46*880d7978SAlexander Pyhalovwin5%mac.c 47*880d7978SAlexander Pyhalov 48*880d7978SAlexander PyhalovBINTABLES = 8859-16%8859-2.bt 8859-16%ibm850.bt 8859-16%ibm870.bt 8859-2%8859-16.bt ibm850%8859-16.bt ibm870%8859-16.bt 49*880d7978SAlexander Pyhalov 50*880d7978SAlexander PyhalovBINTABLES_DIR = $(ROOT)/usr/lib/iconv/geniconvtbl/binarytables 51*880d7978SAlexander Pyhalov 52*880d7978SAlexander PyhalovROOT_BINTABLES = $(BINTABLES:%=$(BINTABLES_DIR)/%) 53*880d7978SAlexander Pyhalov 54*880d7978SAlexander Pyhalovall: $(PROGS) 55*880d7978SAlexander Pyhalov 56*880d7978SAlexander Pyhalovinstall: $(BINTABLES) $(ICONV_DIR) all $(ICONV_LIBS) 57*880d7978SAlexander Pyhalov 58*880d7978SAlexander Pyhalov$(BINTABLES_DIR): 59*880d7978SAlexander Pyhalov $(INS.dir) 60*880d7978SAlexander Pyhalov 61*880d7978SAlexander Pyhalov$(ROOT_BINTABLES): $(BINTABLES) 62*880d7978SAlexander Pyhalov $(INS.file) 63*880d7978SAlexander Pyhalov 64*880d7978SAlexander PyhalovFRC: 65