Changeset 2308


Ignore:
Timestamp:
Apr 20, 2008, 12:51:20 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Get the project to build in an alternate directory.
Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/csharp/Makefile.am

    r2088 r2308  
    44cacadir = $(libdir)/caca-sharp
    55
    6 cucul_sources = AssemblyInfo.cs Cucul.cs
    7 caca_sources = AssemblyInfo.cs Caca.cs
     6cucul_sources = $(srcdir)/AssemblyInfo.cs $(srcdir)/Cucul.cs
     7caca_sources = $(srcdir)/AssemblyInfo.cs $(srcdir)/Caca.cs
    88
    99if USE_CSHARP
     
    1515EXTRA_DIST = $(cucul_sources) cucul-sharp.dll.config.in \
    1616             $(caca_sources) caca-sharp.dll.config.in \
    17              test.cs
     17             $(srcdir)/test.cs
    1818
    1919cucul-sharp.dll: $(cucul_sources)
     
    2525          -r:System.Drawing.dll -r:./cucul-sharp.dll
    2626
    27 test.exe: test.cs caca-sharp.dll cucul-sharp.dll
    28         gmcs test.cs -out:$@ -lib:./ \
     27test.exe: $(srcdir)/test.cs caca-sharp.dll cucul-sharp.dll
     28        gmcs $(srcdir)/test.cs -out:$@ -lib:./ \
    2929          -r:System.Drawing.dll -r:./cucul-sharp.dll -r:./caca-sharp.dll
    3030
  • libcaca/trunk/cucul/cucul_types.h.in

    r2304 r2308  
    2424#endif
    2525
    26 /* mode 1: standard <inttypes.h> header is present, just include it */
     26/* mode 1: standard <stdint.h> header is present, just include it */
    2727#if CUCUL_TYPES == 1
     28#   include <stdint.h>
     29#   include <unistd.h>
     30
     31/* mode 2: standard <inttypes.h> header is present, just include it */
     32#elif CUCUL_TYPES == 2
    2833#   include <inttypes.h>
    29 
    30 /* mode 2: standard <stdint.h> header is present, just include it */
    31 #elif CUCUL_TYPES == 2
    32 #   include <stdint.h>
     34#   include <unistd.h>
    3335
    3436/* fallback: nothing is available, we assume the platform is 32-bit and
     
    4850typedef unsigned long int uintptr_t;
    4951
     52typedef int ssize_t;
     53typedef unsigned int size_t;
     54
    5055#endif
    5156
Note: See TracChangeset for help on using the changeset viewer.