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# 11c9f77c52SAndy Stormont# 12*0ae9a84fSAndrew Stormont# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved. 13*0ae9a84fSAndrew Stormont# Copyright 2016 RackTop Systems. 14c9f77c52SAndy Stormont# 15c9f77c52SAndy Stormont 16c9f77c52SAndy StormontMODULE = Project 17c9f77c52SAndy Stormont 18c9f77c52SAndy Stormontinclude $(SRC)/cmd/perl/Makefile.perl 19c9f77c52SAndy Stormont 20c9f77c52SAndy StormontLDLIBS += -lproject -lgen 21c9f77c52SAndy Stormont 22c9f77c52SAndy StormontCERRWARN += -_gcc=-Wno-unused-variable 23c9f77c52SAndy Stormont 24c9f77c52SAndy StormontXSUBPPFLAGS = -typemap typemap 25c9f77c52SAndy Stormont 26c9f77c52SAndy StormontMAPFILES = mapfile-vers 27c9f77c52SAndy Stormont 28c9f77c52SAndy Stormontinclude $(SRC)/cmd/perl/Makefile.targ 29c9f77c52SAndy Stormont 30c7893124SRichard Lowe.KEEP_STATE: 31c7893124SRichard Lowe 32*0ae9a84fSAndrew Stormont$(BUILDPERL32)all: $(PERLEXT) $(PERLMOD) 33*0ae9a84fSAndrew Stormont$(BUILDPERL64)all: $(PERLEXT64) $(PERLMOD) 34c9f77c52SAndy Stormont 35*0ae9a84fSAndrew Stormont$(BUILDPERL32)install: $(ROOTPERLEXT) $(ROOTPERLMOD) 36*0ae9a84fSAndrew Stormont$(BUILDPERL64)install: $(ROOTPERLEXT64) $(ROOTPERLMOD64) 37c9f77c52SAndy Stormont 38c9f77c52SAndy Stormontclean clobber: 39*0ae9a84fSAndrew Stormont $(RM) -r $(MACH) $(MACH64) 40