source: libcaca/trunk/caca/Makefile.am @ 1269

Last change on this file since 1269 was 1208, checked in by Sam Hocevar, 14 years ago
  • Added a --enable-plugins configure flag that builds the GL and X11 drivers as plugins. This way, libcaca does not directly depend on those libraries.
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Makefile.am 1208 2006-10-19 22:43:17Z sam $
2
3EXTRA_DIST = caca.pc.in
4DISTCLEANFILES = caca.pc
5
6AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -DPLUGINDIR=\"$(plugindir)\"
7
8pkgconfig_DATA = caca.pc
9pkgconfigdir = $(libdir)/pkgconfig
10
11include_HEADERS = caca.h caca0.h
12
13lib_LTLIBRARIES = libcaca.la
14
15libcaca_la_SOURCES = \
16        caca.c \
17        caca.h \
18        caca_internals.h \
19        caca0.c \
20        caca0.h \
21        graphics.c \
22        event.c \
23        time.c \
24        driver_conio.c \
25        driver_ncurses.c \
26        driver_raw.c \
27        driver_slang.c \
28        driver_vga.c \
29        driver_win32.c \
30        $(extra_drivers) \
31        $(NULL)
32libcaca_la_LDFLAGS = -no-undefined -version-info @LT_VERSION@
33libcaca_la_LIBADD = ../cucul/libcucul.la @CACA_LIBS@
34
35if USE_PLUGINS
36plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
37plugindir = $(libdir)/caca
38
39libx11_plugin_la_SOURCES = driver_x11.c
40libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
41libx11_plugin_la_LIBADD = libcaca.la ../cucul/libcucul.la @X11_LIBS@
42
43libgl_plugin_la_SOURCES = driver_gl.c
44libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
45libgl_plugin_la_LIBADD = libcaca.la ../cucul/libcucul.la @GL_LIBS@
46else
47extra_drivers = driver_x11.c driver_gl.c
48endif
49
Note: See TracBrowser for help on using the repository browser.