source: libcaca/trunk/caca/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.
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Makefile.am 2299 2008-04-19 12:42:50Z sam $
2
3EXTRA_DIST = caca.pc.in
4DISTCLEANFILES = caca.pc
5
6AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I../cucul \
7              -DPLUGINDIR=\"$(plugindir)\"
8
9pkgconfig_DATA = caca.pc
10pkgconfigdir = $(libdir)/pkgconfig
11
12include_HEADERS = caca.h caca0.h
13
14lib_LTLIBRARIES = libcaca.la
15
16libcaca_la_SOURCES = \
17        caca.c \
18        caca.h \
19        caca_internals.h \
20        caca0.c \
21        caca0.h \
22        graphics.c \
23        event.c \
24        time.c \
25        driver_conio.c \
26        driver_ncurses.c \
27        driver_raw.c \
28        driver_slang.c \
29        driver_vga.c \
30        driver_win32.c \
31        $(cocoa_source) \
32        $(extra_source) \
33        $(NULL)
34libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
35libcaca_la_LIBADD = ../cucul/libcucul.la @CACA_LIBS@
36
37if USE_PLUGINS
38plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
39plugindir = $(libdir)/caca
40
41libx11_plugin_la_SOURCES = driver_x11.c
42libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
43libx11_plugin_la_LIBADD = libcaca.la ../cucul/libcucul.la $(X11_LIBS)
44
45libgl_plugin_la_SOURCES = driver_gl.c
46libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
47libgl_plugin_la_LIBADD = libcaca.la ../cucul/libcucul.la $(GL_LIBS)
48else
49extra_source = driver_x11.c driver_gl.c
50endif
51
52if USE_COCOA
53cocoa_source = driver_cocoa.m
54endif
55
Note: See TracBrowser for help on using the repository browser.