source: libcaca/trunk/src/Makefile.am @ 2248

Last change on this file since 2248 was 2248, checked in by Sam Hocevar, 12 years ago
  • Don't use mygetopt.c in img2txt if the system has getopt_long.
  • Fix invalid pointer/int cast (Closes #39).
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Makefile.am 2248 2008-02-29 22:29:08Z sam $
2
3pkgdata_DATA = caca.txt
4
5EXTRA_DIST = caca.txt
6AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I$(top_srcdir)/caca -DLIBCACA=1 -DX_DISPLAY_MISSING=1
7
8bin_PROGRAMS = cacademo cacafire cacaplay cacaview img2txt $(fcntl_programs)
9noinst_PROGRAMS = cacadraw
10
11cacademo_SOURCES = cacademo.c texture.h
12cacademo_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
13cacademo_LDFLAGS = @MATH_LIBS@
14
15cacafire_SOURCES = aafire.c
16cacafire_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
17
18cacaview_SOURCES = cacaview.c common-image.c common-image.h
19cacaview_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
20cacaview_CFLAGS = $(IMLIB2_CFLAGS)
21cacaview_LDFLAGS = $(IMLIB2_LIBS)
22
23cacadraw_SOURCES = cacadraw.c
24cacadraw_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
25
26cacaplay_SOURCES = cacaplay.c
27cacaplay_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
28
29cacaserver_SOURCES = cacaserver.c
30cacaserver_LDADD = ../cucul/libcucul.la
31
32img2txt_SOURCES = img2txt.c $(GETOPT) common-image.c common-image.h
33img2txt_LDADD = ../cucul/libcucul.la
34img2txt_CFLAGS = $(IMLIB2_CFLAGS)
35img2txt_LDFLAGS = $(IMLIB2_LIBS) $(GETOPT_LIBS)
36
37if USE_NETWORK
38fcntl_programs = cacaserver
39else
40fcntl_programs =
41endif
42
43if NEED_GETOPT_LONG
44GETOPT = mygetopt.c mygetopt.h
45endif
46
Note: See TracBrowser for help on using the repository browser.