Browse Source

* Generate CLI .config files at configure time so that we can embed the

library version and not rely on .so being present.
tags/v0.99.beta14
Sam Hocevar sam 17 years ago
parent
commit
6c093b6217
7 changed files with 11 additions and 8 deletions
  1. +2
    -0
      configure.ac
  2. +1
    -0
      csharp/.gitignore
  3. +2
    -2
      csharp/Makefile.am
  4. +0
    -3
      csharp/caca-sharp.dll.config
  5. +3
    -0
      csharp/caca-sharp.dll.config.in
  6. +0
    -3
      csharp/cucul-sharp.dll.config
  7. +3
    -0
      csharp/cucul-sharp.dll.config.in

+ 2
- 0
configure.ac View File

@@ -447,6 +447,8 @@ AC_CONFIG_FILES([
AC_CONFIG_FILES([
cucul/cucul.pc
caca/caca.pc
csharp/cucul-sharp.dll.config
csharp/caca-sharp.dll.config
doc/doxygen.cfg
])
AC_CONFIG_FILES([caca-config], [chmod 0755 caca-config])


+ 1
- 0
csharp/.gitignore View File

@@ -1 +1,2 @@
*.dll
*.config

+ 2
- 2
csharp/Makefile.am View File

@@ -12,8 +12,8 @@ caca_DATA = caca-sharp.dll caca-sharp.dll.config
noinst_DATA = test.exe
endif

EXTRA_DIST = $(cucul_sources) cucul-sharp.dll.config \
$(caca_sources) caca-sharp.dll.config \
EXTRA_DIST = $(cucul_sources) cucul-sharp.dll.config.in \
$(caca_sources) caca-sharp.dll.config.in \
test.cs

cucul-sharp.dll: $(cucul_sources)


+ 0
- 3
csharp/caca-sharp.dll.config View File

@@ -1,3 +0,0 @@
<configuration>
<dllmap dll="libcaca.dll" target="libcaca.so" />
</configuration>

+ 3
- 0
csharp/caca-sharp.dll.config.in View File

@@ -0,0 +1,3 @@
<configuration>
<dllmap dll="libcaca.dll" target="libcaca.so.@LT_MAJOR@" />
</configuration>

+ 0
- 3
csharp/cucul-sharp.dll.config View File

@@ -1,3 +0,0 @@
<configuration>
<dllmap dll="libcucul.dll" target="libcucul.so" />
</configuration>

+ 3
- 0
csharp/cucul-sharp.dll.config.in View File

@@ -0,0 +1,3 @@
<configuration>
<dllmap dll="libcucul.dll" target="libcucul.so.@LT_MAJOR@" />
</configuration>

Loading…
Cancel
Save