1*702941cdSRichard Lowe# 2*702941cdSRichard Lowe# This file and its contents are supplied under the terms of the 3*702941cdSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0. 4*702941cdSRichard Lowe# You may only use this file in accordance with the terms of version 5*702941cdSRichard Lowe# 1.0 of the CDDL. 6*702941cdSRichard Lowe# 7*702941cdSRichard Lowe# A full copy of the text of the CDDL should have accompanied this 8*702941cdSRichard Lowe# source. A copy of the CDDL is also available via the Internet at 9*702941cdSRichard Lowe# http://www.illumos.org/license/CDDL. 10*702941cdSRichard Lowe# 11*702941cdSRichard Lowe 12*702941cdSRichard Lowe# 13*702941cdSRichard Lowe# Copyright 2012, Richard Lowe. 14*702941cdSRichard Lowe# 15*702941cdSRichard Lowe 16*702941cdSRichard Loweinclude $(SRC)/Makefile.master 17*702941cdSRichard Loweinclude $(SRC)/Makefile.master.64 18*702941cdSRichard Lowe 19*702941cdSRichard Lowe.KEEP_STATE: 20*702941cdSRichard Lowe 21*702941cdSRichard LowePROGS = align \ 22*702941cdSRichard Lowe basic \ 23*702941cdSRichard Lowe big-struct-ret \ 24*702941cdSRichard Lowe big-struct-ret-and-spill \ 25*702941cdSRichard Lowe small-struct-ret \ 26*702941cdSRichard Lowe small-struct-ret-and-spill \ 27*702941cdSRichard Lowe stack-spill 28*702941cdSRichard Lowe 29*702941cdSRichard LoweCFLAGS += $(CTF_FLAGS) 30*702941cdSRichard LoweCFLAGS64 += $(CTF_FLAGS) 31*702941cdSRichard Lowe 32*702941cdSRichard Lowe%: %.c 33*702941cdSRichard Lowe $(LINK.c) -o $@ $< -lc 34*702941cdSRichard Lowe $(CTFCONVERT) -L VERSION $@ 35*702941cdSRichard Lowe 36*702941cdSRichard Loweall: $(PROGS) 37*702941cdSRichard Lowe 38*702941cdSRichard Loweinstall: all 39*702941cdSRichard Lowe 40*702941cdSRichard Loweclean: 41*702941cdSRichard Lowe $(RM) $(PROGS) 42*702941cdSRichard Lowe 43*702941cdSRichard Loweclobber: clean 44*702941cdSRichard Lowe 45*702941cdSRichard LoweFRC: 46