Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
2008-06-19 Mike Kestner <mkestner@novell.com>
Browse files Browse the repository at this point in the history
	* 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
mkestner committed Jun 19, 2008
1 parent df1b685 commit 6794188
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
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.
Expand Down
5 changes: 4 additions & 1 deletion configure.in
Expand Up @@ -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
Expand Down
11 changes: 5 additions & 6 deletions libsteticui/Makefile.am
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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)
Binary file removed libsteticui/lib/Mono.Cecil.dll
Binary file not shown.

0 comments on commit 6794188

Please sign in to comment.