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 src/error.h
10 noinst_HEADERS += src/misc.h src/tools.h src/pack.h
12 lib_LTLIBRARIES += liblbx.la
13 liblbx_la_SOURCES = src/lbx.c src/fops.c src/image.c src/pack.c src/error.c
14 liblbx_la_LDFLAGS = -export-symbols-regex '^lbx_'
16 bin_PROGRAMS += lbxtool
17 lbxtool_SOURCES = src/lbxtool.c
18 lbxtool_LDADD = liblbx.la -lgnu
21 bin_PROGRAMS += lbximg
22 lbximg_SOURCES = src/lbximg.c
23 lbximg_LDADD = liblbx.la $(LIBPNG_LIBS) -lgnu
24 lbximg_CFLAGS = $(LIBPNG_CFLAGS)