~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Flickr/Makefile.am

  • Committer: Christopher Halse Rogers
  • Date: 2008-08-24 08:44:24 UTC
  • mfrom: (244.1.2 do-plugins)
  • Revision ID: raof@ubuntu.com-20080824084424-8gp5ff6v9nku9z21
Merge in the tip of 0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
EXTRA_DIST =  
 
3
 
 
4
 
 
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/Flickr.dll
 
11
ASSEMBLY_MDB = $(ASSEMBLY).mdb
 
12
COMPILE_TARGET = library
 
13
PROJECT_REFERENCES = 
 
14
BUILD_DIR = bin/Debug
 
15
 
 
16
 
 
17
endif
 
18
 
 
19
if ENABLE_RELEASE
 
20
ASSEMBLY_COMPILER_COMMAND = gmcs
 
21
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+
 
22
ASSEMBLY = bin/Release/Flickr.dll
 
23
ASSEMBLY_MDB = 
 
24
COMPILE_TARGET = library
 
25
PROJECT_REFERENCES = 
 
26
BUILD_DIR = bin/Release
 
27
 
 
28
 
 
29
endif
 
30
 
 
31
AL=al2
 
32
SATELLITE_ASSEMBLY_NAME=.resources.dll
 
33
 
 
34
all: $(ASSEMBLY)
 
35
 
 
36
FILES = \
 
37
        gtk-gui/Flickr.AccountConfig.cs \
 
38
        gtk-gui/Flickr.UploadConfig.cs \
 
39
        gtk-gui/generated.cs \
 
40
        src/AccountConfig.cs \
 
41
        src/FlickrItemSource.cs \
 
42
        src/UploadAction.cs \
 
43
        src/UploadConfig.cs
 
44
 
 
45
DATA_FILES = 
 
46
 
 
47
RESOURCES = \
 
48
        Flickr.addin.xml \
 
49
        gtk-gui/gui.stetic \
 
50
        gtk-gui/objects.xml \
 
51
        resources/flickr.png
 
52
 
 
53
REFERENCES =  \
 
54
        System \
 
55
        Mono.Posix \
 
56
        $(DOADDINS_LIBS) \
 
57
        $(GCONF_SHARP_20_LIBS) \
 
58
        $(GTK_SHARP_20_LIBS) \
 
59
        $(FLICKRNET_LIBS)
 
60
 
 
61
DLL_REFERENCES = 
 
62
 
 
63
CLEANFILES = 
 
64
 
 
65
include $(top_srcdir)/Makefile.include
 
66
 
 
67
 
 
68
$(build_xamlg_list): %.xaml.g.cs: %.xaml
 
69
        xamlg '$<'
 
70
 
 
71
$(build_resx_resources) : %.resources: %.resx
 
72
        resgen2 '$<' '$@'
 
73
 
 
74
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
 
75
        mkdir -p $(dir $(ASSEMBLY))
 
76
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)