Makefile (5cc619db5c34146ee821acd08382b9d78579b52e) Makefile (16f8259ca77d04f95e5ca90be1b1894ed45816c0)
1# Makefile for cpupower
2#
3# Copyright (C) 2005,2006 Dominik Brodowski <linux@dominikbrodowski.net>
4#
5# Based largely on the Makefile for udev by:
6#
7# Copyright (C) 2003,2004 Greg Kroah-Hartman <greg@kroah.com>
8#

--- 12 unchanged lines hidden (view full) ---

21#
22OUTPUT=./
23ifeq ("$(origin O)", "command line")
24 OUTPUT := $(O)/
25endif
26
27ifneq ($(OUTPUT),)
28# check that the output directory actually exists
1# Makefile for cpupower
2#
3# Copyright (C) 2005,2006 Dominik Brodowski <linux@dominikbrodowski.net>
4#
5# Based largely on the Makefile for udev by:
6#
7# Copyright (C) 2003,2004 Greg Kroah-Hartman <greg@kroah.com>
8#

--- 12 unchanged lines hidden (view full) ---

21#
22OUTPUT=./
23ifeq ("$(origin O)", "command line")
24 OUTPUT := $(O)/
25endif
26
27ifneq ($(OUTPUT),)
28# check that the output directory actually exists
29OUTDIR := $(realpath $(OUTPUT))
29OUTDIR := $(shell cd $(OUTPUT) && pwd)
30$(if $(OUTDIR),, $(error output directory "$(OUTPUT)" does not exist))
31endif
32
30$(if $(OUTDIR),, $(error output directory "$(OUTPUT)" does not exist))
31endif
32
33include ../../scripts/Makefile.arch
34
33# --- CONFIGURATION BEGIN ---
34
35# Set the following to `true' to make a unstripped, unoptimized
36# binary. Leave this set to `false' for production use.
37DEBUG ?= true
38
39# make the build silent. Set this to something else to make it noisy again.
40V ?= false

--- 33 unchanged lines hidden (view full) ---

74# Directory definitions. These are default and most probably
75# do not need to be changed. Please note that DESTDIR is
76# added in front of any of them
77
78bindir ?= /usr/bin
79sbindir ?= /usr/sbin
80mandir ?= /usr/man
81includedir ?= /usr/include
35# --- CONFIGURATION BEGIN ---
36
37# Set the following to `true' to make a unstripped, unoptimized
38# binary. Leave this set to `false' for production use.
39DEBUG ?= true
40
41# make the build silent. Set this to something else to make it noisy again.
42V ?= false

--- 33 unchanged lines hidden (view full) ---

76# Directory definitions. These are default and most probably
77# do not need to be changed. Please note that DESTDIR is
78# added in front of any of them
79
80bindir ?= /usr/bin
81sbindir ?= /usr/sbin
82mandir ?= /usr/man
83includedir ?= /usr/include
84ifeq ($(IS_64_BIT), 1)
85libdir ?= /usr/lib64
86else
82libdir ?= /usr/lib
87libdir ?= /usr/lib
88endif
83localedir ?= /usr/share/locale
84docdir ?= /usr/share/doc/packages/cpupower
85confdir ?= /etc/
86
87# Toolchain: what tools do we use, and what options do they need:
88
89CP = cp -fpR
90INSTALL = /usr/bin/install -c

--- 238 unchanged lines hidden ---
89localedir ?= /usr/share/locale
90docdir ?= /usr/share/doc/packages/cpupower
91confdir ?= /etc/
92
93# Toolchain: what tools do we use, and what options do they need:
94
95CP = cp -fpR
96INSTALL = /usr/bin/install -c

--- 238 unchanged lines hidden ---