summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
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"
#####################################################################