source: pwntcha/trunk/src/Makefile.am @ 448

Last change on this file since 448 was 448, checked in by Sam Hocevar, 17 years ago
  • Use font_load_* for all decoders.
File size: 884 bytes
Line 
1NULL =
2
3bin_PROGRAMS = pwntcha
4pwntcha_SOURCES = \
5    main.c \
6    filter.c \
7    font.c \
8    image.c \
9    common.h \
10    authimage.c \
11    clubic.c \
12    linuxfr.c \
13    phpbb.c \
14    scode.c \
15    slashdot.c \
16    vbulletin.c \
17    xanga.c \
18    test.c
19pwntcha_CFLAGS = $(ADDITIONAL_CFLAGS) -Wall -O6
20pwntcha_LDFLAGS = $(ADDITIONAL_LDFLAGS)
21pwntcha_LDADD = $(ADDITIONAL_LDADD)
22
23if USE_SDL
24ADDITIONAL_CFLAGS = `sdl-config --cflags`
25ADDITIONAL_LDFLAGS = `sdl-config --libs` -lSDL_image
26ADDITIONAL_LDADD =
27else
28if USE_IMLIB2
29ADDITIONAL_CFLAGS = `imlib2-config --cflags` -DX_DISPLAY_MISSING=1
30ADDITIONAL_LDFLAGS = `imlib2-config --libs`
31ADDITIONAL_LDADD =
32else
33if USE_OPENCV
34ADDITIONAL_CFLAGS = `opencv-config --cflags`
35ADDITIONAL_LDFLAGS = `opencv-config --libs opencv highgui`
36ADDITIONAL_LDADD =
37else
38ADDITIONAL_CFLAGS =
39ADDITIONAL_LDFLAGS =
40ADDITIONAL_LDADD =
41endif
42endif
43endif
44
Note: See TracBrowser for help on using the repository browser.