File: Makefile.am

package info (click to toggle)
librest 0.8.1-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 768 kB
  • sloc: ansic: 6,789; makefile: 284; xml: 45; sh: 16
file content (36 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (4)
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
SUBDIRS = rest rest-extras examples docs tests

%-$(API_VERSION).pc: %.pc
	$(AM_V_GEN)cp $< $@

pkgconfigdir   = $(libdir)/pkgconfig
pkgconfig_DATA = rest-$(API_VERSION).pc rest-extras-$(API_VERSION).pc

CLEANFILES = $(pkgconfig_DATA)

DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc

ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}

all-local: rest-$(API_VERSION).pc rest-extras-$(API_VERSION).pc

if GCOV_ENABLED
cov-reset:
	@rm -fr coverage
	@find . -name "*.gcda" -exec rm {} \;
	@lcov --directory . --zerocounters

cov-report:
	@mkdir -p coverage
	@lcov --compat-libtool --directory . --capture --output-file coverage/app.info
	@genhtml -o coverage/ coverage/app.info

cov:
	@make cov-report

clean-local:
	@make cov-reset

check:
	@make cov
endif