File: Makefile.am

package info (click to toggle)
jclassinfo 0.19.1-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,140 kB
  • sloc: sh: 8,551; ansic: 6,672; makefile: 203; xml: 93
file content (57 lines) | stat: -rw-r--r-- 1,663 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
## Process this file with automake to produce Makefile.in

INDENT_OPTIONS = "-bad -bap -bbb -bl -bli0 -brs -cdw -cli4 -lprs -psl -npcs -nprs -sbi0 -ts4 -i4 \
	-T int8_t -T uint8_t -T int16_t -T uint16_t -T int32_t -T uint32_t -T int64_t -T uint64_t"

if ENABLE_JCLASSINFO
SUBDIRS = jclass jclassinfo xml docs
else
SUBDIRS = jclass docs
endif

EXTRA_DIST = debian \
			 jclassinfo.1 \
			 jclassinfo.spec.in \
             jclassinfo.spec \
			 jclassconfig.h.in \
			 getopt \
			 README.win32

jclass_configdir = $(libdir)/jclass/include
jclass_config_DATA = jclassconfig.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = jclass.pc

man_MANS = jclassinfo.1

dist-hook:
	rm -rf `find $(distdir) -name CVS`
	rm -rf `find $(distdir) -name .svn`

distclean-local:
	rm -rf autom4te.cache
	rm -f jclassinfo/getopt.c
	rm -f jclassinfo/getopt1.c

win32-dist: all jclassinfo/jclassinfo.exe
	rm -rf .tmp/@PACKAGE_TARNAME@
	mkdir -p .tmp/@PACKAGE_TARNAME@
	cp jclassinfo/jclassinfo.exe .tmp/@PACKAGE_TARNAME@
	@STRIP@ .tmp/@PACKAGE_TARNAME@/jclassinfo.exe
	cp AUTHORS .tmp/@PACKAGE_TARNAME@
	cp COPYING .tmp/@PACKAGE_TARNAME@
	cp README .tmp/@PACKAGE_TARNAME@
	cp NEWS .tmp/@PACKAGE_TARNAME@
	cp xml/jclassinfo.dtd .tmp/@PACKAGE_TARNAME@
	cd .tmp && zip -9 -r ../@PACKAGE_TARNAME@-@PACKAGE_VERSION@.zip @PACKAGE_TARNAME@/
	rm -r .tmp

indent: ctags
	rm -f .indent.options
	echo $(INDENT_OPTIONS) > .indent.options
	for tag in `find $(SUBDIRS) -name tags`; do \
		cat $$tag |grep -e "t$$" |awk '"*" { print "-T ", $$1 }' >>.indent.options; \
	done

	INDENT_PROFILE=".indent.options" indent `find $(SUBDIRS) -name "*.c"` `find $(SUBDIRS) -name "*.h"`
	rm .indent.options