2006-03-31 14:38:09 -05:00
|
|
|
EXTRA_DIST =
|
|
|
|
SUBDIRS =
|
|
|
|
AUTOMAKE_OPTS= gnu
|
|
|
|
NAME=dingaling
|
|
|
|
PREFIX=$(prefix)
|
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-11 10:31:27 -04:00
|
|
|
APR_CONFIG= $(shell which ../apr/apr-1-config || which $(prefix)/bin/apr-1-config )
|
|
|
|
APU_CONFIG= $(shell which ../apr-util/apu-1-config || which $(prefix)/bin/apu-1-config)
|
2006-03-31 14:38:09 -05:00
|
|
|
AM_CFLAGS += -I$(PREFIX)/include $(shell $(APR_CONFIG) --cflags --cppflags --includes)
|
|
|
|
AM_LDFLAGS += -L$(PREFIX)/lib
|
|
|
|
AM_LDFLAGS += $(shell $(APR_CONFIG) --link-ld --libs )
|
|
|
|
AM_CFLAGS += $(shell $(APU_CONFIG) --includes)
|
|
|
|
AM_LDFLAGS += $(shell $(APU_CONFIG) --link-ld --libs )
|
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)
|
|
|
|
libdingaling_la_LDFLAGS =
|
2007-03-15 00:32:09 -04:00
|
|
|
libdingaling_la_LIBADD = ../iksemel/src/libiksemel.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dox:
|
|
|
|
cd docs && doxygen $(PWD)/docs/Doxygen.conf
|
|
|
|
|
|
|
|
doxclean:
|
|
|
|
rm -fr docs/html/ docs/man/ docs/perlmod/ docs/xml/
|