Debian Codegraph @

lib/common/Makefile.am

raw
1 ## Process this file with automake to produce Makefile.in
2
3 AM_CPPFLAGS = \
4 -I$(top_srcdir)/lib \
5 -I$(top_builddir)/lib \
6 -I$(top_srcdir)/libltdl \
7 -I$(top_srcdir)/lib/gvc \
8 -I$(top_srcdir)/lib/pack \
9 -I$(top_srcdir)/lib/pathplan \
10 -I$(top_srcdir)/lib/cgraph \
11 -I$(top_srcdir)/lib/cdt $(GD_INCLUDES) $(Z_INCLUDES)
12
13 if WITH_WIN32
14 AM_CFLAGS = -DGVC_EXPORTS
15 endif
16
17 BUILT_SOURCES = colortbl.h entities.h htmlparse.h
18
19 pkginclude_HEADERS = arith.h geom.h color.h types.h textspan.h usershape.h
20 noinst_HEADERS = boxes.h render.h utils.h \
21 geomprocs.h colorprocs.h globals.h \
22 const.h macros.h htmllex.h htmltable.h pointset.h \
23 textspan_lut.h ps_font_equiv.h
24 noinst_LTLIBRARIES = libcommon_C.la
25
26 libcommon_C_la_SOURCES = arrows.c colxlate.c ellipse.c textspan.c textspan_lut.c \
27 args.c globals.c htmllex.c htmlparse.y htmltable.c input.c \
28 pointset.c postproc.c routespl.c splines.c psusershape.c \
29 timing.c labels.c ns.c shapes.c utils.c geom.c taper.c \
30 output.c emit.c \
31 color_names
32 libcommon_C_la_CPPFLAGS = $(AM_CPPFLAGS) $(EXPAT_CFLAGS)
33 libcommon_C_la_LIBADD = \
34 $(top_builddir)/lib/xdot/libxdot.la $(EXPAT_LIBS)
35
36 colxlate.$(OBJEXT) colxlate.lo: colortbl.h
37
38 colortbl.h: $(top_srcdir)/lib/common/brewer_colors \
39 $(top_srcdir)/lib/common/svgcolor_names \
40 $(top_srcdir)/lib/common/color_names \
41 $(top_srcdir)/lib/common/make_colortbl.py
42 python3 $(top_srcdir)/lib/common/make_colortbl.py \
43 $(top_srcdir)/lib/common/brewer_colors \
44 $(top_srcdir)/lib/common/svgcolor_names \
45 $(top_srcdir)/lib/common/color_names colortbl.h
46
47 utils.$(OBJEXT) utils.lo: entities.h
48
49 entities.h: $(top_srcdir)/lib/common/entities.html \
50 $(top_srcdir)/lib/common/entities.py
51 python3 $(top_srcdir)/lib/common/entities.py "$@"
52
53 htmllex.$(OBJEXT) htmllex.lo: htmllex.c htmllex.h htmlparse.h
54 htmlparse.$(OBJEXT) htmlparse.lo: htmlparse.c htmlparse.h
55
56 htmlparse.c htmlparse.h: $(top_srcdir)/lib/common/htmlparse.y
57 $(YACC) -Wno-yacc -dv $(top_srcdir)/lib/common/htmlparse.y -o htmlparse.c
58
59 DISTCLEANFILES = colortbl.h entities.h htmlparse.[ch]
60
61 EXTRA_DIST = README.imap \
62 htmlparse.c htmlparse.h \
63 entities.h entities.html entities.py \
64 brewer_colors svgcolor_names \
65 color_names colortbl.h \
66 make_colortbl.py