8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / test / libc-tests / tests / select / Makefile
blobd7d6fa7641fa9700435a1da9d2e11d781e2d6180
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.
12 # Copyright 2016, Richard Lowe.
14 include $(SRC)/Makefile.master
15 include $(SRC)/Makefile.master.64
16 include $(SRC)/cmd/Makefile.cmd
17 include $(SRC)/cmd/Makefile.cmd.64
19 ROOTOPTPKG = $(ROOT)/opt/libc-tests
20 TESTDIR = $(ROOTOPTPKG)/tests/select
21 ROOTBINDIR = $(ROOTOPTPKG)/bin
23 PROGS= select_test
25 C99MODE= $(C99_ENABLE)
27 select_test: select_test.c
28 $(LINK64.c) -o $@ select_test.c $(LDLIBS64)
29 $(POST_PROCESS)
31 SCRIPTS=select.sh
32 CMDS = $(PROGS:%=$(TESTDIR)/%) $(SCRIPTS:%=$(TESTDIR)/%)
34 $(SCRIPTS) $(CMDS) := FILEMODE = 0555
36 $(CMDS): $(TESTDIR) $(PROGS)
38 all: $(PROGS)
40 clean:
42 clobber: clean
43 -$(RM) $(PROGS)
45 install: all $(CMDS)
47 lint:
49 $(ROOTBINDIR):
50 $(INS.dir)
52 $(ROOTBINDIR)/%: %
53 $(INS.file)
55 $(TESTDIR):
56 $(INS.dir)
58 $(TESTDIR)/%: %
59 $(INS.file)
61 $(TESTDIR)/%: %
62 $(INS.file)
64 .KEEP_STATE: