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

Last change on this file since 2821 was 2821, checked in by Sam Hocevar, 11 years ago

Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.

  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Makefile.am 2821 2008-09-27 13:12:46Z sam $
2
3EXTRA_DIST = caca_types.h.in caca.pc.in mono9.data monobold12.data
4DISTCLEANFILES = caca_types.h caca.pc
5
6AM_CPPFLAGS = -I$(top_srcdir) -DPLUGINDIR=\"$(plugindir)\"
7
8pkgconfig_DATA = caca.pc
9pkgconfigdir = $(libdir)/pkgconfig
10
11include_HEADERS = caca.h caca_types.h caca0.h
12
13lib_LTLIBRARIES = libcaca.la
14
15libcaca_la_SOURCES = \
16        caca.c \
17        caca.h \
18        caca_types.h \
19        caca_internals.h \
20        caca0.c \
21        caca0.h \
22        canvas.c \
23        string.c \
24        legacy.c \
25        transform.c \
26        charset.c \
27        attr.c \
28        line.c \
29        box.c \
30        conic.c \
31        triangle.c \
32        frame.c \
33        dither.c \
34        font.c \
35        import.c \
36        export.c \
37        file.c \
38        figfont.c \
39        graphics.c \
40        event.c \
41        time.c \
42        driver_conio.c \
43        driver_ncurses.c \
44        driver_raw.c \
45        driver_slang.c \
46        driver_vga.c \
47        driver_win32.c \
48        $(cocoa_source) \
49        $(extra_source) \
50        $(NULL)
51libcaca_la_DEPENDENCIES = \
52        mono9.data \
53        monobold12.data \
54        $(NULL)
55libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@
56libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
57libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS)
58
59if USE_PLUGINS
60plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
61plugindir = $(libdir)/caca
62
63libx11_plugin_la_SOURCES = driver_x11.c
64libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
65libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
66libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
67
68libgl_plugin_la_SOURCES = driver_gl.c
69libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
70libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
71libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
72else
73extra_source = driver_x11.c driver_gl.c
74endif
75
76if USE_COCOA
77cocoa_source = driver_cocoa.m
78endif
79
Note: See TracBrowser for help on using the repository browser.