diff options
author | Ingela Anderton Andin <[email protected]> | 2015-09-30 15:28:59 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-09-30 17:02:50 +0200 |
commit | ec1284c810cdc176b93d7316e78dc9c6aa84a504 (patch) | |
tree | 40081238d8409d1d868ee20c9dbcc3b1d6e1c32c /lib/inets/src/http_server/Makefile | |
parent | 1523be48ab4071b158412f4b06fe9c8d6ba3e73c (diff) | |
download | otp-ec1284c810cdc176b93d7316e78dc9c6aa84a504.tar.gz otp-ec1284c810cdc176b93d7316e78dc9c6aa84a504.tar.bz2 otp-ec1284c810cdc176b93d7316e78dc9c6aa84a504.zip |
inets: Add behaviour httpd_custom_api
Add this now as 18 allows optional callback specs
Diffstat (limited to 'lib/inets/src/http_server/Makefile')
-rw-r--r-- | lib/inets/src/http_server/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/inets/src/http_server/Makefile b/lib/inets/src/http_server/Makefile index b09877550d..b9f2290289 100644 --- a/lib/inets/src/http_server/Makefile +++ b/lib/inets/src/http_server/Makefile @@ -40,6 +40,10 @@ RELSYSDIR = $(RELEASE_PATH)/lib/$(APPLICATION)-$(VSN) # ---------------------------------------------------- # Target Specs # ---------------------------------------------------- + +BEHAVIOUR_MODULES= \ + httpd_custom_api + MODULES = \ httpd \ httpd_acceptor \ @@ -86,10 +90,13 @@ MODULES = \ HRL_FILES = httpd.hrl httpd_internal.hrl mod_auth.hrl -ERL_FILES = $(MODULES:%=%.erl) +ERL_FILES = $(MODULES:%=%.erl)\ + $(BEHAVIOUR_MODULES:%=%.erl) TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) +BEHAVIOUR_TARGET_FILES= $(BEHAVIOUR_MODULES:%=$(EBIN)/%.$(EMULATOR)) + INETS_FLAGS = -D'SERVER_SOFTWARE="$(APPLICATION)/$(VSN)"' @@ -109,11 +116,12 @@ ERL_COMPILE_FLAGS += \ # ---------------------------------------------------- # Targets # ---------------------------------------------------- +$(TARGET_FILES): $(BEHAVIOUR_TARGET_FILES) debug opt: $(TARGET_FILES) clean: - rm -f $(TARGET_FILES) + rm -f $(TARGET_FILES) $(BEHAVIOUR_TARGET_FILES) rm -f core docs: |