File: Makefile.in

package info (click to toggle)
tkrat 1%3A2.2cvs20100105-true-dfsg-6.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,340 kB
  • ctags: 9,259
  • sloc: ansic: 96,057; tcl: 25,667; makefile: 1,638; sh: 282
file content (67 lines) | stat: -rw-r--r-- 2,041 bytes parent folder | download | duplicates (4)
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
#
# This is the toplevel makefile for ratatosk
#
#############################################################################
# TkRat software and its included text is Copyright 1996-2004 by            #
# Martin Forssn.                                                           #
#                                                                           #
# The full text of the legal notice is contained in the file called         #
# COPYRIGHT, included with this distribution.                               #
#############################################################################

@SET_MAKE@
OSTYPE = @OSTYPE@
SHELL = /bin/sh
EXTRACFLAGS=@NATIVE_SHLIB_CFLAGS@ @MEM_DEBUG_FLAGS@ @TCL_INCLUDE@ @CCLIENT_FLAGS@
IMAPFLAGS = @IMAPFLAGS@
ETAGS = @etags@

all: build

build:
	if test -r imap/OSTYPE ; then \
	    if test "Makefile" = `ls -t Makefile imap/OSTYPE|head -1` ; then \
		cd imap; ${MAKE} clean; \
	    fi; \
	fi
	cd imap; \
	if test "`cat OSTYPE 2>/dev/null || true`" = "${OSTYPE}" ; then \
	    ${MAKE} ${IMAPFLAGS} EXTRACFLAGS="${EXTRACFLAGS}"; \
	else \
	    ${MAKE} ${OSTYPE} ${IMAPFLAGS} EXTRACFLAGS="${EXTRACFLAGS}"; \
	fi
	cd lib; ${MAKE}
	cd util; ${MAKE}
	cd tkrat; ${MAKE}

install.bin:
	cd lib; ${MAKE} install.bin
	cd util; ${MAKE} install.bin
	cd tkrat; ${MAKE} install.bin

install.shared:
	cd util; ${MAKE} install.shared
	cd tkrat; ${MAKE} install.shared
	cd misc; ${MAKE} install.shared
	cd doc; ${MAKE} install.shared

install: install.bin install.shared

clean:
	cd imap; ${MAKE} clean
	cd lib; ${MAKE} clean
	cd util; ${MAKE} clean
	cd tkrat; ${MAKE} clean

tags:
	-rm -f TAGS
	cd lib; ${MAKE} tags-internal
	cd util; ${MAKE} tags-internal
	cd tkrat; ${MAKE} tags-internal
	${ETAGS} --append --no-globals --output=TAGS imap/src/osdep/unix/*.[ch]
	${ETAGS} --append --no-globals --output=TAGS imap/src/*/*.[ch]

distclean: clean
	rm -f config.status config.log config.cache config.h \
	      Makefile lib/Makefile tkrat/Makefile script/Makefile \
	      misc/Makefile util/Makefile test/run tkrat/tkrat