* Makefile.am:
[monodevelop.git] / extras / PythonBinding / Makefile
blob2807a842152002902d2cc33f17f5393b01d10396
2 CSC = mcs /debug
3 ASSEMBLY = PythonBinding.dll
4 ADDIN = PythonBinding.addin.xml
6 TEMPLATE1 = templates/PythonConsoleProject.xpt.xml
7 TEMPLATE2 = templates/PythonGtkProject.xpt.xml
9 DLLS = /r:../../Core/build/bin/MonoDevelop.Core.dll \
10 /r:../../Core/build/bin/MonoDevelop.Base.dll \
11 /r:../../Core/build/bin/MonoDevelop.SourceEditor.dll \
12 /r:../../Core/build/bin/MonoDevelop.Gui.Widgets.dll \
13 -pkg:gtk-sharp-2.0
15 # $(BASE_DEPENDENCIES_LIBS)
17 FILES = \
18 ./Gui/CompilerParametersPanel.cs \
19 ./Project/CompilationTarget.cs \
20 ./Project/PythonProject.cs \
21 ./Project/PythonCompilerParameters.cs \
22 ./PythonCompilerManager.cs \
23 ./AssemblyInfo.cs \
24 ./PythonLanguageBinding.cs \
25 ./PythonExecutionManager.cs
27 #build_sources = $(addprefix $(srcdir)/, $(FILES))
29 #assemblydir = $(libdir)/monodevelop/AddIns/AddIns/BackendBindings
30 #assembly_DATA = $(ASSEMBLY)
32 all: $(ASSEMBLY)
34 $(ASSEMBLY): $(FILES)
35 $(CSC) $(FILES) $(DLLS) /out:$(ASSEMBLY) /target:library \
36 && cp $(ASSEMBLY) ../../Core/build/AddIns/AddIns/BackendBindings/. \
37 && cp $(ADDIN) ../../Core/build/AddIns/AddIns/BackendBindings/. \
38 && cp $(TEMPLATE1) ../../Core/build/AddIns/AddIns/BackendBindings/templates/. \
39 && cp $(TEMPLATE2) ../../Core/build/AddIns/AddIns/BackendBindings/templates/.
41 #CLEANFILES = $(ASSEMBLY)
42 #EXTRA_DIST = $(FILES)
44 clean:
45 rm -f $(ASSEMBLY)