File: Makefile.defs

package info (click to toggle)
flexml 1.8-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 592 kB
  • ctags: 225
  • sloc: perl: 1,304; makefile: 294; xml: 188; ansic: 117
file content (53 lines) | stat: -rw-r--r-- 1,071 bytes parent folder | download | duplicates (2)
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

# SUFF is the versioning suffix added to binaries and resource files.
# To get rid of it (and do a non-versionned install, for example), do:
#   make whatever SUFF=

#SUFF ?=-$(VER)
SUFF ?=

VER = 1.8

# SETUP.

# Installation paths

# BASE_DIR:      like --prefix for configure
# BASE_DIR_ARCH: like --exec-prefix for configure
BASE_DIR ?= /usr
BASE_DIR_ARCH ?= $(BASE_DIR)

FLEXML= flexml$(SUFF)
FLEXML_ACT = flexml-act$(SUFF)

BINDIR  = $(BASE_DIR_ARCH)/bin
LIBDIR  = $(BASE_DIR_ARCH)/lib
SHARE   = $(BASE_DIR)/share
MAN1DIR = $(SHARE)/man/man1
DOCDIR  = $(SHARE)/doc/$(FLEXML)
DATADIR = $(SHARE)/$(FLEXML)
TMPDIR  = /var/tmp

ACT     ?= $(LIBDIR)/$(FLEXML_ACT)
SKEL    ?= $(DATADIR)/skel

# Permanent program locations
PERL_DIR = /usr/bin
PERL     = $(PERL_DIR)/perl
POD2MAN  = $(PERL_DIR)/pod2man
POD2HTML = $(PERL_DIR)/pod2html

FLEX     = /usr/bin/flex
SYMLINK = ln -s

# Build compilation setup.
CC = gcc -Wall -ansi -pedantic
CFLAGS = -O2 -g
#FLEXDEBUG = -d

INSTALL ?= install

# Web location.

WEBHOME = info:public_html
FTPHOME = info:public_html/ftp/FleXML