summaryrefslogtreecommitdiffstats
path: root/tools/depends/native/TexturePacker/src/Makefile.am
blob: d6b676f9f2d2e38eb61d280218c681517a78e7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AUTOMAKE_OPTIONS = subdir-objects

AM_CFLAGS = -DTARGET_POSIX
AM_CFLAGS += @EXTRA_DEFINES@
AM_CXXFLAGS = $(AM_CFLAGS) -std=c++0x

AM_CPPFLAGS = \
  -I. \
  -I./decoder \
  -I@KODI_SRC_DIR@/xbmc \
  -I@KODI_SRC_DIR@/xbmc/guilib \
  @CPPFLAGS@

AM_LDFLAGS = @LIBS@ @STATIC_FLAG@


bin_PROGRAMS = TexturePacker
TexturePacker_SOURCES =  md5.cpp \
  XBTFWriter.cpp \
  TexturePacker.cpp \
  DecoderManager.cpp \
  decoder/PNGDecoder.cpp \
  decoder/JPGDecoder.cpp \
  decoder/GifHelper.cpp \
  decoder/GIFDecoder.cpp \
  XBTF.cpp

XBTF.cpp:
	@cp @KODI_SRC_DIR@/xbmc/guilib/XBTF.cpp .