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

Last change on this file since 2087 was 2087, checked in by Sam Hocevar, 12 years ago
  • Use libtool’s -version-number instead of -version-info and its insane major/minor computation scheme.
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Makefile.am 2087 2007-11-28 07:14:55Z 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        $(cocoa_source) \
31        $(extra_source) \
32        $(NULL)
33libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
34libcaca_la_LIBADD = ../cucul/libcucul.la @CACA_LIBS@
35
36if USE_PLUGINS
37plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
38plugindir = $(libdir)/caca
39
40libx11_plugin_la_SOURCES = driver_x11.c
41libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
42libx11_plugin_la_LIBADD = libcaca.la ../cucul/libcucul.la $(X11_LIBS)
43
44libgl_plugin_la_SOURCES = driver_gl.c
45libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
46libgl_plugin_la_LIBADD = libcaca.la ../cucul/libcucul.la $(GL_LIBS)
47else
48extra_source = driver_x11.c driver_gl.c
49endif
50
51if USE_COCOA
52cocoa_source = driver_cocoa.m
53endif
54
Note: See TracBrowser for help on using the repository browser.