Makefile (ab618543) Makefile (6eeafb34)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 14 unchanged lines hidden (view full) ---

23# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# Copyright (c) 2012 by Delphix. All rights reserved.
29# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
30# Copyright 2018 Joyent, Inc.
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 14 unchanged lines hidden (view full) ---

23# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# Copyright (c) 2012 by Delphix. All rights reserved.
29# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
30# Copyright 2018 Joyent, Inc.
31# Copyright 2022 Oxide Computer Company
31#
32
33#
34# WARNING: Do not include Makefile.ctf here. That will cause tests to
35# break.
36#
37
38include $(SRC)/Makefile.master

--- 46 unchanged lines hidden (view full) ---

85json/usdt.o: json/usdt.d json/tst.usdt.o
86 $(COMPILE.d) -o json/usdt.o -s json/usdt.d json/tst.usdt.o
87
88json/tst.usdt.exe: json/tst.usdt.o json/usdt.o
89 $(LINK.c) -o json/tst.usdt.exe json/tst.usdt.o json/usdt.o $(LDLIBS)
90 $(POST_PROCESS) ; $(STRIP_STABS)
91
92#
32#
33
34#
35# WARNING: Do not include Makefile.ctf here. That will cause tests to
36# break.
37#
38
39include $(SRC)/Makefile.master

--- 46 unchanged lines hidden (view full) ---

86json/usdt.o: json/usdt.d json/tst.usdt.o
87 $(COMPILE.d) -o json/usdt.o -s json/usdt.d json/tst.usdt.o
88
89json/tst.usdt.exe: json/tst.usdt.o json/usdt.o
90 $(LINK.c) -o json/tst.usdt.exe json/tst.usdt.o json/usdt.o $(LDLIBS)
91 $(POST_PROCESS) ; $(STRIP_STABS)
92
93#
93# Tests that use the next three programs rely on the binaries having
94# Tests that use the next four programs rely on the binaries having
94# valid CTF data.
95#
95# valid CTF data.
96#
97bitfields/tst.bitfields.exe: bitfields/tst.bitfields.c
98 $(COMPILE.c) $(CTF_FLAGS) -o bitfields/tst.bitfields.o bitfields/tst.bitfields.c
99 $(CTFCONVERT) -i -L VERSION bitfields/tst.bitfields.o
100 $(LINK.c) -o bitfields/tst.bitfields.exe bitfields/tst.bitfields.o $(LDLIBS)
101 $(CTFMERGE) -L VERSION -o $@ bitfields/tst.bitfields.o
102 $(POST_PROCESS) ; $(STRIP_STABS)
103
96uctf/tst.aouttype.exe: uctf/tst.aouttype.c
97 $(COMPILE.c) $(CTF_FLAGS) -o uctf/tst.aouttype.o uctf/tst.aouttype.c
98 $(CTFCONVERT) -i -L VERSION uctf/tst.aouttype.o
99 $(LINK.c) -o uctf/tst.aouttype.exe uctf/tst.aouttype.o $(LDLIBS)
100 $(CTFMERGE) -L VERSION -o $@ uctf/tst.aouttype.o
101 $(POST_PROCESS) ; $(STRIP_STABS)
102
103uctf/tst.chasestrings.exe: uctf/tst.chasestrings.c

--- 64 unchanged lines hidden ---
104uctf/tst.aouttype.exe: uctf/tst.aouttype.c
105 $(COMPILE.c) $(CTF_FLAGS) -o uctf/tst.aouttype.o uctf/tst.aouttype.c
106 $(CTFCONVERT) -i -L VERSION uctf/tst.aouttype.o
107 $(LINK.c) -o uctf/tst.aouttype.exe uctf/tst.aouttype.o $(LDLIBS)
108 $(CTFMERGE) -L VERSION -o $@ uctf/tst.aouttype.o
109 $(POST_PROCESS) ; $(STRIP_STABS)
110
111uctf/tst.chasestrings.exe: uctf/tst.chasestrings.c

--- 64 unchanged lines hidden ---