summaryrefslogtreecommitdiff
path: root/ACE/MPC/modules/MakeProjectBase.pm
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/MPC/modules/MakeProjectBase.pm')
-rw-r--r--ACE/MPC/modules/MakeProjectBase.pm51
1 files changed, 51 insertions, 0 deletions
diff --git a/ACE/MPC/modules/MakeProjectBase.pm b/ACE/MPC/modules/MakeProjectBase.pm
new file mode 100644
index 00000000000..cc84ca8f566
--- /dev/null
+++ b/ACE/MPC/modules/MakeProjectBase.pm
@@ -0,0 +1,51 @@
+package MakeProjectBase;
+
+# ************************************************************
+# Description : A Make Project base module
+# Author : Chad Elliott
+# Create Date : 1/4/2005
+# ************************************************************
+
+# ************************************************************
+# Pragmas
+# ************************************************************
+
+use strict;
+
+# ************************************************************
+# Subroutine Section
+# ************************************************************
+
+sub dollar_special {
+ #my $self = shift;
+ return 1;
+}
+
+
+sub sort_files {
+ #my $self = shift;
+ return (defined $ENV{MPC_ALWAYS_SORT});
+}
+
+
+sub project_file_prefix {
+ #my $self = shift;
+ return 'Makefile.';
+}
+
+
+sub get_properties {
+ my $self = shift;
+
+ ## Get the base class properties and add the properties that we
+ ## support.
+ my $props = $self->ProjectCreator::get_properties();
+
+ ## All projects that use this base class are 'make' based.
+ $$props{'make'} = 1;
+
+ return $props;
+}
+
+
+1;