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 lib_LTLIBRARIES += liblbx.la
11 liblbx_la_SOURCES = src/byteorder.h src/misc.h src/misc.c src/lbx.c src/image.c
13 bin_PROGRAMS += lbxtool
14 lbxtool_SOURCES = src/tools.h src/lbxtool.c
15 lbxtool_LDADD = liblbx.la
18 bin_PROGRAMS += lbximg
19 lbximg_SOURCES = src/tools.h src/lbximg.c
20 lbximg_LDADD = liblbx.la $(LIBPNG_LIBS)
21 lbximg_CFLAGS = $(LIBPNG_CFLAGS)