Debian Codegraph @

lib/cdt/Makefile.am

raw
1 ## Process this file with automake to produce Makefile.in
2
3 CDT_VERSION = "6:2:0"
4
5 pkgextraincludedir = $(pkgincludedir)
6
7 AM_CPPFLAGS = -I$(top_srcdir)/lib
8
9 if WITH_WIN32
10 AM_CFLAGS = -DEXPORT_CDT=1
11 endif
12
13 pkginclude_HEADERS = cdt.h
14 noinst_HEADERS = dthdr.h
15 noinst_LTLIBRARIES = libcdt_C.la
16 lib_LTLIBRARIES = libcdt.la
17 dist_man_MANS = cdt.3
18 if ENABLE_MAN_PDFS
19 pdf_DATA = cdt.3.pdf
20 endif
21 pkgconfig_DATA = libcdt.pc
22
23 libcdt_C_la_SOURCES = dtclose.c dtdisc.c dtextract.c dtflatten.c \
24 dthash.c dtmethod.c dtopen.c dtrenew.c dtrestore.c dtsize.c \
25 dtstat.c dtstrhash.c dttree.c dtview.c dtwalk.c
26
27 libcdt_la_LDFLAGS = -version-info $(CDT_VERSION) -no-undefined
28 libcdt_la_SOURCES = $(libcdt_C_la_SOURCES)
29
30 .3.3.pdf:
31 rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \
32 $(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \
33 $(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; }
34 SUFFIXES = .3 .3.pdf
35
36 DISTCLEANFILES = $(pdf_DATA)