~ubuntu-branches/ubuntu/oneiric/rootskel-gtk/oneiric

« back to all changes in this revision

Viewing changes to src/lib/debian-installer.d/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2005-11-07 15:35:07 UTC
  • Revision ID: james.westby@ubuntu.com-20051107153507-gugndtpokf551ecs
Tags: 0.04
Load mouse modules for powerpc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dir = lib/debian-installer.d
 
2
 
 
3
DEB_HOST_ARCH_CPU   := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)
 
4
DEB_HOST_ARCH_OS    := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
 
5
 
 
6
# Take account of old dpkg-architecture output.
 
7
ifeq ($(DEB_HOST_ARCH_CPU),)
 
8
  DEB_HOST_ARCH_CPU   := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 
9
  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
 
10
    DEB_HOST_ARCH_CPU   := amd64
 
11
  endif
 
12
endif
 
13
ifeq ($(DEB_HOST_ARCH_OS),)
 
14
  DEB_HOST_ARCH_OS    := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
 
15
endif
 
16
 
 
17
files = \
 
18
        S65fontconfig
 
19
 
 
20
ifneq (,$(filter i386 amd64,$(DEB_HOST_ARCH_CPU)))
 
21
   files += \
 
22
        S61mouse-support-x86
 
23
endif
 
24
ifneq (,$(filter powerpc,$(DEB_HOST_ARCH_CPU)))
 
25
   files += \
 
26
        S61mouse-support-powerpc
 
27
endif
 
28
 
 
29
include ../../../Makefile.inc