aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-08 13:45:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-14 12:02:13 +0200
commite28ab8f48c891c03cf4b3a8ed88b98d38a561960 (patch)
tree0ae1dbb54e497fc797e5a73fcf3dd2dc487a5572 /build.sh
parenta31dfac365feef7838b01b1efd3fe058c89484d7 (diff)
Separate brep module configuration from Apache server configuration
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index e04cb32..5772f85 100755
--- a/build.sh
+++ b/build.sh
@@ -24,24 +24,24 @@ g++ -shared $DEBUG -std=c++11 -I.. -I../../libbpkg \
-I../../libbutl -L../../libbpkg/bpkg -L../../libbutl/butl \
-fPIC -o libbrep.so $s -lbpkg -lbutl -lodb-pgsql -lodb
-echo "cli brep-apache options"
+echo "cli mod_brep options"
cli --include-with-brackets --include-prefix brep --hxx-suffix "" \
--guard-prefix BREP --cxx-prologue "#include <brep/types-parsers>" \
--cli-namespace brep::cli --generate-file-scanner --suppress-usage \
- --option-prefix "" ./options.cli
+ --generate-modifier --generate-description --option-prefix "" ./options.cli
-echo "g++ libbrep-apache.so"
+echo "g++ libmod_brep.so"
-s="package-search.cxx package-details.cxx package-version-details.cxx \
-repository-details.cxx repository-root.cxx module.cxx page.cxx services.cxx \
-options.cxx shared-database.cxx diagnostics.cxx \
+s="options.cxx services.cxx package-search.cxx package-details.cxx \
+package-version-details.cxx repository-details.cxx repository-root.cxx \
+module.cxx page.cxx shared-database.cxx diagnostics.cxx \
../web/apache/request.cxx ../web/apache/service.cxx \
../web/mime-url-encoding.cxx"
g++ -shared $DEBUG -std=c++11 -I/usr/include/apr-1 -I/usr/include/httpd \
-I.. -I../../libbpkg -I../../libbutl -L. -L../../libbpkg/bpkg \
- -fPIC -o libbrep-apache.so $s -lbrep -lbpkg -lodb-pgsql -lodb -lstudxml
+ -fPIC -o libmod_brep.so $s -lbrep -lbpkg -lodb-pgsql -lodb -lstudxml
cd ../loader