blob: e9dbcb5a9ad88eede377d23d950316014010a8fa (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# -*-makefile-*-
# $Id$
#
# Copyright (C) 2005 by Robert Schwebel
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
CROSS_PACKAGES-$(PTXCONF_CROSS_PKG_CONFIG_WRAPPER) += cross-pkg-config-wrapper
#
# Paths and names
#
CROSS_PKG_CONFIG_WRAPPER_VERSION := 1.0.0
CROSS_PKG_CONFIG_WRAPPER := pkg-config-wrapper-$(CROSS_PKG_CONFIG_WRAPPER_VERSION)
CROSS_PKG_CONFIG_WRAPPER_DIR := $(CROSS_BUILDDIR)/$(CROSS_PKG_CONFIG_WRAPPER)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(STATEDIR)/cross-pkg-config-wrapper.get:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
$(STATEDIR)/cross-pkg-config-wrapper.extract:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
$(STATEDIR)/cross-pkg-config-wrapper.prepare:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
$(STATEDIR)/cross-pkg-config-wrapper.compile:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/cross-pkg-config-wrapper.install:
@$(call targetinfo)
install -D -m755 $(SCRIPTSDIR)/pkg-config-wrapper $(PTXCONF_SYSROOT_CROSS)/bin/pkg-config
install -D -m755 $(SCRIPTSDIR)/pkg-config-wrapper $(PTXCONF_SYSROOT_CROSS)/bin/$(COMPILER_PREFIX)pkg-config
@$(call touch)
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
cross-pkg-config-wrapper_clean:
rm -rf $(STATEDIR)/cross-pkg-config-wrapper.*
rm -rf $(PKGDIR)/cross-pkg-config-wrapper_*
rm -rf $(CROSS_PKG_CONFIG_WRAPPER_DIR)
# vim: syntax=make
|