Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

2008-06-19 Mike Kestner <mkestner@novell.com>

	* configure.in: detect cecil and substitute the dll path.
	* libsteticui/Makefile.am: build using installed dll.
	* libsteticui/lib/Mono.Cecil.dll: remove

svn path=/trunk/stetic/; revision=106226
  • Loading branch information...
commit 67941884ccc7c004da2dac1a8b88ba450bfe42aa 1 parent df1b685
@mkestner mkestner authored
View
6 ChangeLog
@@ -1,5 +1,11 @@
2008-06-19 Mike Kestner <mkestner@novell.com>
+ * configure.in: detect cecil and substitute the dll path.
+ * libsteticui/Makefile.am: build using installed dll.
+ * libsteticui/lib/Mono.Cecil.dll: remove
+
+2008-06-19 Mike Kestner <mkestner@novell.com>
+
* libsteticui/AssemblyWidgetLibrary.cs: refactor to use LibraryCache.
* libsteticui/CecilWidgetLibrary.cs: use singleton Cache. Refine
NeedsReload. Call Load (XmlDocument) conditionally.
View
5 configure.in
@@ -27,9 +27,12 @@ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4.0)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
-PKG_CHECK_MODULES(STETIC, gtk-sharp-2.0 >= 2.3.91 glade-sharp-2.0 >= 2.4.0 gconf-sharp-2.0 >= 2.4.0 gnome-sharp-2.0 >= 2.4.0)
+PKG_CHECK_MODULES(STETIC, gtk-sharp-2.0 >= 2.3.91 glade-sharp-2.0 >= 2.4.0 gconf-sharp-2.0 >= 2.4.0 gnome-sharp-2.0 >= 2.4.0 cecil)
AC_SUBST(STETIC_LIBS)
+CECIL_PATH=`pkg-config --variable=Libraries cecil`
+AC_SUBST(CECIL_PATH)
+
AC_OUTPUT([
Makefile
libstetic/Makefile
View
11 libsteticui/Makefile.am
@@ -86,7 +86,7 @@ libsteticui_dll_references = \
-pkg:gnome-sharp-2.0 \
-pkg:gtk-sharp-2.0 \
-r:$(top_builddir)/bin/libstetic.dll \
- -r:$(top_srcdir)/libsteticui/lib/Mono.Cecil.dll \
+ -r:$(CECIL_DLL) \
-r:Mono.Posix \
-r:System.Runtime.Remoting \
-r:System.Xml
@@ -99,7 +99,7 @@ all: $(ASSEMBLY) $(DATA_FILE_BUILD) $(CECIL_DLL)
RESOURCE_FILES = $(addprefix $(srcdir)/, $(libsteticui_dll_resources))
DATA_FILES = $(addprefix $(srcdir)/, $(libsteticui_dll_datafiles))
-$(ASSEMBLY): $(libsteticui_dll_sources) $(RESOURCE_FILES)
+$(ASSEMBLY): $(libsteticui_dll_sources) $(RESOURCE_FILES) $(CECIL_DLL)
@rm -f sources.rsp
@echo $(libsteticui_dll_sources:%=$(srcdir)/%) > sources.rsp
@for resource in $(RESOURCE_FILES); do echo -resource:$$resource,`basename $$resource` >> sources.rsp; done
@@ -114,14 +114,13 @@ $(DATA_FILE_BUILD): $(srcdir)/$(notdir $@)
CECIL = Mono.Cecil.dll
CECIL_DLL = $(ASSEMBLY_DIR)/$(CECIL)
-$(CECIL_DLL): $(srcdir)/lib/$(CECIL)
+$(CECIL_DLL): $(CECIL_PATH)
mkdir -p $(ASSEMBLY_DIR)
- cp $(srcdir)/lib/$(CECIL) $(ASSEMBLY_DIR)/.
+ cp $(CECIL_PATH) $(ASSEMBLY_DIR)/.
CLEANFILES = $(ASSEMBLY_FILES) sources.rsp
EXTRA_DIST = \
$(libsteticui_dll_sources) \
$(RESOURCE_FILES) \
- $(DATA_FILES) \
- $(srcdir)/lib/$(CECIL)
+ $(DATA_FILES)
View
BIN  libsteticui/lib/Mono.Cecil.dll
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.