File: Makefile.in

package info (click to toggle)
mlterm 3.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,340 kB
  • sloc: ansic: 154,713; sh: 5,302; cpp: 2,953; objc: 2,776; java: 2,472; makefile: 2,445; perl: 1,674; xml: 44
file content (62 lines) | stat: -rw-r--r-- 2,033 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
59
60
61
62
MAKE_DIRS=@MAKE_DIRS2@

all .DEFAULT:
	# "cd baselib" and "cd encodefilter" must be enclosed by () because it may not return
	# to the $(top_builddir) at the next line.
	if [ -f baselib/Makefile ]; then (cd baselib ; $(MAKE) $@) ; fi
	if [ -f encodefilter/Makefile ]; then (cd encodefilter ; $(MAKE) $@) ; fi
	(for dir in $(MAKE_DIRS) ; do (cd $${dir} ; $(MAKE) $@) || exit $? ; done) && \
	if test "$@" != "clean" ; then touch BUILD_SUCCESS ; else rm -f BUILD_SUCCESS ; fi

BUILD_SUCCESS: Makefile
	$(MAKE) all

install: BUILD_SUCCESS
	if [ -f baselib/Makefile ]; then (cd baselib ; $(MAKE) install-la) ; fi
	if [ -f encodefilter/Makefile ]; then (cd encodefilter ; $(MAKE) install-la) ; fi
	for dir in $(MAKE_DIRS) ; do (cd $${dir} ; $(MAKE) $@) || exit $? ; done

install-fb: BUILD_SUCCESS
	for dir in main vtemu `find inputmethod -name Makefile|sed 's/\/Makefile//'` ; \
		do (cd $${dir} ; $(MAKE) install) || exit $? ; done

install-wl: BUILD_SUCCESS
	for dir in main vtemu `find inputmethod -name Makefile|sed 's/\/Makefile//'` ; \
		do (cd $${dir} ; $(MAKE) install) || exit $? ; done

install-sdl2: BUILD_SUCCESS
	for dir in main vtemu uitoolkit/libotl `find inputmethod -name Makefile|sed 's/\/Makefile//'` ; \
		do (cd $${dir} ; $(MAKE) install) || exit $? ; done

vte:
	(cd gtk; $(MAKE))

install-vte:
	(cd gtk; $(MAKE) install)

clean-vte:
	(cd gtk; $(MAKE) clean)

vterm:
	(cd libvterm; $(MAKE))

install-vterm:
	(cd libvterm; $(MAKE) install)

clean-vterm:
	(cd libvterm; $(MAKE) clean)

distclean:
	if [ -f baselib/Makefile ]; then (cd baselib ; $(MAKE) $@) ; fi
	if [ -f encodefilter/Makefile ]; then (cd encodefilter ; $(MAKE) $@) ; fi
	if [ -f gtk/Makefile ]; then (cd gtk ; $(MAKE) $@) ; fi
	if [ -f libvterm/Makefile ]; then (cd libvterm ; $(MAKE) $@) ; fi
	for dir in $(MAKE_DIRS) java ; do (cd $${dir} ; $(MAKE) $@) || exit $? ; done
	rm -rf gui
	rm -f config.log config.cache config.status libtool Makefile \
		common/c_config.h common/stamp-h1 BUILD_SUCCESS

tags:
	find . -name "*.[ch]" | xargs etags

test: