diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 251a874d1..769892f1a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,6 +18,14 @@ else MAP_SQL_DEPENDS=needs_mysql endif +WITH_PLUGINS=@WITH_PLUGINS@ +ifeq ($(WITH_PLUGINS),yes) + ALL_DEPENDS+=plugins + PLUGIN_DEPENDS=common_sql +else + PLUGIN_DEPENDS=no_plugins +endif + ##################################################################### .PHONY: sql \ @@ -27,6 +35,7 @@ endif char_sql \ map_sql \ tools \ + plugins \ import \ test \ clean help @@ -59,6 +68,9 @@ tools: test: @$(MAKE) -C src/test +plugins: $(PLUGIN_DEPENDS) + @$(MAKE) -C src/plugins + import: # 1) create conf/import folder # 2) add missing files @@ -75,6 +87,7 @@ clean: @$(MAKE) -C src/login $@ @$(MAKE) -C src/char $@ @$(MAKE) -C src/map $@ + @$(MAKE) -C src/plugins $@ @$(MAKE) -C src/tool $@ @$(MAKE) -C src/test $@ @@ -102,6 +115,10 @@ needs_mysql: @echo "MySQL not found or disabled by the configure script" @exit 1 +no_plugins: + @echo "Plugins disabled by the configure script" + @exit 1 + ##################################################################### # TODO |