~ubuntu-branches/ubuntu/trusty/pdfmod/trusty

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-06-18 03:44:46 UTC
  • Revision ID: james.westby@ubuntu.com-20100618034446-bogifrsscpayp361
Tags: upstream-0.8.3
ImportĀ upstreamĀ versionĀ 0.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
# Warning: This is an automatically generated file, do not edit!
 
3
#
 
4
EXTRA_DIST =
 
5
 
 
6
if ENABLE_DEBUG
 
7
ASSEMBLY_COMPILER_COMMAND = $(MCS)
 
8
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
 
9
ASSEMBLY = ../bin/PdfMod.exe
 
10
ASSEMBLY_MDB = $(ASSEMBLY).mdb
 
11
COMPILE_TARGET = exe
 
12
PROJECT_REFERENCES =  \
 
13
        ../bin/PdfSharp.dll \
 
14
        ../bin/poppler-sharp.dll
 
15
BUILD_DIR = ../bin
 
16
 
 
17
PDFMOD_EXE_MDB_SOURCE=../bin/PdfMod.exe.mdb
 
18
 
 
19
endif
 
20
 
 
21
if ENABLE_RELEASE
 
22
ASSEMBLY_COMPILER_COMMAND = $(MCS)
 
23
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG
 
24
ASSEMBLY = ../bin/PdfMod.exe
 
25
ASSEMBLY_MDB = $(ASSEMBLY).mdb
 
26
COMPILE_TARGET = exe
 
27
PROJECT_REFERENCES =  \
 
28
        ../bin/PdfSharp.dll \
 
29
        ../bin/poppler-sharp.dll
 
30
BUILD_DIR = ../bin
 
31
 
 
32
PDFMOD_EXE_MDB_SOURCE=../bin/PdfMod.exe.mdb
 
33
 
 
34
endif
 
35
 
 
36
AL=al2
 
37
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
 
38
 
 
39
PROGRAMFILES = \
 
40
        $(PDFMOD_EXE_MDB) \
 
41
        $(POPPLER_SHARP_DLL_CONFIG)
 
42
 
 
43
BINARIES = \
 
44
        $(PDFMOD)  
 
45
 
 
46
 
 
47
RESGEN=resgen2
 
48
        
 
49
all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES) 
 
50
 
 
51
FILES =  \
 
52
        PdfMod/Core/AssemblyInfo.cs \
 
53
        PdfMod/Core/Client.cs \
 
54
        PdfMod/Core/Configuration.cs \
 
55
        PdfMod/Core/Defines.cs \
 
56
        PdfMod/Gui/Actions.cs \
 
57
        PdfMod/Gui/CairoCell.cs \
 
58
        PdfMod/Gui/Client.cs \
 
59
        PdfMod/Gui/DocumentIconView.cs \
 
60
        PdfMod/Gui/MetadataEditorBox.cs \
 
61
        PdfMod/Gui/PageCell.cs \
 
62
        PdfMod/Gui/PageListStore.cs \
 
63
        PdfMod/Gui/SelectMatchingBox.cs \
 
64
        PdfMod/Main.cs \
 
65
        PdfMod/Pdf/Actions/BasePageAction.cs \
 
66
        PdfMod/Pdf/Actions/ExportImagesAction.cs \
 
67
        PdfMod/Pdf/Actions/MoveAction.cs \
 
68
        PdfMod/Pdf/Actions/RemoveAction.cs \
 
69
        PdfMod/Pdf/Actions/RotateAction.cs \
 
70
        PdfMod/Pdf/Document.cs \
 
71
        PdfMod/Pdf/Page.cs \
 
72
        PdfMod/Pdf/PageLabels.cs \
 
73
        PdfMod/Pdf/PageThumbnail.cs 
 
74
 
 
75
DATA_FILES = 
 
76
 
 
77
RESOURCES = Resources/UIManager.xml 
 
78
 
 
79
EXTRAS = \
 
80
        pdfmod.in 
 
81
 
 
82
REFERENCES =  \
 
83
        Mono.Cairo \
 
84
        Mono.Posix \
 
85
        -pkg:gconf-sharp-2.0 \
 
86
        -pkg:glib-sharp-2.0 \
 
87
        -pkg:gtk-sharp-2.0 \
 
88
        -pkg:hyena \
 
89
        -pkg:hyena.gui \
 
90
        System \
 
91
        System.Core
 
92
 
 
93
DLL_REFERENCES = 
 
94
 
 
95
CLEANFILES = $(PROGRAMFILES) $(BINARIES)
 
96
 
 
97
include $(top_srcdir)/Makefile.include
 
98
 
 
99
PDFSHARP_DLL = $(BUILD_DIR)/PdfSharp.dll
 
100
PDFSHARP_DLL_MDB = $(BUILD_DIR)/PdfSharp.dll.mdb
 
101
POPPLER_SHARP_DLL = $(BUILD_DIR)/poppler-sharp.dll
 
102
POPPLER_SHARP_DLL_CONFIG = $(BUILD_DIR)/poppler-sharp.dll.config
 
103
PDFMOD_EXE_MDB = $(BUILD_DIR)/PdfMod.exe.mdb
 
104
PDFMOD = $(BUILD_DIR)/pdfmod
 
105
 
 
106
$(eval $(call emit-deploy-wrapper,PDFMOD,pdfmod,x))
 
107
 
 
108
 
 
109
$(eval $(call emit_resgen_targets))
 
110
$(build_xamlg_list): %.xaml.g.cs: %.xaml
 
111
        xamlg '$<'
 
112
 
 
113
$(ASSEMBLY_MDB): $(ASSEMBLY)
 
114
 
 
115
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
 
116
        mkdir -p $(shell dirname $(ASSEMBLY))
 
117
        cp $(BUNDLE_ASSEMBLIES) $(BUILD_DIR)
 
118
        cp $(BUNDLE_FILES) $(BUILD_DIR)
 
119
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)