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

Last change on this file since 3158 was 3158, checked in by Pascal Terjan, 12 years ago
  • Add -module flag, hopefuly this will fix on OSX
File size: 1.0 KB
Line 
1# $Id: $
2
3rubylibdir = $(RUBY_SITEARCHDIR)
4rubysitedir = $(RUBY_SITELIBDIR)
5
6if USE_RUBY
7rubylib_LTLIBRARIES = caca.la
8rubylib_LDFLAGS = -module
9rubysite_DATA = lib/caca.rb
10TESTS = test
11endif
12
13CFLAGS += -Wno-strict-prototypes -Wno-missing-prototypes
14
15caca_la_CPPFLAGS = -I$(top_srcdir)/caca -I../caca $(RUBY_CFLAGS)
16caca_la_SOURCES = caca.c \
17                  common.h \
18                  caca-canvas.c \
19                  caca-canvas.h \
20                  caca-dither.c \
21                  caca-dither.h \
22                  caca-font.c \
23                  caca-font.h \
24                  caca-display.c \
25                  caca-display.h \
26                  caca-event.c \
27                  caca-event.h \
28                  $(NULL)
29caca_la_LDFLAGS = -module -avoid-version -shared $(RUBY_LIBS)
30caca_la_LIBADD = ../caca/libcaca.la
31
32EXTRA_DIST = ruby.dox \
33             ruby-caca.dox \
34             lib/caca.rb \
35             t/tc_canvas.rb \
36             t/tc_dither.rb \
37             t/tc_font.rb \
38             t/tc_frame.rb \
39             README \
40             $(NULL)
41
Note: See TracBrowser for help on using the repository browser.