source: libcaca/trunk/src/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.2 KB
Line 
1# $Id: Makefile.am 2821 2008-09-27 13:12:46Z sam $
2
3pkgdata_DATA = caca.txt
4
5EXTRA_DIST = caca.txt
6AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/caca -I../caca \
7              -I$(top_srcdir)/caca -DLIBCACA=1 -DX_DISPLAY_MISSING=1
8
9bin_PROGRAMS = cacademo cacafire cacaplay cacaview img2txt $(fcntl_programs)
10noinst_PROGRAMS = cacadraw
11
12cacademo_SOURCES = cacademo.c texture.h
13cacademo_LDADD = ../caca/libcaca.la ../caca/libcaca.la
14cacademo_LDFLAGS = @MATH_LIBS@
15
16cacafire_SOURCES = aafire.c
17cacafire_LDADD = ../caca/libcaca.la ../caca/libcaca.la
18
19cacaview_SOURCES = cacaview.c common-image.c common-image.h
20cacaview_LDADD = ../caca/libcaca.la ../caca/libcaca.la
21cacaview_CFLAGS = $(IMLIB2_CFLAGS)
22cacaview_LDFLAGS = $(IMLIB2_LIBS)
23
24cacadraw_SOURCES = cacadraw.c
25cacadraw_LDADD = ../caca/libcaca.la ../caca/libcaca.la
26
27cacaplay_SOURCES = cacaplay.c
28cacaplay_LDADD = ../caca/libcaca.la ../caca/libcaca.la
29
30cacaserver_SOURCES = cacaserver.c
31cacaserver_LDADD = ../caca/libcaca.la
32
33img2txt_SOURCES = img2txt.c $(GETOPT) common-image.c common-image.h
34img2txt_LDADD = ../caca/libcaca.la
35img2txt_CFLAGS = $(IMLIB2_CFLAGS)
36img2txt_LDFLAGS = $(IMLIB2_LIBS) $(GETOPT_LIBS)
37
38if USE_NETWORK
39fcntl_programs = cacaserver
40else
41fcntl_programs =
42endif
43
44if NEED_GETOPT_LONG
45GETOPT = mygetopt.c mygetopt.h
46endif
47
Note: See TracBrowser for help on using the repository browser.