--- trunk/mono-addins/Mono.Addins.Gui/Makefile.am 2007/07/03 14:20:16 81265 +++ trunk/mono-addins/Mono.Addins.Gui/Makefile.am 2007/07/16 10:30:12 82024 @@ -11,9 +11,11 @@ ../bin/Mono.Addins.Setup.dll BUILD_DIR = ../bin - + if ENABLE_GUI all: $(ASSEMBLY) +else +all: endif FILES = \ @@ -62,6 +64,7 @@ mkdir -p $(dir $(ASSEMBLY)) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref) +if ENABLE_GUI install-data-local: echo "$(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS)"; \ $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; @@ -71,3 +74,4 @@ $(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS) || exit 1; include $(top_srcdir)/Makefile.include +endif