2006-03-31 14:38:09 -05:00
|
|
|
EXTRA_DIST =
|
|
|
|
SUBDIRS =
|
2007-03-17 18:21:27 -04:00
|
|
|
AUTOMAKE_OPTS=foreign
|
2006-03-31 14:38:09 -05:00
|
|
|
NAME=dingaling
|
|
|
|
PREFIX=$(prefix)
|
2007-03-17 18:21:27 -04:00
|
|
|
TOUCH_TARGET=@if test -f "$@" ; then touch "$@" ; fi ;
|
2006-12-14 17:45:30 -05:00
|
|
|
|
|
|
|
AM_CFLAGS = $(new_AM_CFLAGS) -I./src -I$(prefix)/include
|
2006-03-31 14:38:09 -05:00
|
|
|
AM_CPPFLAGS = $(AM_CFLAGS)
|
2007-03-11 10:31:27 -04:00
|
|
|
AM_LDFLAGS = $(new_AM_LDFLAGS)
|
2006-03-31 14:38:09 -05:00
|
|
|
|
2007-03-17 18:21:27 -04:00
|
|
|
AM_CFLAGS += `../apr/apr-1-config --cflags --cppflags --includes || $(prefix)/bin/apr-1-config --cflags --cppflags --includes`
|
|
|
|
AM_CFLAGS += `../apr-util/apu-1-config --includes || $(prefix)/bin/apu-1-config --includes`
|
2007-03-11 10:31:27 -04:00
|
|
|
AM_CFLAGS += -I../iksemel/include
|
2007-03-15 00:32:09 -04:00
|
|
|
|
2006-03-31 14:38:09 -05:00
|
|
|
lib_LTLIBRARIES = libdingaling.la
|
2006-10-18 18:57:35 -04:00
|
|
|
libdingaling_la_SOURCES = src/libdingaling.c src/sha1.c
|
2006-03-31 14:38:09 -05:00
|
|
|
libdingaling_la_CFLAGS = $(AM_CFLAGS)
|
2007-03-17 18:21:27 -04:00
|
|
|
libdingaling_la_LDFLAGS = $(AM_LDFLAGS)
|
|
|
|
libdingaling_la_LIBADD = ../iksemel/src/libiksemel.la ../apr/libapr-1.la ../apr-util/libaprutil-1.la
|
2006-03-31 14:38:09 -05:00
|
|
|
library_includedir = $(prefix)/include
|
2006-04-04 12:07:40 -04:00
|
|
|
library_include_HEADERS = src/libdingaling.h
|
2006-03-31 14:38:09 -05:00
|
|
|
|
2007-03-17 18:21:27 -04:00
|
|
|
$(libdingaling_la_SOURCES): $(libdingaling_la_LIBADD)
|
|
|
|
|
|
|
|
../apr/libapr-1.la: ../apr ../apr/.update
|
|
|
|
cd ../apr && $(MAKE)
|
|
|
|
$(TOUCH_TARGET)
|
|
|
|
|
|
|
|
../apr-util/libaprutil-1.la: ../apr-util ../apr-util/.update
|
|
|
|
cd ../apr-util && $(MAKE)
|
|
|
|
$(TOUCH_TARGET)
|
2006-03-31 14:38:09 -05:00
|
|
|
|
2007-03-17 18:21:27 -04:00
|
|
|
../iksemel/src/libiksemel.la: ../iksemel ../iksemel/.update
|
|
|
|
cd ../iksemel && $(MAKE)
|
|
|
|
$(TOUCH_TARGET)
|
2006-03-31 14:38:09 -05:00
|
|
|
|
|
|
|
dox:
|
|
|
|
cd docs && doxygen $(PWD)/docs/Doxygen.conf
|
|
|
|
|
|
|
|
doxclean:
|
|
|
|
rm -fr docs/html/ docs/man/ docs/perlmod/ docs/xml/
|