File: Makefile.am

package info (click to toggle)
metview 4.4.8+dfsg.1-8
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 34,112 kB
  • ctags: 35,138
  • sloc: cpp: 185,595; ansic: 61,514; sh: 12,517; xml: 4,003; makefile: 3,583; yacc: 1,183; fortran: 762; lex: 761; perl: 333; f90: 41; python: 10
file content (58 lines) | stat: -rwxr-xr-x 1,276 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
54
55
56
57
58
SUBDIRS		= src scripts share/metview test
DIST_SUBDIRS	= src scripts share/metview test rpms

EXTRA_DIST	= LICENSE NOTICE config version.sh docs/Metview_Installation_Guide.pdf metview.desktop bootstrap

#bin_SCRIPTS	= bin/metview.sh
ACLOCAL_AMFLAGS	= -I m4

#cleanall:
#	cd src; $(MAKE) cleanall ; echo "MAKE CLEANALL > src"
#	cd scripts; $(MAKE) cleanall ; echo "MAKE CLEANALL > scripts"

#
#  For Gnome and KDE menues
#
appsdir = $(datadir)/applications
apps_DATA = metview.desktop

#clean-all: clean
#	cd src/libMars ; $(MAKE) clean-all ; cd ../Macro ; $(MAKE) clean-all

clean-local:
	-rm -Rf bin/*
	-rm -f lib/*
depend:
	cd share/metview/icons && touch make.dep && make depend

quiet:
	make --quiet install
	make check

RPM = rpm

rpms srcrpm: dist
	(cd rpms && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1
	rpmarch=`$(RPM) --showrc | grep "^build arch" | \
	sed 's/\(.*: \)\(.*\)/\2/'`; \
	test -z "rpms/$$rpmarch" || \
	 ( mv rpms/$$rpmarch/* rpms/. && rm -rf rpms/$$rpmarch )
	rm -rf rpms/$(distdir)


# we do not want to distribute CONFIG.site...
dist-hook:
	rm -f $(distdir)/config/CONFIG.site


.PHONY: srcrpm rpms dist-hook



# we need a lib64 for 64-bit machines when we run inline fortran/c from
# a development version

BUILT_SOURCES = lib64

lib64:
	ln -s lib lib64