summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2004-04-05 15:43:33 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2004-04-05 15:43:33 +0000
commit6e7b55cae05f4babb0050a5796221c9079e8e6e4 (patch)
treea4b5566f7629733c7eba7c967ed5601c491a64be /config
parent1dd08a7b7175c535fa94f3239927dbb89ba811f6 (diff)
downloadMPC-6e7b55cae05f4babb0050a5796221c9079e8e6e4.tar.gz
ChangeLogTag: Mon Apr 5 10:43:03 2004 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'config')
-rw-r--r--config/bison.mpb13
-rw-r--r--config/default.rel6
-rw-r--r--config/flex.mpb12
-rw-r--r--config/global.features17
-rw-r--r--config/global.mpb6
-rw-r--r--config/lex.mpb12
-rw-r--r--config/openssl.mpb20
-rw-r--r--config/qt.mpb18
-rw-r--r--config/qt_moc.mpb14
-rw-r--r--config/rpc.mpb14
-rw-r--r--config/zlib.mpb18
11 files changed, 150 insertions, 0 deletions
diff --git a/config/bison.mpb b/config/bison.mpb
new file mode 100644
index 00000000..cc779697
--- /dev/null
+++ b/config/bison.mpb
@@ -0,0 +1,13 @@
+// $Id$
+project {
+ Define_Custom(BISON) {
+ automatic = 1
+ command = bison
+ commandflags = -d
+ pch_postrule = 1
+ inputext = .y
+ pre_extension = .tab
+ source_outputext = .c
+ header_outputext = .h
+ }
+}
diff --git a/config/default.rel b/config/default.rel
new file mode 100644
index 00000000..68f94b03
--- /dev/null
+++ b/config/default.rel
@@ -0,0 +1,6 @@
+// This is the default relative definitions. Wildcards are acceptable.
+//
+// The first column is the name for which we create a relative definition.
+// The second (optional) column is the value to build up if it isn't defined
+// as an environmenment variable.
+*_ROOT
diff --git a/config/flex.mpb b/config/flex.mpb
new file mode 100644
index 00000000..7a9e10df
--- /dev/null
+++ b/config/flex.mpb
@@ -0,0 +1,12 @@
+// $Id$
+project {
+ Define_Custom(FLEX) {
+ automatic = 1
+ command = flex
+ commandflags = -t
+ output_option = >
+ pch_postrule = 1
+ inputext = .l
+ source_outputext = .c
+ }
+}
diff --git a/config/global.features b/config/global.features
new file mode 100644
index 00000000..ddc2ae55
--- /dev/null
+++ b/config/global.features
@@ -0,0 +1,17 @@
+// The global features file contains the default feature settings.
+// By default, if a feature isn't listed here then it is enabled.
+// If it is listed, then the value assigned to the feature is interpreted
+// as a boolean value. You really shouldn't have to edit this file except
+// to change the defaults. If you want to override these values you can do
+// one of two things.
+//
+// 1) Create a default.features in this directory with the features you
+// want enabled or disabled.
+// 2) Create a feature file anywhere you like with the features you want and
+// use the -feature_file option to specify where it is located.
+
+// By default we disable these.
+qt = 0
+zlib = 0
+mfc = 0
+rpc = 0
diff --git a/config/global.mpb b/config/global.mpb
new file mode 100644
index 00000000..4011554c
--- /dev/null
+++ b/config/global.mpb
@@ -0,0 +1,6 @@
+// -*- MPC -*-
+// $Id$
+
+project {
+ libout = .
+}
diff --git a/config/lex.mpb b/config/lex.mpb
new file mode 100644
index 00000000..03c506cd
--- /dev/null
+++ b/config/lex.mpb
@@ -0,0 +1,12 @@
+// $Id$
+project {
+ Define_Custom(LEX) {
+ automatic = 1
+ command = lex
+ commandflags = -t
+ output_option = >
+ pch_postrule = 1
+ inputext = .l
+ source_outputext = .c
+ }
+}
diff --git a/config/openssl.mpb b/config/openssl.mpb
new file mode 100644
index 00000000..c3f2c9ff
--- /dev/null
+++ b/config/openssl.mpb
@@ -0,0 +1,20 @@
+// -*- MPC -*-
+// $Id$
+
+// openssl is a completely different feature than ssl.
+// Currently ssl uses openssl, and openssl is enabled by
+// default. If we ever add a new ssl library, then you
+// would likely enable only one ssl library feature.
+feature(openssl) {
+ specific(cbx, borland, bmake, nmake, em3, vc6, vc7, vc71) {
+ lit_libs += libeay32 ssleay32
+ includes += $(SSL_ROOT)/inc32
+ libpaths += $(SSL_ROOT)/out32dll $(SSL_ROOT)/out32
+ }
+
+ specific(gnuace, make, sle) {
+ lit_libs += ssl crypto
+ includes += $(SSL_ROOT)/include
+ libpaths += $(SSL_ROOT)/lib
+ }
+}
diff --git a/config/qt.mpb b/config/qt.mpb
new file mode 100644
index 00000000..dc2c7739
--- /dev/null
+++ b/config/qt.mpb
@@ -0,0 +1,18 @@
+// -*- MPC -*-
+// $Id$
+
+project {
+ includes += $(QTDIR)/include
+ libpaths += $(QTDIR)/lib
+ macros += QT_THREAD_SUPPORT
+
+ specific(cbx, borland, bmake, nmake, em3, vc6, vc7, vc71) {
+ lit_libs += qt-mt230nc
+ }
+
+ // @@ Notice: If you are building with Cygwin, you may need to manually
+ // change the following Qt library to qt-mt230nc.
+ specific(gnuace, make, sle) {
+ lit_libs += qt-mt
+ }
+}
diff --git a/config/qt_moc.mpb b/config/qt_moc.mpb
new file mode 100644
index 00000000..2dff6e61
--- /dev/null
+++ b/config/qt_moc.mpb
@@ -0,0 +1,14 @@
+// -*- MPC -*-
+// $Id$
+
+project : qt {
+ Define_Custom(MOC) {
+ automatic = 0
+ command = $(QTDIR)/bin/moc
+ output_option = -o
+ pch_postrule = 1
+ inputext = .h
+ pre_extension = _moc
+ source_outputext = .cpp
+ }
+}
diff --git a/config/rpc.mpb b/config/rpc.mpb
new file mode 100644
index 00000000..e79af8d6
--- /dev/null
+++ b/config/rpc.mpb
@@ -0,0 +1,14 @@
+// -*- MPC -*-
+// $Id$
+
+project {
+ requires += rpc
+ Define_Custom(rpcgen) {
+ command = rpcgen
+ commandflags = -C
+ pch_postrule = 1
+ inputext = .x
+ source_outputext = _svc.c, _clnt.c
+ header_outputext = .h
+ }
+}
diff --git a/config/zlib.mpb b/config/zlib.mpb
new file mode 100644
index 00000000..1c0ea21a
--- /dev/null
+++ b/config/zlib.mpb
@@ -0,0 +1,18 @@
+// -*- MPC -*-
+// $Id$
+
+feature(zlib) {
+ includes += $(ZLIB_ROOT)/include
+ libpaths += $(ZLIB_ROOT)/lib
+ macros += ZLIB
+
+ specific(cbx, borland, bmake, nmake, em3, vc6, vc7, vc71) {
+ lit_libs += zlib
+ }
+
+ // @@ Notice: If you are building with Cygwin, you may need to manually
+ // change the following library to zlib.
+ specific(gnuace, make, sle) {
+ lit_libs += z
+ }
+}