xref: /illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/Makefile (revision 985366be3b9cf10a0fd786cf0d9c1a6558c2b596)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11#
12# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
13# Copyright 2016 RackTop Systems.
14#
15
16MODULE = Project
17
18include $(SRC)/cmd/perl/Makefile.perl
19
20LDLIBS += -lproject -lgen
21
22CERRWARN += -_gcc=-Wno-unused-variable
23
24XSUBPPFLAGS = -typemap typemap
25
26MAPFILES = mapfile-vers
27
28include $(SRC)/cmd/perl/Makefile.targ
29
30.KEEP_STATE:
31
32$(BUILDPERL32)all: $(PERLEXT) $(PERLMOD)
33$(BUILDPERL64)all: $(PERLEXT64) $(PERLMOD)
34
35$(BUILDPERL32)install: $(ROOTPERLEXT) $(ROOTPERLMOD)
36$(BUILDPERL64)install: $(ROOTPERLEXT64) $(ROOTPERLMOD64)
37
38clean clobber:
39	$(RM) -r $(MACH) $(MACH64)
40