2008-07-16 Badlop <badlop@process-one.net>
+ * src/*.hrl: Get back all ejabberd header files to their original
+ placement in src/ subdirectories (EJAB-696)
+ * src/*/*.erl: Likewise
+ * src/*/Makefile.in: Likewise
+ * src/Makefile.in: Install header files in system include/ dir,
+ reproducing the subdirectory structure of src/
+
* src/ejabberdctl.template: Update environment variable names
2008-07-15 Badlop <badlop@process-one.net>
endif
EFLAGS += @ERLANG_SSL39@
-EFLAGS += -I ../include
# make debug=true to compile Erlang module with debug informations.
ifdef debug
#
# ejabberd header files
install -d $(INCLUDEDIR)
- install -m 644 ../include/*.hrl $(INCLUDEDIR)
+ install -m 644 *.hrl $(INCLUDEDIR)
+ install -d $(INCLUDEDIR)/eldap/
+ install -m 644 eldap/*.hrl $(INCLUDEDIR)/eldap/
+ install -d $(INCLUDEDIR)/mod_proxy65/
+ install -m 644 mod_proxy65/*.hrl $(INCLUDEDIR)/mod_proxy65/
+ install -d $(INCLUDEDIR)/mod_pubsub/
+ install -m 644 mod_pubsub/*.hrl $(INCLUDEDIR)/mod_pubsub/
+ install -d $(INCLUDEDIR)/web/
+ install -m 644 web/*.hrl $(INCLUDEDIR)/web/
#
# Binary C programs
install -d $(PBINDIR)
]).
-include("ejabberd.hrl").
--include("eldap.hrl").
+-include("eldap/eldap.hrl").
-record(state, {host,
eldap_id,
DYNAMIC_LIB_CFLAGS = -fpic -shared
endif
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
+
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
ERLANG_CFLAGS = @ERLANG_CFLAGS@
ERLANG_LIBS = @ERLANG_LIBS@
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
+
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
DYNAMIC_LIB_CFLAGS = -fpic -shared
endif
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.
ERLANG_CFLAGS = @ERLANG_CFLAGS@
ERLANG_LIBS = @ERLANG_LIBS@
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.
-include("ejabberd.hrl").
-include("jlib.hrl").
--include("ejabberd_http.hrl").
--include("ejabberd_web_admin.hrl").
+-include("web/ejabberd_http.hrl").
+-include("web/ejabberd_web_admin.hrl").
-record(offline_msg, {us, timestamp, expire, from, to, packet}).
-include("ejabberd.hrl").
-include("jlib.hrl").
--include("ejabberd_http.hrl").
--include("ejabberd_web_admin.hrl").
+-include("web/ejabberd_http.hrl").
+-include("web/ejabberd_web_admin.hrl").
-record(offline_msg, {user, timestamp, expire, from, to, packet}).
ERLANG_CFLAGS = @ERLANG_CFLAGS@
ERLANG_LIBS = @ERLANG_LIBS@
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.
ERLANG_CFLAGS = @ERLANG_CFLAGS@
ERLANG_LIBS = @ERLANG_LIBS@
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.
-include("ejabberd.hrl").
-include("jlib.hrl").
-include("mod_roster.hrl").
--include("ejabberd_http.hrl").
--include("ejabberd_web_admin.hrl").
+-include("web/ejabberd_http.hrl").
+-include("web/ejabberd_web_admin.hrl").
start(Host, Opts) ->
-include("ejabberd.hrl").
-include("jlib.hrl").
-include("mod_roster.hrl").
--include("ejabberd_http.hrl").
--include("ejabberd_web_admin.hrl").
+-include("web/ejabberd_http.hrl").
+-include("web/ejabberd_web_admin.hrl").
start(Host, Opts) ->
-include("ejabberd.hrl").
-include("jlib.hrl").
-include("mod_roster.hrl").
--include("ejabberd_http.hrl").
--include("ejabberd_web_admin.hrl").
+-include("web/ejabberd_http.hrl").
+-include("web/ejabberd_web_admin.hrl").
-record(sr_group, {group_host, opts}).
-record(sr_user, {us, group_host}).
]).
-include("ejabberd.hrl").
--include("eldap.hrl").
+-include("eldap/eldap.hrl").
-include("jlib.hrl").
-define(PROCNAME, ejabberd_mod_vcard_ldap).
ERLANG_CFLAGS = @ERLANG_CFLAGS@
ERLANG_LIBS = @ERLANG_LIBS@
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.
ERLANG_CFLAGS = @ERLANG_CFLAGS@
ERLANG_LIBS = @ERLANG_LIBS@
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.
DYNAMIC_LIB_CFLAGS = -fpic -shared
endif
-EFLAGS = -I .. -pz ..
+EFLAGS += -I ..
+EFLAGS += -pz ..
+
# make debug=true to compile Erlang module with debug informations.
ifdef debug
EFLAGS+=+debug_info
DYNAMIC_LIB_CFLAGS = -fpic -shared
endif
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.
ERLANG_CFLAGS = @ERLANG_CFLAGS@
ERLANG_LIBS = @ERLANG_LIBS@
-EFLAGS += -I ../../include
+EFLAGS += -I ..
EFLAGS += -pz ..
# make debug=true to compile Erlang module with debug informations.