xref: /titanic_50/usr/src/lib/libsaveargs/tests/dump/Makefile (revision 702941cd97e30d600c2c1275823bc58231b2c361)
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 LoweOBJECTS = dump.o
22*702941cdSRichard LowePROG = dump
23*702941cdSRichard Lowe
24*702941cdSRichard LoweCFLAGS += -m64
25*702941cdSRichard Lowe
26*702941cdSRichard LoweLDLIBS64 += -lctf -lelf -lsaveargs
27*702941cdSRichard Lowe
28*702941cdSRichard LoweC99MODE = $(C99_ENABLE)
29*702941cdSRichard Lowe
30*702941cdSRichard Lowe$(PROG): $(OBJECTS)
31*702941cdSRichard Lowe	$(LINK.c) -o $@ $(OBJECTS) $(LDLIBS64)
32*702941cdSRichard Loweclean:
33*702941cdSRichard Lowe	$(RM) $(OBJECTS) $(PROG)
34*702941cdSRichard Lowe
35*702941cdSRichard Loweclobber: clean
36*702941cdSRichard Lowe
37*702941cdSRichard Loweall: $(PROG)
38*702941cdSRichard Lowe
39*702941cdSRichard Loweinstall: all
40