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

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

Minor build system cosmetic changes.

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Makefile.am 2959 2008-10-16 23:44:49Z sam $
2
3pkgdata_DATA = caca.txt
4
5EXTRA_DIST = caca.txt cacademo.vcproj cacafire.vcproj cacaview.vcproj
6AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/caca -I../caca \
7              -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.