Makefile revision 2d08521bd15501c8370ba2153b9cca4f094979d0
667N/A#
667N/A# This file and its contents are supplied under the terms of the
667N/A# Common Development and Distribution License ("CDDL"), version 1.0.
667N/A# You may only use this file in accordance with the terms of version
667N/A# 1.0 of the CDDL.
667N/A#
667N/A# A full copy of the text of the CDDL should have accompanied this
667N/A# source. A copy of the CDDL is also available via the Internet at
667N/A# http://www.illumos.org/license/CDDL.
667N/A#
667N/A
667N/A#
667N/A# Copyright (c) 2012 by Delphix. All rights reserved.
667N/A# Copyright 2014 Garrett D'Amore <garrett@damore.org>
667N/A#
667N/A
667N/Ainclude $(SRC)/cmd/Makefile.cmd
667N/Ainclude $(SRC)/test/Makefile.com
667N/A
667N/APROG = newlocale_test
3639N/AOBJS = $(PROG:%=%.o)
667N/ASRCS = $(OBJS:%.o=%.c)
667N/A
667N/AC99MODE = -xc99=%all
667N/A
4061N/AROOTOPTPKG = $(ROOT)/opt/libc-tests
667N/ATESTDIR = $(ROOTOPTPKG)/tests
667N/A
667N/ACMDS = $(PROG:%=$(TESTDIR)/%)
844N/A$(CMDS) := FILEMODE = 0555
4061N/A
667N/Aall: $(PROG)
1258N/A
667N/A$(PROG): $(OBJS)
4061N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
2899N/A $(POST_PROCESS)
3817N/A
3817N/A%.o: ../%.c
3817N/A $(COMPILE.c) $<
667N/A
4061N/Ainstall: all $(CMDS)
4061N/A
667N/Alint: lint_SRCS
3639N/A
3639N/Aclobber: clean
3639N/A -$(RM) $(PROG)
3639N/A
3639N/Aclean:
3639N/A -$(RM) $(OBJS)
3639N/A
3639N/A$(CMDS): $(TESTDIR) $(PROG)
3639N/A
3854N/A$(TESTDIR):
3854N/A $(INS.dir)
3854N/A
3854N/A$(TESTDIR)/%: %
3639N/A $(INS.file)
4760N/A