~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to GNOME-Session/Makefile.am

  • Committer: djsiegel at gmail
  • Date: 2007-11-07 19:51:21 UTC
  • Revision ID: djsiegel@gmail.com-20071107195121-v1niznt43hkai3o1
Added some template 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/GNOME-Session.dll
11
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
12
 
COMPILE_TARGET = library
13
 
PROJECT_REFERENCES = 
14
 
BUILD_DIR = bin/Debug
15
 
 
16
 
GNOME_SESSION_ADDIN_XML_SOURCE=src/GNOME-Session.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/GNOME-Session.dll
24
 
ASSEMBLY_MDB = 
25
 
COMPILE_TARGET = library
26
 
PROJECT_REFERENCES = 
27
 
BUILD_DIR = bin/Release
28
 
 
29
 
GNOME_SESSION_ADDIN_XML_SOURCE=src/GNOME-Session.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/GNOME-Session.dll
38
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
39
 
COMPILE_TARGET = library
40
 
PROJECT_REFERENCES = 
41
 
BUILD_DIR = ../buildrepo
42
 
 
43
 
GNOME_SESSION_ADDIN_XML_SOURCE=src/GNOME-Session.addin.xml
44
 
 
45
 
endif
46
 
 
47
 
AL=al2
48
 
SATELLITE_ASSEMBLY_NAME=.resources.dll
49
 
 
50
 
PROGRAMFILES = \
51
 
        $(GNOME_SESSION_ADDIN_XML)  
52
 
 
53
 
LINUX_PKGCONFIG = \
54
 
        $(GNOME_SESSION_PC)  
55
 
 
56
 
 
57
 
        
58
 
all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
59
 
 
60
 
FILES = \
61
 
        src/PowerManagement.cs \
62
 
        src/ScreenSaver.cs \
63
 
        src/SessionCommandItem.cs \
64
 
        src/SessionCommandsItemSource.cs 
65
 
 
66
 
DATA_FILES = \
67
 
        src/GNOME-Session.addin.xml 
68
 
 
69
 
RESOURCES = 
70
 
 
71
 
EXTRAS = \
72
 
        gnome-session.pc.in 
73
 
 
74
 
REFERENCES =  \
75
 
        $(DOADDINS_LIBS) \
76
 
        System \
77
 
        $(NDESK_DBUS_10_LIBS) \
78
 
        $(NDESK_DBUS_GLIB_10_LIBS)
79
 
 
80
 
DLL_REFERENCES = 
81
 
 
82
 
CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
83
 
 
84
 
include $(top_srcdir)/Makefile.include
85
 
 
86
 
GNOME_SESSION_PC = $(BUILD_DIR)/gnome-session.pc
87
 
GNOME_SESSION_ADDIN_XML = $(BUILD_DIR)/GNOME-Session.addin.xml
88
 
 
89
 
$(eval $(call emit-deploy-wrapper,GNOME_SESSION_PC,gnome-session.pc))
90
 
$(eval $(call emit-deploy-target,GNOME_SESSION_ADDIN_XML))
91
 
 
92
 
 
93
 
$(build_xamlg_list): %.xaml.g.cs: %.xaml
94
 
        xamlg '$<'
95
 
 
96
 
$(build_resx_resources) : %.resources: %.resx
97
 
        resgen2 '$<' '$@'
98
 
 
99
 
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
100
 
        mkdir -p $(dir $(ASSEMBLY))
101
 
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)