File: Makefile.include

package info (click to toggle)
gpm 1.20.4-3.3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,652 kB
  • ctags: 1,507
  • sloc: ansic: 9,447; yacc: 1,055; sh: 1,052; makefile: 428; cpp: 241; lisp: 222; awk: 79; sed: 6
file content (67 lines) | stat: -rw-r--r-- 1,771 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
63
64
65
66
67
#			-*-makefile-*- (gpm/include)
#
# Copyright (C) 2001 Nico Schottelius <nico@schottelius.org>
#

# set root, if you want to install to a virtual root
ROOT = 
ifndef ROOT
ROOT = $(DESTDIR)
endif

SHELL = /bin/sh

prefix = /usr
exec_prefix = ${prefix}

# directories
libdir      = $(ROOT)${exec_prefix}/lib
datadir     = $(ROOT)${prefix}/share
bindir      = $(ROOT)${exec_prefix}/bin
sbindir     = $(ROOT)${exec_prefix}/sbin
includedir  = $(ROOT)${prefix}/include
sysconfdir  = $(ROOT)/etc
mandir      = $(ROOT)${prefix}/share/man
man1dir     = $(mandir)/man1
man7dir     = $(mandir)/man7
man8dir     = $(mandir)/man8
infodir     = $(ROOT)${prefix}/share/info

# it would be nice to figure this out automatically, but the Emacs
# load path often has many elements, most of them reserved for
# specialised packages like w3 and auctex.
lispdir = ${datadir}/emacs/site-lisp

# programs
CC                = gcc
RANLIB            = ranlib
YACC              = bison -y
INSTALL           = /usr/bin/install -c
INSTALL_PROGRAM   = ${INSTALL}
INSTALL_DATA      = ${INSTALL} -m 644
LN_S              = ln -s
EMACS             = /usr/bin/emacs
ELISP             = emacs/t-mouse.el emacs/t-mouse.elc
SHLIB             = libgpm.so
SED               = /bin/sed
DIFF              = /usr/bin/diff
TEX               = /usr/bin/tex
TEXINDEX          = /usr/bin/texindex
DVIPS             = /usr/bin/dvips
MAKEINFO          = /usr/bin/makeinfo
TEXI2HTML         = texi2html
STRIP             = -s

AR                = ar
ETAGS             = etags
AWK               = awk
CP                = cp -a
MKDIR             = mkdir -p # linux specific, but who cares ?
                             # gpm is linux specific, too.
RM                = rm


DEPFILE = .depend

# general
release = 1.20.4