| Revision 2299,
1.4 KB
checked in by sam, 5 years ago
(diff) |
- 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.
|
| Line | |
|---|
| 1 | # $Id: $ |
|---|
| 2 | |
|---|
| 3 | rubylibdir = $(RUBY_SITEARCHDIR) |
|---|
| 4 | rubysitedir = $(RUBY_SITELIBDIR) |
|---|
| 5 | |
|---|
| 6 | if USE_RUBY |
|---|
| 7 | rubylib_LTLIBRARIES = caca.la cucul.la |
|---|
| 8 | rubysite_DATA = lib/caca.rb |
|---|
| 9 | TESTS = test |
|---|
| 10 | endif |
|---|
| 11 | |
|---|
| 12 | CFLAGS += -Wno-strict-prototypes -Wno-missing-prototypes |
|---|
| 13 | |
|---|
| 14 | cucul_la_CPPFLAGS = -I$(top_srcdir)/cucul -I../cucul $(RUBY_CFLAGS) |
|---|
| 15 | cucul_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) |
|---|
| 24 | cucul_la_LDFLAGS = -module -avoid-version -shared $(RUBY_LIBS) |
|---|
| 25 | cucul_la_LIBADD = ../cucul/libcucul.la |
|---|
| 26 | |
|---|
| 27 | caca_la_CPPFLAGS = -I$(top_srcdir)/caca -I$(top_srcdir)/cucul -I../cucul \ |
|---|
| 28 | $(RUBY_CFLAGS) |
|---|
| 29 | caca_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) |
|---|
| 36 | caca_la_LDFLAGS = -module -avoid-version -shared $(RUBY_LIBS) |
|---|
| 37 | caca_la_LIBADD = ../caca/libcaca.la |
|---|
| 38 | |
|---|
| 39 | EXTRA_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.