Fix in-source builds
The internal header directory conflicted with in-source builds causing a build failure. This is fixed by renaming the internal header directory to something other than maxscale. The renaming pointed out a few problems in a couple of source files that appeared to include internal headers when the headers were in fact public headers. Fixed maxctrl in-source builds by making the copying of the sources optional.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* of this software will be governed by version 2 or later of the General
|
||||
* Public License.
|
||||
*/
|
||||
#include "maxscale/resource.hh"
|
||||
#include "internal/resource.hh"
|
||||
|
||||
#include <list>
|
||||
#include <sstream>
|
||||
@ -25,15 +25,15 @@
|
||||
#include <maxscale/adminusers.h>
|
||||
#include <maxscale/modulecmd.h>
|
||||
|
||||
#include "maxscale/httprequest.hh"
|
||||
#include "maxscale/httpresponse.hh"
|
||||
#include "maxscale/session.h"
|
||||
#include "maxscale/filter.h"
|
||||
#include "maxscale/monitor.h"
|
||||
#include "maxscale/service.h"
|
||||
#include "maxscale/config_runtime.h"
|
||||
#include "maxscale/modules.h"
|
||||
#include "maxscale/worker.h"
|
||||
#include "internal/httprequest.hh"
|
||||
#include "internal/httpresponse.hh"
|
||||
#include "internal/session.h"
|
||||
#include "internal/filter.h"
|
||||
#include "internal/monitor.h"
|
||||
#include "internal/service.h"
|
||||
#include "internal/config_runtime.h"
|
||||
#include "internal/modules.h"
|
||||
#include "internal/worker.h"
|
||||
|
||||
using std::list;
|
||||
using std::map;
|
||||
|
Reference in New Issue
Block a user