1 # Copyright (C) 2009 Nick Bowler
2 # Copying and distribution of this file, with or without modification,
3 # are permitted in any medium without royalty provided the copyright
4 # notice and this notice are preserved. This file is offered as-is,
5 # without any warranty.
7 lbxdir = $(includedir)/lbx
8 lbx_HEADERS = src/lbx.h src/image.h
10 noinst_HEADERS += src/byteorder.h src/misc.h src/tools.h
12 lib_LTLIBRARIES += liblbx.la
13 liblbx_la_SOURCES = src/misc.c src/lbx.c src/image.c
15 bin_PROGRAMS += lbxtool
16 lbxtool_SOURCES = src/lbxtool.c
17 lbxtool_LDADD = liblbx.la
20 bin_PROGRAMS += lbximg
21 lbximg_SOURCES = src/lbximg.c
22 lbximg_LDADD = liblbx.la $(LIBPNG_LIBS)
23 lbximg_CFLAGS = $(LIBPNG_CFLAGS)