File: Makefile.in

package info (click to toggle)
vflib3 3.6.14.dfsg-3+nmu3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 11,536 kB
  • ctags: 3,710
  • sloc: ansic: 35,811; sh: 10,357; asm: 3,290; makefile: 962; lisp: 123; perl: 109; awk: 43
file content (76 lines) | stat: -rw-r--r-- 2,229 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#  Makefile.in for VFlib3
#  by Hirotsugu Kakugawa (h.kakugwa@computer.org)

makedefault: default
include make-sub

#-------------------------------------------------
LIBTOOL = ./libtool

MAKE_SUBDIRS  = src ccv utils
INST_SUBDIRS  = $(MAKE_SUBDIRS) doc t1lib ascii-jtex 
CLEAN_SUBDIRS = $(MAKE_SUBDIRS) doc t1lib ascii-jtex vflibcaps

default all:
	for d in $(MAKE_SUBDIRS) ; do \
	  (cd $$d ; $(MAKE) $@); done

install:
	@if [ ! -d $(bindir) ] ; then \
	    ./recmkdir $(bindir); fi
	@if [ ! -d $(libdir) ] ; then \
	    ./recmkdir $(libdir); fi
	@if [ ! -d $(runtimesitedir) ] ; then \
	    ./recmkdir $(runtimesitedir); fi
	@if [ ! -d $(runtimedir) ] ; then \
	    ./recmkdir $(runtimedir); fi
	@for d in $(INST_SUBDIRS) ; do \
	  (cd $$d ; $(MAKE) $@); done
	@echo "Installing vflibcaps..."
	@for f in `ls ./vflibcaps/vflibcap*`; do \
	   ./$(INSTALL_DATA) $$f $(runtimedir); done
	@./$(INSTALL_PROGRAM) VFlib3-config $(bindir)

uninstall:
	@for d in $(INST_SUBDIRS) ; do \
	  (cd $$d ; $(MAKE) $@); done
	-$(RM) $(runtimedir)/vflibcap* 
	-$(RMDIR) $(runtimedir)

clean veryclean::
	-for d in $(CLEAN_SUBDIRS) ; do \
	  (cd $$d ; $(MAKE) $@); done
distclean::
	for d in $(CLEAN_SUBDIRS) ; do \
	  (cd $$d ; $(MAKE) $@); done
	-pwd=`pwd`; \
	for d in `find $$pwd -type d -print | \
	          grep '^.*-[0-9]\.[0-9.]*$$'` ; do \
	  dir=`echo $$d | sed 's/^\(.*\)-[0-9.]*$$/\1/'`; \
	  if test -h $$dir; then \
	    echo Removing a symbolic link: $$dir; \
	    $(RM) $$dir; \
	  fi; \
	done
	(cd X11; rm -f x11.mk Makefile *.bak *~ core *.core)
	-$(RM) make-sub VFlib3-config WebFiles.tar

wc:
	find . -name '*.[c,h]' -print | xargs wc

# DEVELOPERS ONLY
web-files:
	-$(RM) WebFiles.tar
	(cd doc;           tar cvf    ../WebFiles.tar  *.ps *.html )
	(cd doc/Paper1;    tar rvf ../../WebFiles.tar  *.ps )
	(cd doc/Paper2-ja; tar rvf ../../WebFiles.tar  *.ps )
	(cd .;             tar rvf     ./WebFiles.tar  CHANGES )
	(cd .;             tar rvf     ./WebFiles.tar  ANNOUNCE*.txt )
	(cd utils;         tar rvf    ../WebFiles.tar \
			     ctext2pgm/Samples/*.html \
			     ctext2pgm/Samples/CTEXT \
			     ctext2pgm/Samples/CTEXT-MULE-ARABIC \
			     ctext2pgm/Samples/CTEXT-HEBREW \
			     hyaku/*.html hyaku/GIF )

#EOF