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

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