source: pwntcha/trunk/src/Makefile.am

Last change on this file was 2317, checked in by Sam Hocevar, 12 years ago
  • Preparing a huge PWNtcha reorganisation. First step: put each decoder in its own subdirectory.
File size: 820 bytes
Line 
1
2SUBDIRS = authimage clubic java linuxfr livejournal lmt paypal phpbb scode \
3          slashdot ticketmaster tickets vbulletin xanga
4
5bin_PROGRAMS = pwntcha
6pwntcha_SOURCES = \
7    main.c \
8    filter.c \
9    font.c \
10    image.c \
11    common.h \
12    easter-eggs.c \
13    test.c \
14    $(NULL)
15pwntcha_CFLAGS = $(imaging_cflags) -Wall -O6
16pwntcha_LDFLAGS = $(imaging_ldflags)
17pwntcha_LDADD = $(SUBDIRS:%=%/libdecoder.a)
18
19if USE_SDL
20imaging_cflags = `sdl-config --cflags`
21imaging_ldflags = `sdl-config --libs` -lSDL_image
22else
23if USE_IMLIB2
24imaging_cflags = `imlib2-config --cflags` -DX_DISPLAY_MISSING=1
25imaging_ldflags = `imlib2-config --libs`
26else
27if USE_OPENCV
28imaging_cflags = `opencv-config --cflags`
29imaging_ldflags = `opencv-config --libs opencv highgui`
30else
31imaging_cflags =
32imaging_ldflags =
33endif
34endif
35endif
36
Note: See TracBrowser for help on using the repository browser.