1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25 26include $(SRC)/Makefile.master 27include $(SRC)/lib/iconv_modules/Makefile.iconv 28 29CFLAGS = -Xa -fPIC -G -xO3 -I. $(XREGSFLAG) -D_REENTRANT 30 31SRCS = 646%8859.c 646da%8859.c 646de%8859.c 646en%8859.c 646es%8859.c 646fr%8859.c 646it%8859.c 646sv%8859.c \ 328859%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 \ 338859-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 \ 34alt%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 \ 35dos2%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 \ 36is2%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 \ 37iso5%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 \ 38mac%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 \ 39maz%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 \ 40table.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 \ 41table.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 \ 42table.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 \ 43table.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 \ 44table.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 \ 45wi2%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 \ 46win5%mac.c 47 48BINTABLES = 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 50BINTABLES_DIR = $(ROOT)/usr/lib/iconv/geniconvtbl/binarytables 51 52ROOT_BINTABLES = $(BINTABLES:%=$(BINTABLES_DIR)/%) 53 54all: $(PROGS) 55 56install: $(BINTABLES) $(ICONV_DIR) all $(ICONV_LIBS) 57 58$(BINTABLES_DIR): 59 $(INS.dir) 60 61$(ROOT_BINTABLES): $(BINTABLES) 62 $(INS.file) 63 64FRC: 65