Debian Codegraph @

lib/gvc/Makefile.am

raw
1 ## Process this file with automake to produce Makefile.in
2
3 GVC_VERSION = "7:6:0"
4
5 AM_CPPFLAGS = \
6 -I$(top_srcdir)/lib \
7 -I$(top_srcdir)/lib/common \
8 -I$(top_srcdir)/lib/pathplan \
9 -I$(top_srcdir)/lib/cgraph \
10 -I$(top_srcdir)/lib/cdt \
11 $(INCLTDL) -DGVLIBDIR='"$(pkglibdir)"'
12
13 if WITH_WIN32
14 AM_CFLAGS = -DGVC_EXPORTS=1
15 endif
16
17 LIBS = $(Z_LIBS) $(MATH_LIBS)
18
19 pkginclude_HEADERS = gvc.h gvcext.h gvplugin.h gvcjob.h \
20 gvcommon.h gvplugin_render.h gvplugin_layout.h gvconfig.h \
21 gvplugin_textlayout.h gvplugin_device.h gvplugin_loadimage.h
22 noinst_HEADERS = gvcint.h gvcproc.h gvio.h
23 noinst_LTLIBRARIES = libgvc_C.la
24 lib_LTLIBRARIES = libgvc.la
25 pkgconfig_DATA = libgvc.pc
26 dist_man_MANS = gvc.3
27 if ENABLE_MAN_PDFS
28 pdf_DATA = gvc.3.pdf
29 endif
30
31 libgvc_C_la_SOURCES = gvrender.c gvlayout.c gvdevice.c gvloadimage.c \
32 gvcontext.c gvjobs.c gvevent.c gvplugin.c gvconfig.c \
33 gvtool_tred.c gvtextlayout.c gvusershape.c gvc.c
34
35 libgvc_C_la_LIBADD = \
36 $(top_builddir)/lib/pack/libpack_C.la \
37 $(top_builddir)/lib/common/libcommon_C.la \
38 $(top_builddir)/lib/label/liblabel_C.la
39 if WITH_ORTHO
40 libgvc_C_la_LIBADD += $(top_builddir)/lib/ortho/libortho_C.la
41 endif
42 if ENABLE_LTDL
43 libgvc_C_la_LIBADD += $(LIBLTDL)
44 endif
45
46 libgvc_la_LDFLAGS = -version-info $(GVC_VERSION) -no-undefined
47 libgvc_la_SOURCES = $(libgvc_C_la_SOURCES)
48 libgvc_la_LIBADD = $(libgvc_C_la_LIBADD) \
49 $(top_builddir)/lib/pathplan/libpathplan.la \
50 $(top_builddir)/lib/cgraph/libcgraph.la \
51 $(top_builddir)/lib/cdt/libcdt.la \
52 $(top_builddir)/lib/util/libutil_C.la \
53 $(EXPAT_LIBS) $(Z_LIBS) $(MATH_LIBS)
54
55 .3.3.pdf:
56 rm -f $@; pdffile=$@; psfile=$${pdffile%pdf}ps; \
57 $(GROFF) -Tps -man $< > $$psfile || { rm -f $$psfile; exit 1; }; \
58 $(PS2PDF) $$psfile && rm -f $$psfile || { rm -f $$psfile; exit 1; }
59 SUFFIXES = .3 .3.pdf
60
61 DISTCLEANFILES = $(pdf_DATA)