* Corrected small things to make Circ-git compile from within MonoDevelop
[circ.git] / Circ.Lib / Makefile.am
blob2ae60f4dbf3881d5ad0fdddbf1f56d84f8ddf3a0
2 EXTRA_DIST = 
4 # Warning: This is an automatically generated file, do not edit!
6 if ENABLE_DEBUG
7 ASSEMBLY_COMPILER_COMMAND = gmcs
8 ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
9 ASSEMBLY = ./bin/Debug/Circ.Lib.dll
10 COMPILE_TARGET = library
11 PROJECT_REFERENCES = 
12 BUILD_DIR = ./bin/Debug
13 endif
15 if ENABLE_RELEASE
16 ASSEMBLY_COMPILER_COMMAND = gmcs
17 ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4
18 ASSEMBLY = ./bin/Release/Circ.Lib.dll
19 COMPILE_TARGET = library
20 PROJECT_REFERENCES = 
21 BUILD_DIR = ./bin/Release
22 endif
25 PROGRAMFILES = \
26         $(MONO_ADDINS_DLL) \
27         $(MONO_ADDINS_DLL_MDB) \
28         $(MONO_ADDINS_DLL_CONFIG) \
29         $(NINI_DLL) \
30         $(NINI_DLL_MDB)  
31 LINUX_PKGCONFIG = \
32         $(CIRC_LIB_PC)  
34         
35 all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
37 FILES = \
38         AssemblyInfo.cs \
39         Backend/ConnectionFactory.cs \
40         Backend/ConnectionInfo.cs \
41         Backend/DefaultParser.cs \
42         Backend/Enums.cs \
43         Backend/EventArgs.cs \
44         Backend/Exception.cs \
45         Backend/IParser.cs \
46         Backend/IrcChannel.cs \
47         Backend/IrcConnection.cs \
48         Backend/IrcMessage.cs \
49         Backend/IrcUser.cs \
50         Frontend/Enums.cs \
51         Frontend/GuiFactory.cs \
52         Frontend/IFactory.cs \
53         Frontend/IFrontend.cs \
54         Frontend/IChannelPanel.cs \
55         Frontend/IServerPanel.cs \
56         Frontend/Structs.cs \
57         Backend/IBackend.cs \
58         Common/Logger.cs \
59         Common/Options.cs \
60         Common/LibContrast.cs \
61         Controller/IMainControl.cs \
62         Controller/IChannelControl.cs \
63         Controller/IConnectionControl.cs \
64         Plugin/Plugin.cs \
65         Controller/MainControlFactory.cs \
66         Backend/Rfc.cs \
67         Common/TransformationPool.cs \
68         Plugin/Shopping.cs \
69         Controller/CommandProcesser.cs \
70         Backend/ChannelMessageBakery.cs 
72 DATA_FILES = 
74 RESOURCES = \
75         ../data/Circ.conf 
77 EXTRAS = \
78         Frontend/IConnectionDialog.cs \
79         Frontend/IDiscussionContainer.cs \
80         Frontend/IMainWindow.cs \
81         Frontend/IUsersPanel.cs \
82         Common/AutocompletationAlgorithm.cs \
83         Backend/Structs.cs \
84         ./circ.lib.pc.in 
86 REFERENCES =  \
87         -r:System
89 DLL_REFERENCES =  \
90         $(BUILD_DIR)/Mono.Addins.dll \
91         $(BUILD_DIR)/Nini.dll
93 MONO_ADDINS_DLL = $(BUILD_DIR)/Mono.Addins.dll
94 $(MONO_ADDINS_DLL): ../lib/Mono.Addins.dll
95         mkdir -p $(BUILD_DIR)
96         cp '$<' '$@'
98 MONO_ADDINS_DLL_MDB = $(BUILD_DIR)/Mono.Addins.dll.mdb
99 $(MONO_ADDINS_DLL_MDB): ../lib/Mono.Addins.dll.mdb
100         mkdir -p $(BUILD_DIR)
101         cp '$<' '$@'
103 MONO_ADDINS_DLL_CONFIG = $(BUILD_DIR)/Mono.Addins.dll.config
104 $(MONO_ADDINS_DLL_CONFIG): ../lib/Mono.Addins.dll.config
105         mkdir -p $(BUILD_DIR)
106         cp '$<' '$@'
108 NINI_DLL = $(BUILD_DIR)/Nini.dll
109 $(NINI_DLL): ../lib/Nini.dll
110         mkdir -p $(BUILD_DIR)
111         cp '$<' '$@'
113 NINI_DLL_MDB = $(BUILD_DIR)/Nini.dll.mdb
114 $(NINI_DLL_MDB): ../lib/Nini.dll.mdb
115         mkdir -p $(BUILD_DIR)
116         cp '$<' '$@'
118 CIRC_LIB_PC = $(BUILD_DIR)/circ.lib.pc
119 $(CIRC_LIB_PC): circ.lib.pc
120         mkdir -p $(BUILD_DIR)
121         cp '$<' '$@'
125 $(build_resx_resources) : %.resources: %.resx
126         resgen2 '$<' '$@'
128 $(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES)
129         mkdir -p $(dir $(ASSEMBLY))
130         $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
132 include $(top_srcdir)/Makefile.include