aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/inets_app/Makefile
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2010-12-09 15:01:24 +0100
committerIngela Anderton Andin <[email protected]>2010-12-16 16:25:46 +0100
commite11350655b27b87c891bdf4e420472a220521f99 (patch)
treefd762fd4bd3928feb2adb45060d9745745987680 /lib/inets/src/inets_app/Makefile
parentada2a055fd183082bcefd5e4b94477959e75ebee (diff)
downloadotp-e11350655b27b87c891bdf4e420472a220521f99.tar.gz
otp-e11350655b27b87c891bdf4e420472a220521f99.tar.bz2
otp-e11350655b27b87c891bdf4e420472a220521f99.zip
External include files
HTTPD header file install "fixed". That is, the include files in the include dir are installed in the include dir (by the Makefile in the src/inets_app). New wrapper header files (with the same names httpd.hrl and mod_auth.hrl) has been created in the src/http_server dir (which in turn is installed in the src/http_server dir by the Makefile in the src/http_server dir).
Diffstat (limited to 'lib/inets/src/inets_app/Makefile')
-rw-r--r--lib/inets/src/inets_app/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/inets/src/inets_app/Makefile b/lib/inets/src/inets_app/Makefile
index 4632ff3b68..20e22917e2 100644
--- a/lib/inets/src/inets_app/Makefile
+++ b/lib/inets/src/inets_app/Makefile
@@ -47,7 +47,9 @@ MODULES = \
inets_sup \
inets_regexp
-HRL_FILES = inets_internal.hrl
+INTERNAL_HRL_FILES = inets_internal.hrl
+EXTERNAL_HRL_FILES = ../../include/httpd.hrl \
+ ../../include/mod_auth.hrl
ERL_FILES = $(MODULES:%=%.erl)
@@ -74,8 +76,7 @@ include inets.mk
ERL_COMPILE_FLAGS += \
$(INETS_FLAGS) \
- $(INETS_ERL_COMPILE_FLAGS) \
- -I../../include
+ $(INETS_ERL_COMPILE_FLAGS)
# ----------------------------------------------------
@@ -110,7 +111,9 @@ include $(ERL_TOP)/make/otp_release_targets.mk
release_spec: opt
$(INSTALL_DIR) $(RELSYSDIR)/src
$(INSTALL_DIR) $(RELSYSDIR)/src/inets_app
- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/inets_app
+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src/inets_app
+ $(INSTALL_DIR) $(RELSYSDIR)/include
+ $(INSTALL_DATA) $(EXTERNAL_HRL_FILES) $(RELSYSDIR)/include
$(INSTALL_DIR) $(RELSYSDIR)/ebin
$(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin