Makefile revision 6da5aa940d1e163c6f244b5523c22d545bfb954b
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# This file and its contents are supplied under the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License ("CDDL)". You may
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# only use this file in accordance with the terms of the CDDL.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# A full copy of the text of the CDDL should have accompanied this
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# source. A copy is of the CDDL is also available via the Internet
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCPPFLAGS += -I$(SRC)/lib/libc/port/locale -D_FILE_OFFSET_BITS=64
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteOBJS = $(MACH)/mkcollate_lex.o $(MACH)/mkcollate_yacc.tab.o
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLEANFILES = mkcollate_yacc.tab.c mkcollate_yacc.tab.h mkcollate_lex.c
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteen_LOCALES = $(en_ASCII) $(en_LATIN1) $(en_LATIN15) $(en_UTF8)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortemkcollate_lex.c: mkcollate_lex.l mkcollate_yacc.tab.h $(HDRS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortemkcollate_yacc.tab.c mkcollate_yacc.tab.h: mkcollate_yacc.y $(HDRS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Lint does nothing for us, because yacc and lex outputs are themselves
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# not lint clean. This is something that it would be good to address.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Likewise, the yacc and lex outputs are not cstyle clean.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Rules for building encoding data files.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(MACH)/$(PROG) -o $@ -I data $(@:$(MACH)/%=data/%.src)