1*4db555a5SRichard Lowe# 2*4db555a5SRichard Lowe# This file and its contents are supplied under the terms of the 3*4db555a5SRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0. 4*4db555a5SRichard Lowe# You may only use this file in accordance with the terms of version 5*4db555a5SRichard Lowe# 1.0 of the CDDL. 6*4db555a5SRichard Lowe# 7*4db555a5SRichard Lowe# A full copy of the text of the CDDL should have accompanied this 8*4db555a5SRichard Lowe# source. A copy of the CDDL is also available via the Internet at 9*4db555a5SRichard Lowe# http://www.illumos.org/license/CDDL. 10*4db555a5SRichard Lowe# 11*4db555a5SRichard Lowe 12*4db555a5SRichard Lowe# Copyright 2018, Richard Lowe. 13*4db555a5SRichard Lowe 14*4db555a5SRichard Loweinclude $(SRC)/cmd/Makefile.cmd 15*4db555a5SRichard Loweinclude $(SRC)/test/Makefile.com 16*4db555a5SRichard Lowe 17*4db555a5SRichard LowePROG = amd64-ie-test 18*4db555a5SRichard Lowe 19*4db555a5SRichard LoweDATAFILES = \ 20*4db555a5SRichard Lowe Makefile.test \ 21*4db555a5SRichard Lowe style1-func-with-r12.s \ 22*4db555a5SRichard Lowe style1-func-with-r13.s \ 23*4db555a5SRichard Lowe style1-func.s \ 24*4db555a5SRichard Lowe style1-main.s \ 25*4db555a5SRichard Lowe style2-with-badness.s \ 26*4db555a5SRichard Lowe style2-with-r12.s \ 27*4db555a5SRichard Lowe style2-with-r13.s \ 28*4db555a5SRichard Lowe style2.s 29*4db555a5SRichard Lowe 30*4db555a5SRichard LoweROOTOPTPKG = $(ROOT)/opt/elf-tests 31*4db555a5SRichard LoweTESTDIR = $(ROOTOPTPKG)/tests/tls/amd64/ie 32*4db555a5SRichard Lowe 33*4db555a5SRichard LoweCMDS = $(PROG:%=$(TESTDIR)/%) 34*4db555a5SRichard Lowe$(CMDS) := FILEMODE = 0555 35*4db555a5SRichard Lowe 36*4db555a5SRichard Lowe 37*4db555a5SRichard LoweDATA = $(DATAFILES:%=$(TESTDIR)/%) 38*4db555a5SRichard Lowe$(DATA) := FILEMODE = 0444 39*4db555a5SRichard Lowe 40*4db555a5SRichard Loweall: $(PROG) 41*4db555a5SRichard Lowe 42*4db555a5SRichard Loweinstall: all $(CMDS) $(DATA) 43*4db555a5SRichard Lowe 44*4db555a5SRichard Lowelint: 45*4db555a5SRichard Lowe 46*4db555a5SRichard Loweclobber: clean 47*4db555a5SRichard Lowe -$(RM) $(PROG) 48*4db555a5SRichard Lowe 49*4db555a5SRichard Loweclean: 50*4db555a5SRichard Lowe -$(RM) $(CLEANFILES) 51*4db555a5SRichard Lowe 52*4db555a5SRichard Lowe$(CMDS): $(TESTDIR) $(PROG) 53*4db555a5SRichard Lowe 54*4db555a5SRichard Lowe$(TESTDIR): 55*4db555a5SRichard Lowe $(INS.dir) 56*4db555a5SRichard Lowe 57*4db555a5SRichard Lowe$(TESTDIR)/%: % 58*4db555a5SRichard Lowe $(INS.file) 59