Makefile.am 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. EXTRA_DIST =
  2. SUBDIRS =
  3. AUTOMAKE_OPTIONS = foreign
  4. NAME=dingaling
  5. PREFIX=$(prefix)
  6. TOUCH_TARGET=@if test -f "$@" ; then touch "$@" ; fi ;
  7. AM_CFLAGS = $(new_AM_CFLAGS) -I./src -I$(prefix)/include
  8. AM_CPPFLAGS = $(AM_CFLAGS)
  9. AM_LDFLAGS = $(new_AM_LDFLAGS)
  10. AM_CFLAGS += `../apr/apr-1-config --cflags --cppflags --includes || $(prefix)/bin/apr-1-config --cflags --cppflags --includes`
  11. AM_CFLAGS += `../apr-util/apu-1-config --includes || $(prefix)/bin/apu-1-config --includes`
  12. AM_CFLAGS += -I../iksemel/include
  13. lib_LTLIBRARIES = libdingaling.la
  14. libdingaling_la_SOURCES = src/libdingaling.c src/sha1.c
  15. libdingaling_la_CFLAGS = $(AM_CFLAGS)
  16. libdingaling_la_LDFLAGS = $(AM_LDFLAGS)
  17. libdingaling_la_LIBADD = ../iksemel/src/libiksemel.la ../apr/libapr-1.la ../apr-util/libaprutil-1.la
  18. library_includedir = $(prefix)/include
  19. library_include_HEADERS = src/libdingaling.h
  20. $(libdingaling_la_SOURCES): $(libdingaling_la_LIBADD)
  21. ../apr/libapr-1.la: ../apr ../apr/.update
  22. cd ../apr && $(MAKE)
  23. $(TOUCH_TARGET)
  24. ../apr-util/libaprutil-1.la: ../apr-util ../apr-util/.update
  25. cd ../apr-util && $(MAKE)
  26. $(TOUCH_TARGET)
  27. ../iksemel/src/libiksemel.la: ../iksemel ../iksemel/.update
  28. cd ../iksemel && $(MAKE)
  29. $(TOUCH_TARGET)
  30. dox:
  31. cd docs && doxygen $(PWD)/docs/Doxygen.conf
  32. doxclean:
  33. rm -fr docs/html/ docs/man/ docs/perlmod/ docs/xml/