~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Pidgin/Makefile.am

  • Committer: djsiegel at gmail
  • Date: 2007-11-07 17:13:21 UTC
  • Revision ID: djsiegel@gmail.com-20071107171321-zgu46ukqlpdx1ypa
Initial files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
EXTRA_DIST =  
3
 
 
4
 
# Warning: This is an automatically generated file, do not edit!
5
 
 
6
 
if ENABLE_DEBUG
7
 
ASSEMBLY_COMPILER_COMMAND = gmcs
8
 
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
9
 
 
10
 
ASSEMBLY = bin/Debug/Pidgin.dll
11
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
12
 
COMPILE_TARGET = library
13
 
PROJECT_REFERENCES = 
14
 
BUILD_DIR = bin/Debug
15
 
 
16
 
PIDGIN_ADDIN_XML_SOURCE=src/Pidgin.addin.xml
17
 
 
18
 
endif
19
 
 
20
 
if ENABLE_RELEASE
21
 
ASSEMBLY_COMPILER_COMMAND = gmcs
22
 
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+
23
 
ASSEMBLY = bin/Release/Pidgin.dll
24
 
ASSEMBLY_MDB = 
25
 
COMPILE_TARGET = library
26
 
PROJECT_REFERENCES = 
27
 
BUILD_DIR = bin/Release
28
 
 
29
 
PIDGIN_ADDIN_XML_SOURCE=src/Pidgin.addin.xml
30
 
 
31
 
endif
32
 
 
33
 
if ENABLE_REPO
34
 
ASSEMBLY_COMPILER_COMMAND = gmcs
35
 
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
36
 
 
37
 
ASSEMBLY = ../buildrepo/Pidgin.dll
38
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
39
 
COMPILE_TARGET = library
40
 
PROJECT_REFERENCES = 
41
 
BUILD_DIR = ../buildrepo
42
 
 
43
 
PIDGIN_ADDIN_XML_SOURCE=src/Pidgin.addin.xml
44
 
 
45
 
endif
46
 
 
47
 
AL=al2
48
 
SATELLITE_ASSEMBLY_NAME=.resources.dll
49
 
 
50
 
PROGRAMFILES = \
51
 
        $(PIDGIN_ADDIN_XML)  
52
 
 
53
 
LINUX_PKGCONFIG = \
54
 
        $(PIDGIN_PC)  
55
 
 
56
 
 
57
 
        
58
 
all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
59
 
 
60
 
FILES = \
61
 
        src/AssemblyInfo.cs \
62
 
        src/Pidgin.cs \
63
 
        src/PidginChatAction.cs \
64
 
        src/PidginContactItemSource.cs \
65
 
        src/PidginHandleContactDetailItem.cs 
66
 
 
67
 
DATA_FILES = \
68
 
        src/Pidgin.addin.xml 
69
 
 
70
 
RESOURCES = 
71
 
 
72
 
EXTRAS = \
73
 
        pidgin.pc.in 
74
 
 
75
 
REFERENCES =  \
76
 
        System \
77
 
        $(DOADDINS_LIBS) \
78
 
        System.Xml \
79
 
        $(NDESK_DBUS_GLIB_10_LIBS) \
80
 
        $(NDESK_DBUS_10_LIBS) \
81
 
        $(GTK_SHARP_20_LIBS)
82
 
 
83
 
DLL_REFERENCES = 
84
 
 
85
 
CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
86
 
 
87
 
include $(top_srcdir)/Makefile.include
88
 
 
89
 
PIDGIN_PC = $(BUILD_DIR)/pidgin.pc
90
 
PIDGIN_ADDIN_XML = $(BUILD_DIR)/Pidgin.addin.xml
91
 
 
92
 
$(eval $(call emit-deploy-wrapper,PIDGIN_PC,pidgin.pc))
93
 
$(eval $(call emit-deploy-target,PIDGIN_ADDIN_XML))
94
 
 
95
 
 
96
 
$(build_xamlg_list): %.xaml.g.cs: %.xaml
97
 
        xamlg '$<'
98
 
 
99
 
$(build_resx_resources) : %.resources: %.resx
100
 
        resgen2 '$<' '$@'
101
 
 
102
 
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
103
 
        mkdir -p $(dir $(ASSEMBLY))
104
 
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)