summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-10-08 20:55:27 +0200
committerHaru <haru@dotalux.com>2013-10-09 05:49:04 +0200
commit5fdbee45f634d5d5b29ffa3144c8ac4881c10578 (patch)
tree87ff7e5bab40749666f44d69b24da3b75a1c1f12 /Makefile.in
parent540c7071234d44875bf397fb80d2f18c4f4db1bf (diff)
downloadhercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.tar.gz
hercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.tar.bz2
hercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.tar.xz
hercules-5fdbee45f634d5d5b29ffa3144c8ac4881c10578.zip
Added HPMHookGen tool, to re-generate hooks include files
- Slightly reformatted the include files (as produced by the new tool) - You normally won't need to use the generation tool, but in case you do, the software requirements are: * A Unix-compatible system (cygwin may work, or may not), capable to use the Hercules configure/make build system * perl (the perl executable must be in your $PATH) * doxygen (the command-line doxygen executable must be in your $PATH) - The generation tool was developed in collaboration with Ind (originally in php, the file here included is a tweaked version ported to perl) Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index f41aac4c7..0047a4c76 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -27,9 +27,12 @@ else
PLUGIN_DEPENDS=no_plugins
endif
+HAVE_PERL=@HAVE_PERL@
+HAVE_DOXYGEN=@HAVE_DOXYGEN@
+
MF_TARGETS = Makefile $(addsuffix /Makefile, src/common 3rdparty/mt19937ar \
3rdparty/libconfig src/char src/login src/map src/plugins \
- src/tool src/test)
+ src/tool src/test tools/HPMHookGen)
CC = @CC@
export CC
@@ -48,6 +51,7 @@ export CC
clean \
buildclean \
distclean \
+ hooks \
help
all: $(ALL_DEPENDS)
@@ -106,6 +110,10 @@ plugins: $(PLUGIN_DEPENDS) src/plugins/Makefile
@echo " MAKE $@"
@$(MAKE) -C src/plugins
+hooks: tools/HPMHookGen/Makefile
+ @echo " MAKE $@"
+ @$(MAKE) -C tools/HPMHookGen
+
import: Makefile
@# 1) create conf/import folder
@# 2) add missing files
@@ -123,6 +131,7 @@ clean buildclean: $(MF_TARGETS)
@$(MAKE) -C src/plugins $@
@$(MAKE) -C src/tool $@
@$(MAKE) -C src/test $@
+ @$(MAKE) -C tools/HPMHookGen $@
distclean: clean
@-rm -f $(MF_TARGETS) config.status config.log
@@ -146,6 +155,9 @@ help: Makefile
@echo "'buildclean' - cleans build temporary (object) files, without deleting the"
@echo " executables"
@echo "'distclean' - cleans files generated by ./configure"
+ifeq ($(HAVE_PERL)$(HAVE_DOXYGEN),yesyes)
+ @echo "'hooks' - re-generates the definitions for the HPM Hooking plugin"
+endif
@echo "'help' - outputs this message"
#####################################################################