summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
blob: bfbdd5f4a479651f1c3b95b87e10f929e2adaea1 (plain)
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
#
# define destination locations
#
VERSION = 8.0.93
RELEASE = 0
TIMESTAMP := $(shell date "+.%Y%m%d%H%M%S")
SNAPRELEASE := $(RELEASE)$(TIMESTAMP)

PYTHONLIBDIR = /usr/lib/anaconda
RUNTIMEDIR = /usr/lib/anaconda-runtime
ANACONDADATADIR = /usr/share/anaconda
PYTHON = python2.2
PYTHONINCLUDE = /usr/include/python2.2

ARCH := $(patsubst i%86,i386,$(shell uname -m))
ARCH := $(patsubst sparc%,sparc,$(ARCH))
ARCH := $(patsubst ppc%,ppc,$(ARCH))

ifneq (x86_64, $(ARCH))
LIBDIR = lib
else
LIBDIR = lib64
endif

# diet defines
USEDIET=0
ifeq (i386, $(ARCH))
USEDIET=1
endif
# do we really want to use diet on ppc?
ifeq (ppc, $(ARCH))
USEDIET=1
endif

# define product name to be imported into the loader and anywhere else
# that needs the proper name of the product
PRODUCTNAME="Red Hat Linux"