xref: /illumos-gate/usr/src/test/os-tests/tests/regression/Makefile (revision f23ed011dd1990f5b6b2d755feeaa7baf5a22caa)
137e2cd25SPatrick Mooney#
237e2cd25SPatrick Mooney# This file and its contents are supplied under the terms of the
337e2cd25SPatrick Mooney# Common Development and Distribution License ("CDDL"), version 1.0.
437e2cd25SPatrick Mooney# You may only use this file in accordance with the terms of version
537e2cd25SPatrick Mooney# 1.0 of the CDDL.
637e2cd25SPatrick Mooney#
737e2cd25SPatrick Mooney# A full copy of the text of the CDDL should have accompanied this
837e2cd25SPatrick Mooney# source.  A copy of the CDDL is also available via the Internet at
937e2cd25SPatrick Mooney# http://www.illumos.org/license/CDDL.
1037e2cd25SPatrick Mooney#
1137e2cd25SPatrick Mooney
1237e2cd25SPatrick Mooney#
1337e2cd25SPatrick Mooney# Copyright 2022 Oxide Computer Company
1437e2cd25SPatrick Mooney#
1537e2cd25SPatrick Mooney
1637e2cd25SPatrick MooneyPROGS = \
17*f23ed011SPatrick Mooney	illumos-15031 \
18*f23ed011SPatrick Mooney	illumos-15036
1937e2cd25SPatrick Mooney
2037e2cd25SPatrick MooneyROOTOPTDIR = $(ROOT)/opt/os-tests/tests
2137e2cd25SPatrick MooneyROOTOPTREGRESSION = $(ROOTOPTDIR)/regression
2237e2cd25SPatrick MooneyROOTOPTPROGS = $(PROGS:%=$(ROOTOPTREGRESSION)/%)
2337e2cd25SPatrick Mooney
2437e2cd25SPatrick Mooneyinclude $(SRC)/cmd/Makefile.cmd
2537e2cd25SPatrick Mooney
2637e2cd25SPatrick MooneyCSTD=$(GNU_C99)
2737e2cd25SPatrick Mooney
2837e2cd25SPatrick Mooney.KEEP_STATE:
2937e2cd25SPatrick Mooney
3037e2cd25SPatrick Mooneyall: $(PROGS)
3137e2cd25SPatrick Mooney
3237e2cd25SPatrick Mooneyinstall: $(ROOTOPTPROGS)
3337e2cd25SPatrick Mooney
3437e2cd25SPatrick Mooneyclean:
3537e2cd25SPatrick Mooney
3637e2cd25SPatrick Mooney$(ROOTOPTPROGS): $(PROGS) $(ROOTOPTREGRESSION)
3737e2cd25SPatrick Mooney
3837e2cd25SPatrick Mooney$(ROOTOPTDIR):
3937e2cd25SPatrick Mooney	$(INS.dir)
4037e2cd25SPatrick Mooney
4137e2cd25SPatrick Mooney$(ROOTOPTREGRESSION): $(ROOTOPTDIR)
4237e2cd25SPatrick Mooney	$(INS.dir)
4337e2cd25SPatrick Mooney
4437e2cd25SPatrick Mooney$(ROOTOPTREGRESSION)/%: %
4537e2cd25SPatrick Mooney	$(INS.file)
4637e2cd25SPatrick Mooney
4737e2cd25SPatrick Mooney%: %.c
4837e2cd25SPatrick Mooney	$(LINK.c) -o $@ $< $(LDLIBS)
4937e2cd25SPatrick Mooney	$(POST_PROCESS)
5037e2cd25SPatrick Mooney
5137e2cd25SPatrick Mooneyclobber:
5237e2cd25SPatrick Mooney	$(RM) $(PROGS)
5337e2cd25SPatrick Mooney
5437e2cd25SPatrick MooneyFRC:
55