1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
ASSEMBLY = ../bin/TextEditorLib.dll
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../../bin/Mono.Addins.dll \
../../bin/Mono.Addins.Gui.dll
BUILD_DIR = ../bin
if ENABLE_GUI
all: $(ASSEMBLY)
endif
FILES = \
AssemblyInfo.cs \
Commands/CopyCommand.cs \
Commands/CutCommand.cs \
Commands/ExitCommand.cs \
Commands/NewCommand.cs \
Commands/OpenCommand.cs \
Commands/PasteCommand.cs \
Commands/SaveCommand.cs \
Commands/SetupCommand.cs \
ExtensionNodes/FileTemplateNode.cs \
ExtensionNodes/MenuItemNode.cs \
ExtensionNodes/MenuNode.cs \
ExtensionNodes/MenuSeparatorNode.cs \
ExtensionNodes/SubmenuNode.cs \
ExtensionNodes/TemplateCategoryNode.cs \
ExtensionNodes/ToolbarNode.cs \
ExtensionNodes/ToolButtonNode.cs \
ExtensionNodes/ToolSeparatorNode.cs \
gtk-gui/generated.cs \
gtk-gui/MainWindow.cs \
ICommand.cs \
MainWindow.cs \
OpenFileCondition.cs \
TextEditorApp.cs
DATA_FILES =
RESOURCES = \
gtk-gui/gui.stetic \
Templates/ChangeLogTemplate.txt \
Templates/DotConfigTemplate.txt \
Templates/TextEditor.addin.xml \
Templates/WorkReport.txt
EXTRAS =
REFERENCES = \
-pkg:gtk-sharp-2.0 \
-r:Mono.Posix \
-r:System
DLL_REFERENCES =
$(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles)
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
include $(top_srcdir)/makefile-sample.include
endif
|