]> git.draconx.ca Git - liblbx.git/blob - src/Makefile.inc
c033f5376cb20ad3c0398fa46bbb6ff1fdf5b775
[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 src/error.h
9
10 noinst_HEADERS += src/misc.h src/tools.h src/pack.h
11
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
15 bin_PROGRAMS    += lbxtool
16 lbxtool_SOURCES  = src/lbxtool.c
17 lbxtool_LDADD    = liblbx.la -lgnu
18
19 if BUILD_LBXIMG
20 bin_PROGRAMS   += lbximg
21 lbximg_SOURCES  = src/lbximg.c
22 lbximg_LDADD    = liblbx.la $(LIBPNG_LIBS) -lgnu
23 lbximg_CFLAGS   = $(LIBPNG_CFLAGS)
24 endif