~ubuntu-branches/ubuntu/gutsy/checkpolicy/gutsy

« back to all changes in this revision

Viewing changes to debian/common/archvars.mk

  • Committer: Bazaar Package Importer
  • Author(s): Manoj Srivastava
  • Date: 2004-11-24 14:01:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041124140141-2w64gbhqynveunlv
Tags: 1.18-2
Update download location and copyright file, since the locations we
were pointing to are now forbidden (return a code 403).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
############################ -*- Mode: Makefile -*- ###########################
 
2
## archvars.mk --- 
 
3
## Author           : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) 
 
4
## Created On       : Sat Nov 15 02:40:56 2003
 
5
## Created On Node  : glaurung.green-gryphon.com
 
6
## Last Modified By : Manoj Srivastava
 
7
## Last Modified On : Tue Nov 16 23:36:15 2004
 
8
## Last Machine Used: glaurung.internal.golden-gryphon.com
 
9
## Update Count     : 5
 
10
## Status           : Unknown, Use with caution!
 
11
## HISTORY          : 
 
12
## Description      : 
 
13
## 
 
14
## arch-tag: e16dd848-0fd6-4c0e-ae66-bef20d1f7c63
 
15
## 
 
16
###############################################################################
 
17
 
 
18
DPKG_ARCH := dpkg-architecture
 
19
ifdef ARCH
 
20
  ifeq ($(strip $(MAKING_VIRTUAL_IMAGE)),)
 
21
    ha:=-a$(ARCH)
 
22
  endif
 
23
endif
 
24
 
 
25
# set the dpkg-architecture vars
 
26
 
 
27
# set the dpkg-architecture vars
 
28
export DEB_BUILD_ARCH      := $(shell $(DPKG_ARCH)       -qDEB_BUILD_ARCH)
 
29
export DEB_BUILD_GNU_CPU   := $(shell $(DPKG_ARCH)       -qDEB_BUILD_GNU_CPU)
 
30
export DEB_BUILD_GNU_TYPE  := $(shell $(DPKG_ARCH)       -qDEB_BUILD_GNU_TYPE)
 
31
export DEB_HOST_ARCH       := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH)
 
32
export DEB_HOST_GNU_CPU    := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_CPU)
 
33
export DEB_HOST_GNU_SYSTEM := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_SYSTEM)
 
34
export DEB_HOST_GNU_TYPE   := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_TYPE)
 
35
export DEB_BUILD_GNU_SYSTEM:= $(shell $(DPKG_ARCH)       -qDEB_BUILD_GNU_SYSTEM)
 
36
 
 
37
 
 
38
REASON = @if [ -f $@ ]; then \
 
39
 echo "====== making $(notdir $@) because of $(notdir $?) ======";\
 
40
 else \
 
41
   echo "====== making (creating) $@ ======"; \
 
42
 fi
 
43
 
 
44
OLDREASON = @if [ -f $@ ]; then \
 
45
 echo "====== making $(notdir $@) because of $(notdir $?) ======";\
 
46
 else \
 
47
   echo "====== making (creating) $(notdir $@) ======"; \
 
48
 fi
 
49
 
 
50
LIBREASON = @echo "====== making $(notdir $@)($(notdir $%))because of $(notdir $?)======"