]> git.draconx.ca Git - liblbx.git/blob - src/Makefile.inc
license: Add GNU all-permissive license header to supporting files.
[liblbx.git] / src / Makefile.inc
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.
6
7 lbxdir = $(includedir)/lbx
8 lbx_HEADERS = src/lbx.h src/image.h
9
10 lib_LTLIBRARIES  += liblbx.la
11 liblbx_la_SOURCES = src/byteorder.h src/misc.h src/misc.c src/lbx.c src/image.c
12
13 bin_PROGRAMS    += lbxtool
14 lbxtool_SOURCES  = src/tools.h src/lbxtool.c
15 lbxtool_LDADD    = liblbx.la
16
17 if BUILD_LBXIMG
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)
22 endif