1*702941cdSRichard Lowe
22d4be7aaSRichard Lowe#
32d4be7aaSRichard Lowe# This file and its contents are supplied under the terms of the
42d4be7aaSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
52d4be7aaSRichard Lowe# You may only use this file in accordance with the terms of version
62d4be7aaSRichard Lowe# 1.0 of the CDDL.
72d4be7aaSRichard Lowe#
82d4be7aaSRichard Lowe# A full copy of the text of the CDDL should have accompanied this
92d4be7aaSRichard Lowe# source.  A copy of the CDDL is also available via the Internet at
102d4be7aaSRichard Lowe# http://www.illumos.org/license/CDDL.
112d4be7aaSRichard Lowe#
122d4be7aaSRichard Lowe
132d4be7aaSRichard Lowe#
142d4be7aaSRichard Lowe# Copyright 2012, Richard Lowe.
152d4be7aaSRichard Lowe#
162d4be7aaSRichard Lowe
172d4be7aaSRichard Loweinclude $(SRC)/Makefile.master
182d4be7aaSRichard Loweinclude $(SRC)/Makefile.master.64
192d4be7aaSRichard Lowe
202d4be7aaSRichard Lowe.KEEP_STATE:
212d4be7aaSRichard Lowe
22*702941cdSRichard LoweOBJECTS = testmatch.o data.o
232d4be7aaSRichard LowePROG = testmatch
242d4be7aaSRichard Lowe
25*702941cdSRichard LoweLDLIBS64 += -lsaveargs
26*702941cdSRichard Lowe
272d4be7aaSRichard LoweAS_CPPFLAGS += -D_ASM
282d4be7aaSRichard Lowe
292d4be7aaSRichard Lowe$(PROG): $(OBJECTS)
30*702941cdSRichard Lowe	$(LINK.c) -o $@ $(OBJECTS) $(LDLIBS64)
312d4be7aaSRichard Lowe
322d4be7aaSRichard Loweclean:
332d4be7aaSRichard Lowe	$(RM) $(OBJECTS) $(PROG)
342d4be7aaSRichard Lowe
352d4be7aaSRichard Loweclobber: clean
362d4be7aaSRichard Lowe
372d4be7aaSRichard Loweall: $(PROG)
382d4be7aaSRichard Lowe
392d4be7aaSRichard Loweinstall: all
40