3 # Warning: This is an automatically generated file, do not edit!
8 include $(top_srcdir
)/Makefile.
include
9 include $(top_srcdir
)/config.make
11 ifeq ($(CONFIG
),DEBUG
)
12 ASSEMBLY_COMPILER_COMMAND
= gmcs
13 ASSEMBLY_COMPILER_FLAGS
= -noconfig
-codepage
:utf8
-warn
:4 -optimize
+ -debug
-define:DEBUG
14 ASSEMBLY
= build
/MonoDevelop.GeckoWebBrowser.dll
15 ASSEMBLY_MDB
= $(ASSEMBLY
).mdb
16 COMPILE_TARGET
= library
23 ifeq ($(CONFIG
),RELEASE
)
24 ASSEMBLY_COMPILER_COMMAND
= gmcs
25 ASSEMBLY_COMPILER_FLAGS
= -noconfig
-codepage
:utf8
-warn
:4 -optimize
+
26 ASSEMBLY
= build
/MonoDevelop.GeckoWebBrowser.dll
28 COMPILE_TARGET
= library
35 INSTALL_DIR
= $(DESTDIR
)$(prefix)/lib
/monodevelop
/AddIns
/GeckoWebBrowser
42 GECKOWEBBROWSER_PC
= $(BUILD_DIR
)/monodevelop-geckowebbrowser.
pc
48 GeckoWebBrowserLoader.cs \
55 MonoDevelop.WebBrowsers.GeckoWebBrowser.addin.xml
59 monodevelop-geckowebbrowser.
pc.in
63 -pkg
:gecko-sharp-2.0 \
70 CLEANFILES
+= $(LINUX_PKGCONFIG
)
73 all-local
: $(ASSEMBLY
) $(LINUX_PKGCONFIG
) $(top_srcdir
)/config.make
75 $(GECKOWEBBROWSER_PC
): monodevelop-geckowebbrowser.
pc
81 monodevelop-geckowebbrowser.
pc: monodevelop-geckowebbrowser.
pc.in
$(top_srcdir
)/config.make
82 sed
-e
"s,@prefix@,$(prefix)," -e
"s,@PACKAGE@,$(PACKAGE)," < monodevelop-geckowebbrowser.
pc.in
> monodevelop-geckowebbrowser.
pc
85 $(build_xamlg_list
): %.xaml.g.cs
: %.xaml
88 $(build_resx_resources
) : %.resources
: %.resx
91 LOCAL_PKGCONFIG
=PKG_CONFIG_PATH
=..
/..
/local-config
:$$PKG_CONFIG_PATH
93 $(ASSEMBLY
) $(ASSEMBLY_MDB
): $(build_sources
) $(build_resources
) $(build_datafiles
) $(DLL_REFERENCES
) $(PROJECT_REFERENCES
) $(build_xamlg_list
)
94 make pre-all-local-hook
prefix=$(prefix)
95 mkdir
-p
$(dir $(ASSEMBLY
))
96 make
$(CONFIG
)_BeforeBuild
97 $(LOCAL_PKGCONFIG
) $(ASSEMBLY_COMPILER_COMMAND
) $(ASSEMBLY_COMPILER_FLAGS
) -out
:$(ASSEMBLY
) -target
:$(COMPILE_TARGET
) $(build_sources_embed
) $(build_resources_embed
) $(build_references_ref
)
98 make
$(CONFIG
)_AfterBuild
99 make post-all-local-hook
prefix=$(prefix)
102 install-local
: $(ASSEMBLY
) $(ASSEMBLY_MDB
) $(GECKOWEBBROWSER_PC
)
103 make pre-install-local-hook
prefix=$(prefix)
104 mkdir
-p
$(INSTALL_DIR
)
105 cp
$(ASSEMBLY
) $(ASSEMBLY_MDB
) $(INSTALL_DIR
)
106 mkdir
-p
$(DESTDIR
)$(prefix)/lib
/pkgconfig
107 test -z
'$(GECKOWEBBROWSER_PC)' || cp
$(GECKOWEBBROWSER_PC
) $(DESTDIR
)$(prefix)/lib
/pkgconfig
108 make post-install-local-hook
prefix=$(prefix)
110 uninstall-local
: $(ASSEMBLY
) $(ASSEMBLY_MDB
) $(GECKOWEBBROWSER_PC
)
111 make pre-uninstall-local-hook
prefix=$(prefix)
112 rm -f
$(INSTALL_DIR
)/$(notdir $(ASSEMBLY
))
113 test -z
'$(ASSEMBLY_MDB)' ||
rm -f
$(INSTALL_DIR
)/$(notdir $(ASSEMBLY_MDB
))
114 test -z
'$(GECKOWEBBROWSER_PC)' ||
rm -f
$(DESTDIR
)$(prefix)/lib
/pkgconfig
/$(notdir $(GECKOWEBBROWSER_PC
))
115 make post-uninstall-local-hook
prefix=$(prefix)