Print this page
3900 illumos will not build against gcc compiled perl

@@ -16,44 +16,32 @@
 # fields enclosed by brackets "[]" replaced with your own identifying
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
-
 #
-# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2014 Racktop Systems.
 #
 
-include ../Makefile.cmd
+include $(SRC)/cmd/Makefile.cmd
+
+SUBDIRS = \
+        contrib/Sun/Solaris/BSM \
+        contrib/Sun/Solaris/Intrs \
+        contrib/Sun/Solaris/Kstat \
+        contrib/Sun/Solaris/Lgrp \
+        contrib/Sun/Solaris/Pg \
+        contrib/Sun/Solaris/Project \
+        contrib/Sun/Solaris/Task \
+        contrib/Sun/Solaris/Utils
 
 all     := TARGET = all
 install := TARGET = install
-clobber := TARGET = clobber
 clean   := TARGET = clean
-test    := TARGET = test
-
-# PERL_LEGACY is versions of Perl still delivered through ON
-PERL_VERSIONS = 5.10.0
-
-.PARALLEL: $(PERL_VERSIONS)
-
-all install test: $(PERL_VERSIONS)
-
-clean: FRC
+clobber :=      TARGET = clobber
 
-clobber: clean
-        $(RM) -r $(PERL_VERSIONS)
+all install clean clobber: $(SUBDIRS)
 
-#
-# Perl is not lint-clean.  Fake up a target.
-#
-lint:
-        @ $(ECHO) "usr/src/cmd/perl is not lint-clean: skipping"
-        @ $(TRUE)
-
-$(PERL_VERSIONS): FRC
-        @ if [ ! -d $@ ]; then \
-            $(CP) -r skel $@; \
-        fi
-        @ cd $@; pwd; PERL_VERSION=$@ $(MAKE) $(TARGET)
+$(SUBDIRS): FRC
+        @cd $@; pwd; $(MAKE) $(TARGET)
 
 FRC: