Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
cf94fb36
Commit
cf94fb36
authored
11 years ago
by
Sergey Lyubka
Browse files
Options
Downloads
Patches
Plain Diff
Added BIG_SOURCES
parent
2210043b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/Makefile
+9
-4
9 additions, 4 deletions
build/Makefile
with
9 additions
and
4 deletions
build/Makefile
+
9
−
4
View file @
cf94fb36
...
...
@@ -14,11 +14,15 @@ VDIR = mongoose-$(VERSION)
TINY_SOURCES
=
../mongoose.c main.c
LUA_SOURCES
=
$(
TINY_SOURCES
)
lua_5.2.1.c
LUA_SQLITE_SOURCES
=
$(
LUA_SOURCES
)
sqlite3.c lsqlite3.c
BIG_SOURCES
=
$(
TINY_SOURCES
)
lua_5.2.1.c sqlite3.c lsqlite3.c
SQLITE_FLAGS
=
-DTHREADSAFE
=
1
-DSQLITE_ENABLE_FTS3
\
-DSQLITE_ENABLE_FTS3_PARENTHESIS
LUA_FLAGS
=
-DUSE_LUA
LUA_SQLITE_FLAGS
=
$(
SQLITE_FLAGS
)
$(
LUA_FLAGS
)
-DUSE_LUA_SQLITE3
BIG_FLAGS
=
-DTHREADSAFE
=
1
-DSQLITE_ENABLE_FTS3
\
-DSQLITE_ENABLE_FTS3_PARENTHESIS
\
-DUSE_LUA
-DUSE_LUA_SQLITE3
# Using Visual Studio 6.0. To build Mongoose:
# Set MSVC variable below to where VS 6.0 is installed on your system
...
...
@@ -49,12 +53,15 @@ all: mongoose$(EXE_SUFFIX)
$(PROG)
:
$(TINY_SOURCES)
$(
CC
)
$(
TINY_SOURCES
)
-o
$@
$(
CFLAGS
)
$(PROG)-lua
:
$(LUA_SOURCES)
$(PROG)-lua
:
$(TINY_SOURCES)
$(LUA_SOURCES)
$(
CC
)
$(
LUA_SOURCES
)
-o
$@
$(
LUA_FLAGS
)
$(
CFLAGS
)
$(PROG)-lua-sqlite
:
$(LUA_SQLITE_SOURCES)
$(
CC
)
$(
LUA_SQLITE_SOURCES
)
-o
$@
$(
LUA_SQLITE_FLAGS
)
$(
CFLAGS
)
$(PROG)-big
:
$(BIG_SOURCES)
$(
CC
)
$(
BIG_SOURCES
)
-o
$@
$(
CFLAGS
)
$(
BIG_FLAGS
)
unix_unit_test
:
$(LUA_SOURCES) Makefile ./test/unit_test.c
$(
CC
)
./test/unit_test.c lua_5.2.1.c
$(
CFLAGS
)
-g
-O0
-o
t
&&
./t
...
...
@@ -107,11 +114,9 @@ tarball: clean
tar
-czf
$(
VDIR
)
.tgz
$(
VDIR
)
release
:
tarball macos
wine make
windows
wine make
upx mongoose.exe
upx mongoose-tiny.exe
cp
mongoose.exe mongoose-
$(
VERSION
)
.exe
cp
mongoose-tiny.exe mongoose-tiny-
$(
VERSION
)
.exe
cp
mongoose.exe mongoose_php_bundle/
zip
-r
mongoose-php-
$(
VERSION
)
.zip mongoose_php_bundle/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment