Changeset 2072


Ignore:
Timestamp:
Nov 26, 2007, 2:04:25 AM (13 years ago)
Author:
Sam Hocevar
Message:
  • Install CLI bindings to $(libdir)/cucul-sharp and $(libdir)/caca-sharp.
Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r2067 r2072  
    335335if test "${enable_csharp}" != "no"; then
    336336  AC_PATH_PROG(GMCS, gmcs, no)
    337   if test "${GMCS}" != "no"; then
     337  AC_PATH_PROG(GACUTIL, gacutil, no)
     338  if test "${GMCS}" != "no" -a "${GACUTIL}" != "no"; then
    338339    ac_cv_my_have_csharp="yes"
    339340    CACA_BINDINGS="${CACA_BINDINGS} C#"
  • libcaca/trunk/csharp/Makefile.am

    r2045 r2072  
    11# $Id: $
    22
     3cuculdir = $(libdir)/cucul-sharp
     4cacadir = $(libdir)/caca-sharp
     5
     6cucul_sources = AssemblyInfo.cs Cucul.cs
     7caca_sources = AssemblyInfo.cs Caca.cs
     8
    39if USE_CSHARP
    4 noinst_DATA = cucul-sharp.dll caca-sharp.dll test.exe
     10cucul_DATA = cucul-sharp.dll cucul-sharp.dll.config
     11caca_DATA = caca-sharp.dll caca-sharp.dll.config
     12noinst_DATA = test.exe
    513endif
    614
    7 EXTRA_DIST = AssemblyInfo.cs \
    8              Cucul.cs \
    9              Caca.cs \
    10              cucul-sharp.dll.config \
    11              caca-sharp.dll.config \
     15EXTRA_DIST = $(cucul_sources) cucul-sharp.dll.config \
     16             $(caca_sources) caca-sharp.dll.config \
    1217             test.cs
    1318
    14 cucul-sharp.dll: AssemblyInfo.cs Cucul.cs
    15         gmcs $^ -out:$@ -target:library  -unsafe
     19cucul-sharp.dll: $(cucul_sources)
     20        gmcs $(cucul_sources) -out:$@ -target:library  -unsafe
    1621
    17 caca-sharp.dll: AssemblyInfo.cs Caca.cs
    18         gmcs $^ -out:$@ -target:library -r:./cucul-sharp.dll -lib:./ -unsafe
     22caca-sharp.dll: $(caca_sources) cucul-sharp.dll
     23        gmcs $(caca_sources) -out:$@ -target:library \
     24             -r:./cucul-sharp.dll -lib:./ -unsafe
    1925
    2026test.exe: test.cs caca-sharp.dll cucul-sharp.dll
    21         gmcs test.cs -out:$@ -r:./cucul-sharp.dll -r:./caca-sharp.dll -lib:./ -unsafe
     27        gmcs test.cs -out:$@ \
     28             -r:./cucul-sharp.dll -r:./caca-sharp.dll -lib:./ -unsafe
    2229
    2330clean-local:
Note: See TracChangeset for help on using the changeset viewer.