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

Last change on this file since 2299 was 2299, checked in by Sam Hocevar, 12 years ago
  • Remove #include <stdint.h> etc. from "common.h". Instead, make sure that <cucul.h> will provide the C99 types, even if libcaca has been installed.
  • Rename what's left of "common.h" to "stubs.h".
  • Remove all references to erroneous <inttypes.h> from source files.
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Makefile.am 2299 2008-04-19 12:42:50Z sam $
2
3pkgdata_DATA = caca.txt
4
5EXTRA_DIST = caca.txt
6AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -I../cucul \
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 ../cucul/libcucul.la
14cacademo_LDFLAGS = @MATH_LIBS@
15
16cacafire_SOURCES = aafire.c
17cacafire_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
18
19cacaview_SOURCES = cacaview.c common-image.c common-image.h
20cacaview_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
21cacaview_CFLAGS = $(IMLIB2_CFLAGS)
22cacaview_LDFLAGS = $(IMLIB2_LIBS)
23
24cacadraw_SOURCES = cacadraw.c
25cacadraw_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
26
27cacaplay_SOURCES = cacaplay.c
28cacaplay_LDADD = ../caca/libcaca.la ../cucul/libcucul.la
29
30cacaserver_SOURCES = cacaserver.c
31cacaserver_LDADD = ../cucul/libcucul.la
32
33img2txt_SOURCES = img2txt.c $(GETOPT) common-image.c common-image.h
34img2txt_LDADD = ../cucul/libcucul.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.