File: Makefile.am

package info (click to toggle)
libdshconfig 0.20.12-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,476 kB
  • ctags: 40
  • sloc: sh: 8,710; ansic: 230; makefile: 89
file content (53 lines) | stat: -rw-r--r-- 1,484 bytes parent folder | download
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
check_PROGRAMS =  \
	test-dshconfig test-dshconfig-searchdata

INCLUDES = \
	-I$(top_srcdir)

DSHCONFIG_SONAME = 1:0:0

lib_LTLIBRARIES = libdshconfig.la
libdshconfig_la_LDFLAGS = -export-dynamic -version-info $(DSHCONFIG_SONAME) @vsymldflags@
include_HEADERS = libdshconfig.h
test_dshconfig_SOURCES = test-dshconfig.c
test_dshconfig_LDADD = libdshconfig.la
test_dshconfig_searchdata_SOURCES=test-dshconfig-searchdata.c
test_dshconfig_searchdata_LDADD = libdshconfig.la

libdshconfig_la_SOURCES= \
	libdshconfig.c \
	libdshconfig.h 

TESTS=	tests/test-basic.sh \
	tests/test-dshconfig-searchdata.sh \
	tests/test-longline.sh
EXTRA_DIST= \
	tests/test-basic.input \
	tests/test-basic.output \
	tests/test-dshconfig-searchdata.data \
	$(TESTS) \
	libdshconfig.spec \
	dsh.ver

clean-local:
	-rm -r doc

doc: ${srcdir}/*.[ch]
	-@DOXYGEN@ libdshconfig.dox ${srcdir}/*.[ch]

# Make debian pristine-source
../@PACKAGE@_@VERSION@.orig.tar.gz: 
	if [ ! -f $@ ]; then $(MAKE) distcheck && dch -v "@VERSION@-1" "New upstream version" && mv @PACKAGE@-@VERSION@.tar.gz ../@PACKAGE@_@VERSION@.orig.tar.gz; \
	else \
	rm -f @PACKAGE@-@VERSION@.tar.gz; \
	fi

debiandist: ../@PACKAGE@_@VERSION@.orig.tar.gz

viper: distcheck
	scp @PACKAGE@-@VERSION@.tar.gz viper2.netfort.gr.jp:public_html/software/downloads
	rm -f @PACKAGE@-@VERSION@.tar.gz

upload-dist-all: distcheck
	scp @PACKAGE@-@VERSION@.tar.gz viper2.netfort.gr.jp:public_html/software/downloads
	$(MAKE) ../@PACKAGE@_@VERSION@.orig.tar.gz