Unleashed v1.4
[unleashed.git] / usr / src / test / libc-tests / tests / threads / Makefile
blob46adb5b7e7f9eb4ada3d0fe1d8160e9ee0ad6c5e
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Joyent, Inc.
16 include $(SRC)/Makefile.master
18 ROOTOPTPKG = $(ROOT)/opt/libc-tests
19 TESTDIR = $(ROOTOPTPKG)/tests
21 PROGS = pthread_attr_get_np
23 include $(SRC)/cmd/Makefile.cmd
24 include $(SRC)/test/Makefile.com
27 CMDS = $(PROGS:%=$(TESTDIR)/%)
28 $(CMDS) := FILEMODE = 0555
30 all: $(PROGS)
32 install: all $(CMDS)
34 clobber: clean
35 -$(RM) $(PROGS)
37 clean:
38 -$(RM) *.o
40 $(CMDS): $(TESTDIR) $(PROGS)
42 $(TESTDIR):
43 $(INS.dir)
45 $(TESTDIR)/%: %
46 $(INS.file)
48 $(TESTDIR)/%: %
49 $(INS.file)