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