Makefile revision 6da5aa940d1e163c6f244b5523c22d545bfb954b
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# This file and its contents are supplied under the terms of the
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# Common Development and Distribution License ("CDDL)". You may
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# only use this file in accordance with the terms of the CDDL.
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# A full copy of the text of the CDDL should have accompanied this
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# source. A copy is of the CDDL is also available via the Internet
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# Copyright 2010 Nexenta Systems, Inc. All rights reserved.
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrymCPPFLAGS += -I$(SRC)/lib/libc/port/locale -D_FILE_OFFSET_BITS=64
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrymOBJS = $(MACH)/mkctype_lex.o $(MACH)/mkctype_yacc.tab.o
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrymCLEANFILES = mkctype_yacc.tab.c mkctype_yacc.tab.h mkctype_lex.c
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrymmkctype_lex.c: mkctype_lex.l mkctype_yacc.tab.h $(HDRS)
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrymmkctype_yacc.tab.c mkctype_yacc.tab.h: mkctype_yacc.y $(HDRS)
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# Lint does nothing for us, because yacc and lex outputs are themselves
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# not lint clean. This is something that it would be good to address.
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# Likewise, the yacc and lex outputs are not cstyle clean.
2449e17f82f6097fd2c665b64723e31ceecbeca6sherrym# Rules for building encoding data files.