xref: /illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/Makefile (revision 1c3ca989438eb557ef3330f5677c699b85944e44)
1c9f77c52SAndy Stormont#
2c9f77c52SAndy Stormont# This file and its contents are supplied under the terms of the
3c9f77c52SAndy Stormont# Common Development and Distribution License ("CDDL"), version 1.0.
4c9f77c52SAndy Stormont# You may only use this file in accordance with the terms of version
5c9f77c52SAndy Stormont# 1.0 of the CDDL.
6c9f77c52SAndy Stormont#
7c9f77c52SAndy Stormont# A full copy of the text of the CDDL should have accompanied this
8c9f77c52SAndy Stormont# source.  A copy of the CDDL is also available via the Internet at
9c9f77c52SAndy Stormont# http://www.illumos.org/license/CDDL.
10c9f77c52SAndy Stormont#
11*1c3ca989SGary Mills# Copyright 2014 Gary Mills
12c9f77c52SAndy Stormont#
13c9f77c52SAndy Stormont# Copyright (c) 2014 Racktop Systems.
14c9f77c52SAndy Stormont#
15c9f77c52SAndy Stormont
16c9f77c52SAndy StormontMODULE = Kstat
17c9f77c52SAndy Stormont
18c9f77c52SAndy Stormontinclude $(SRC)/cmd/perl/Makefile.perl
19c9f77c52SAndy Stormont
20c9f77c52SAndy StormontLDLIBS += -lkstat
21c9f77c52SAndy Stormont
22c9f77c52SAndy StormontCERRWARN += -_gcc=-Wno-unused-value
23c9f77c52SAndy StormontCERRWARN += -_gcc=-Wno-unused-variable
24c9f77c52SAndy Stormont
25*1c3ca989SGary Mills# Additional include directories only needed for the SPARC platform
26*1c3ca989SGary Mills
27*1c3ca989SGary Mills$(SPARC_BLD) CPPFLAGS += -I$(ROOT)/usr/platform/sun4u/include \
28*1c3ca989SGary Mills			 -I$(ROOT)/usr/platform/sun4v/include
29*1c3ca989SGary Mills
30c9f77c52SAndy StormontMAPFILES = mapfile-vers
31c9f77c52SAndy Stormont
32c9f77c52SAndy Stormontinclude $(SRC)/cmd/perl/Makefile.targ
33c9f77c52SAndy Stormont
34c7893124SRichard Lowe.KEEP_STATE:
35c7893124SRichard Lowe
36c9f77c52SAndy Stormontall: $(PERLEXT) $(PERLMOD)
37c9f77c52SAndy Stormont
38c9f77c52SAndy Stormontinstall: $(ROOTPERLEXT) $(ROOTPERLMOD)
39c9f77c52SAndy Stormont
40c9f77c52SAndy Stormontclean clobber:
41c9f77c52SAndy Stormont	$(RM) -r $(MACH)
42