-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from babelouest/2.0b
Ulfius 2.0
- Loading branch information
Showing
83 changed files
with
5,113 additions
and
3,034 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
*.o | ||
examples/*/*.o | ||
example_programs/*/*.o | ||
example_programs/*/valgrind*.txt | ||
src/*.o | ||
src/*.so | ||
src/*.so.* | ||
examples/auth_example/auth_client | ||
examples/auth_example/auth_server | ||
examples/injection_example/injection_example | ||
examples/proxy_example/proxy | ||
examples/request_example/client | ||
examples/request_example/mail | ||
examples/request_example/server | ||
examples/simple_example/simple_example | ||
examples/stream_example/stream_example | ||
examples/stream_example/stream_client | ||
examples/test_u_map/test_u_map | ||
example_programs/auth_example/auth_client | ||
example_programs/auth_example/auth_server | ||
example_programs/injection_example/injection_example | ||
example_programs/proxy_example/proxy | ||
example_programs/request_example/client | ||
example_programs/request_example/mail | ||
example_programs/request_example/server | ||
example_programs/simple_example/simple_example | ||
example_programs/stream_example/stream_example | ||
example_programs/stream_example/stream_client | ||
example_programs/test_u_map/test_u_map | ||
example_programs/multiple_callbacks_example/multiple_callbacks_example | ||
example_programs/sheep_counter/sheep_counter | ||
example_programs/websocket_example/websocket_example | ||
test/valgrind*.txt | ||
test/*.o | ||
test/core | ||
test/u_map | ||
test/framework | ||
*.key | ||
*.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# | ||
# Makefile used to build all programs | ||
# | ||
# Copyright 2014-2015 Nicolas Mora <[email protected]> | ||
# Copyright 2014-2017 Nicolas Mora <[email protected]> | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the MIT License | ||
|
@@ -14,16 +14,26 @@ | |
# | ||
|
||
LIBULFIUS_LOCATION=./src | ||
LIBORCANIA_LOCATION=lib/orcania | ||
LIBORCANIA_LOCATION=lib/orcania/src | ||
LIBYDER_LOCATION=lib/yder/src | ||
EXAMPLES_LOCATION=./examples | ||
EXAMPLES_LOCATION=./example_programs | ||
|
||
ifeq (($(JANSSONFLAG)),"") | ||
ADD_JANSSONFLAG="JANSSONFLAG=-DU_DISABLE_JANSSON" | ||
endif | ||
|
||
ifeq (($(CURLFLAG)),"") | ||
ADD_CURLFLAG="CURLFLAG=-DU_DISABLE_CURL" | ||
endif | ||
|
||
ifeq (($(WEBSOCKETFLAG)),"") | ||
ADD_WEBSOCKETFLAG="WEBSOCKETFLAG=-DU_DISABLE_WEBSOCKET" | ||
endif | ||
|
||
all: libulfius.so | ||
|
||
debug: | ||
cd $(LIBORCANIA_LOCATION) && $(MAKE) debug | ||
cd $(LIBYDER_LOCATION) && $(MAKE) debug | ||
cd $(LIBULFIUS_LOCATION) && $(MAKE) debug | ||
cd $(LIBULFIUS_LOCATION) && $(MAKE) debug $(ADD_JANSSONFLAG) $(ADD_CURLFLAG) $(ADD_WEBSOCKETFLAG) | ||
|
||
clean: | ||
cd $(LIBORCANIA_LOCATION) && $(MAKE) clean | ||
|
@@ -32,16 +42,10 @@ clean: | |
cd $(EXAMPLES_LOCATION) && $(MAKE) clean | ||
|
||
install: | ||
cd $(LIBORCANIA_LOCATION) && $(MAKE) install | ||
cd $(LIBYDER_LOCATION) && $(MAKE) install | ||
cd $(LIBULFIUS_LOCATION) && $(MAKE) install | ||
|
||
uninstall: | ||
cd $(LIBORCANIA_LOCATION) && $(MAKE) uninstall | ||
cd $(LIBYDER_LOCATION) && $(MAKE) uninstall | ||
cd $(LIBULFIUS_LOCATION) && $(MAKE) uninstall | ||
|
||
libulfius.so: | ||
cd $(LIBORCANIA_LOCATION) && $(MAKE) | ||
cd $(LIBYDER_LOCATION) && $(MAKE) | ||
cd $(LIBULFIUS_LOCATION) && $(MAKE) | ||
cd $(LIBULFIUS_LOCATION) && $(MAKE) $(ADD_JANSSONFLAG) $(ADD_CURLFLAG) $(ADD_WEBSOCKETFLAG) |
Oops, something went wrong.