source: libcaca/trunk/ruby/Makefile.am @ 2299

Last change on this file since 2299 was 2299, checked in by Sam Hocevar, 12 years ago
  • Remove #include <stdint.h> etc. from "common.h". Instead, make sure that <cucul.h> will provide the C99 types, even if libcaca has been installed.
  • Rename what's left of "common.h" to "stubs.h".
  • Remove all references to erroneous <inttypes.h> from source files.
File size: 1.4 KB
Line 
1# $Id: $
2
3rubylibdir = $(RUBY_SITEARCHDIR)
4rubysitedir = $(RUBY_SITELIBDIR)
5
6if USE_RUBY
7rubylib_LTLIBRARIES = caca.la cucul.la
8rubysite_DATA = lib/caca.rb
9TESTS = test
10endif
11
12CFLAGS += -Wno-strict-prototypes -Wno-missing-prototypes
13
14cucul_la_CPPFLAGS = -I$(top_srcdir)/cucul -I../cucul $(RUBY_CFLAGS)
15cucul_la_SOURCES = cucul.c \
16                   common.h \
17                   cucul-canvas.c \
18                   cucul-canvas.h \
19                   cucul-dither.c \
20                   cucul-dither.h \
21                   cucul-font.c \
22                   cucul-font.h \
23                   $(NULL)
24cucul_la_LDFLAGS = -module -avoid-version -shared $(RUBY_LIBS)
25cucul_la_LIBADD = ../cucul/libcucul.la
26
27caca_la_CPPFLAGS = -I$(top_srcdir)/caca -I$(top_srcdir)/cucul -I../cucul \
28                   $(RUBY_CFLAGS)
29caca_la_SOURCES = caca.c \
30                  common.h \
31                  caca-display.c \
32                  caca-display.h \
33                  caca-event.c \
34                  caca-event.h \
35                  $(NULL)
36caca_la_LDFLAGS = -module -avoid-version -shared $(RUBY_LIBS)
37caca_la_LIBADD = ../caca/libcaca.la
38
39EXTRA_DIST = ruby.dox \
40             ruby-caca.dox \
41             ruby-cucul.dox \
42             lib/caca.rb \
43             t/tc_canvas.rb \
44             t/tc_dither.rb \
45             t/tc_font.rb \
46             t/tc_frame.rb \
47             README \
48             $(NULL)
49
Note: See TracBrowser for help on using the repository browser.