xref: /titanic_41/usr/src/lib/libsaveargs/tests/testmatch/Makefile (revision 702941cd97e30d600c2c1275823bc58231b2c361)
1*702941cdSRichard Lowe
2*702941cdSRichard Lowe#
3*702941cdSRichard Lowe# This file and its contents are supplied under the terms of the
4*702941cdSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
5*702941cdSRichard Lowe# You may only use this file in accordance with the terms of version
6*702941cdSRichard Lowe# 1.0 of the CDDL.
7*702941cdSRichard Lowe#
8*702941cdSRichard Lowe# A full copy of the text of the CDDL should have accompanied this
9*702941cdSRichard Lowe# source.  A copy of the CDDL is also available via the Internet at
10*702941cdSRichard Lowe# http://www.illumos.org/license/CDDL.
11*702941cdSRichard Lowe#
12*702941cdSRichard Lowe
13*702941cdSRichard Lowe#
14*702941cdSRichard Lowe# Copyright 2012, Richard Lowe.
15*702941cdSRichard Lowe#
16*702941cdSRichard Lowe
17*702941cdSRichard Loweinclude $(SRC)/Makefile.master
18*702941cdSRichard Loweinclude $(SRC)/Makefile.master.64
19*702941cdSRichard Lowe
20*702941cdSRichard Lowe.KEEP_STATE:
21*702941cdSRichard Lowe
22*702941cdSRichard LoweOBJECTS = testmatch.o data.o
23*702941cdSRichard LowePROG = testmatch
24*702941cdSRichard Lowe
25*702941cdSRichard LoweLDLIBS64 += -lsaveargs
26*702941cdSRichard Lowe
27*702941cdSRichard LoweASFLAGS += -P
28*702941cdSRichard LoweAS_CPPFLAGS += -D_ASM
29*702941cdSRichard Lowe
30*702941cdSRichard Lowe$(PROG): $(OBJECTS)
31*702941cdSRichard Lowe	$(LINK.c) -o $@ $(OBJECTS) $(LDLIBS64)
32*702941cdSRichard Lowe
33*702941cdSRichard Loweclean:
34*702941cdSRichard Lowe	$(RM) $(OBJECTS) $(PROG)
35*702941cdSRichard Lowe
36*702941cdSRichard Loweclobber: clean
37*702941cdSRichard Lowe
38*702941cdSRichard Loweall: $(PROG)
39*702941cdSRichard Lowe
40*702941cdSRichard Loweinstall: all
41