r8400: separate out the mpr code, as it is in the upstream appweb sources
authorAndrew Tridgell <tridge@samba.org>
Wed, 13 Jul 2005 00:12:22 +0000 (00:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:22:57 +0000 (13:22 -0500)
(This used to be commit 0e30b6e4cc9e70975d3179cfeddc4bfcc8c8fbb7)

source4/lib/appweb/config.mk
source4/lib/appweb/ejs/ejs.h
source4/lib/appweb/esp/esp.h
source4/lib/appweb/mpr/miniMpr.c [moved from source4/lib/appweb/ejs/miniMpr.c with 99% similarity]
source4/lib/appweb/mpr/miniMpr.h [moved from source4/lib/appweb/ejs/miniMpr.h with 99% similarity]
source4/lib/appweb/mpr/var.c [moved from source4/lib/appweb/ejs/var.c with 100% similarity]
source4/lib/appweb/mpr/var.h [moved from source4/lib/appweb/ejs/var.h with 100% similarity]

index 7d1eca34378a0c794db4b18cc9dd1b5e36be3f9d..1a73d6834ab4bf7c3571b77111a9cafe14e2bb53 100644 (file)
@@ -1,3 +1,14 @@
+#######################
+# Start SUBSYSTEM MPR
+[SUBSYSTEM::MPR]
+ADD_OBJ_FILES = \
+               lib/appweb/mpr/miniMpr.o \
+               lib/appweb/mpr/var.o
+NOPROTO=YES
+# End SUBSYSTEM MPR
+#######################
+
+
 #######################
 # Start SUBSYSTEM EJS
 [SUBSYSTEM::EJS]
@@ -5,9 +16,8 @@ ADD_OBJ_FILES = \
                lib/appweb/ejs/ejsLib.o  \
                lib/appweb/ejs/ejsLex.o \
                lib/appweb/ejs/ejsParser.o \
-               lib/appweb/ejs/ejsProcs.o \
-               lib/appweb/ejs/miniMpr.o \
-               lib/appweb/ejs/var.o
+               lib/appweb/ejs/ejsProcs.o
+REQUIRED_SUBSYSTEMS = MPR
 NOPROTO=YES
 # End SUBSYSTEM EJS
 #######################
index f1d2bb4c6ef3d9e72900a0ebe3c3aa573afaaccb..5efdb471926d7fc1a5f34ce39d30f45f97f946b5 100644 (file)
@@ -44,8 +44,8 @@
 #ifndef _h_EJS
 #define _h_EJS 1
 
-#include       "miniMpr.h"
-#include       "var.h"
+#include       "lib/appweb/mpr/miniMpr.h"
+#include       "lib/appweb/mpr/var.h"
 
 #ifdef __cplusplus
 extern "C" {
index ee86e8d3451822570714942f10db724cc1dd0201..e15daf0b4e048e6f9ef0d2e20450153fb344be41 100644 (file)
@@ -38,8 +38,8 @@
 
 #include       "lib/appweb/ejs/ejs.h"
 #include       "lib/appweb/esp/espEnv.h"
-#include       "lib/appweb/ejs/var.h"
-#include       "lib/appweb/ejs/miniMpr.h"
+#include       "lib/appweb/mpr/var.h"
+#include       "lib/appweb/mpr/miniMpr.h"
 
 /*********************************** Defines **********************************/
 
similarity index 99%
rename from source4/lib/appweb/ejs/miniMpr.c
rename to source4/lib/appweb/mpr/miniMpr.c
index 7dda4e7bd7c1bc68bfcd64c9a144c61aee134a36..abeefe1ec8e93419e4010f2792dd0d582bfabfe2 100644 (file)
@@ -29,7 +29,7 @@
  *     @end
  */
 
-#include       "lib/appweb/ejs/miniMpr.h"
+#include       "miniMpr.h"
 
 /************************************ Code ************************************/
 #if !BLD_APPWEB
similarity index 99%
rename from source4/lib/appweb/ejs/miniMpr.h
rename to source4/lib/appweb/mpr/miniMpr.h
index d431ebdc1b3be8230d5c59d9114889f2f63e4b04..a0030b25b5dded144cf3b773dc4214474269b89d 100644 (file)
@@ -41,7 +41,7 @@
 
 /* allow this library to use strcpy() */
 #undef strcpy
-       #include        "config.h"
+       #include        "lib/appweb/ejs/config.h"
 
 #if BLD_APPWEB
        /*