File: Makefile.am

package info (click to toggle)
gtkmathview 0.8.0-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,860 kB
  • ctags: 7,306
  • sloc: cpp: 53,699; xml: 12,660; sh: 8,979; makefile: 1,718; ansic: 1,149; perl: 88
file content (97 lines) | stat: -rw-r--r-- 2,009 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97

NULL =

if COND_GTK
if COND_HAVE_POPT
MAYBE_GTK_SUBDIRS = viewer
else
MAYBE_GTK_SUBDIRS = $(NULL)
endif
else
MAYBE_GTK_SUBDIRS = $(NULL)
endif

if COND_SVG
if COND_HAVE_POPT
MAYBE_SVG_SUBDIRS = mathmlsvg
else
MAYBE_SVG_SUBDIRS = $(NULL)
endif
else
MAYBE_SVG_SUBDIRS = $(NULL)
endif

if COND_PS
if COND_HAVE_POPT
MAYBE_PS_SUBDIRS = mathmlps
else
MAYBE_PS_SUBDIRS = $(NULL)
endif
else
MAYBE_PS_SUBDIRS = $(NULL)
endif

EXTRA_DIST = BUGS HISTORY LICENSE ANNOUNCEMENT CONTRIBUTORS config.h.in README.MacOSX
SUBDIRS = scripts config auto autopackage src doc $(MAYBE_GTK_SUBDIRS) $(MAYBE_SVG_SUBDIRS) $(MAYBE_PS_SUBDIRS)
CLEANFILES = core *.log *.eps

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mathview-core.pc
if COND_LIBXML2
pkgconfig_DATA += mathview-frontend-libxml2.pc
endif
if COND_LIBXML2_READER
pkgconfig_DATA += mathview-frontend-libxml2-reader.pc
endif
if COND_CUSTOM_READER
pkgconfig_DATA += mathview-frontend-custom-reader.pc
endif
if COND_GMETADOM
pkgconfig_DATA += mathview-frontend-gmetadom.pc
endif

if COND_GTK
pkgconfig_DATA += mathview-backend-gtk.pc
if COND_LIBXML2
pkgconfig_DATA += gtkmathview-libxml2.pc
endif
if COND_LIBXML2_READER
pkgconfig_DATA += gtkmathview-libxml2-reader.pc
endif
if COND_CUSTOM_READER
pkgconfig_DATA += gtkmathview-custom-reader.pc
endif
if COND_GMETADOM
pkgconfig_DATA += gtkmathview-gmetadom.pc
endif
endif

if COND_SVG
pkgconfig_DATA += mathview-backend-svg.pc
endif

if COND_PS
pkgconfig_DATA += mathview-backend-ps.pc
endif

SCRIPTDIR = ./scripts

backup:
	tar cvfz ../@PACKAGE@-@VERSION@-`date|tr ' ' '_'|tr ':' '_'`.tar.gz .

cleanbak:
	-rm -f `find . -name "*~"`

lc:
	@( \
	CFILES=`find $(top_srcdir) -name "*.c"`; \
	HFILES=`find $(top_srcdir) -name "*.h"`; \
	CCFILES=`find $(top_srcdir) -name "*.cc"`; \
	HHFILES=`find $(top_srcdir) -name "*.hh"`; \
	ICCFILES=`find $(top_srcdir) -name "*.icc"`; \
	wc -l $$CFILES $$HFILES $$CCFILES $$HHFILES $$ICCFILES | tail -n 1 \
	)

distdiff:
	diff -r src/ @PACKAGE@-@VERSION@/src/ | grep '.\(cc\|hh\)$$'