OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [make/] [main.cfg] - Blame information for rev 753

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#
2
#  $Id: main.cfg,v 1.2 2001-09-27 12:02:50 chris Exp $
3
#
4
# make/main.cfg
5
#
6
#   Make(1) configuration file include'd by all Makefile's
7
#
8
 
9
#
10
# where things are relative to PROJECT_ROOT; shouldn't need to change,
11
# but could be overridden in custom files.
12
#
13
 
14
PROJECT_RELEASE=$(PROJECT_ROOT)/$(RTEMS_BSP)
15
PROJECT_BIN=$(PROJECT_ROOT)/bin
16
PROJECT_INCLUDE=$(PROJECT_RELEASE)/lib/include
17
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
18
 
19
#
20
# Target architecture; may be changed as per 'make "ARCH=debug"'
21
# This is where the object files get put.
22
#
23
 
24
ARCH=o-optimize
25
 
26
VARIANT=
27
 
28
#
29
# Initial target for make(1)
30
#  Once this is established we can safely include other targets
31
#  within this make-include file.
32
#
33
 
34
default_target: all
35
 
36
#
37
# Default makefile name
38
# May be overridden by command line macro assignment
39
#
40
 
41
MAKEFILE=Makefile
42
 
43
#
44
# Target variant names
45
#
46
TARGET_VARIANTS = optimize debug profile
47
 
48
#
49
# Generate list of object directories: o-optimize, o-debug, o-profile
50
#
51
VARIANTS=${TARGET_VARIANTS:%=o-%}
52
 
53
#
54
# List of "recursion-able" targets for directory Makefiles
55
#
56
 
57
RECURSE_TARGETS=all depend install \
58
preinstall-recursive \
59
$(TARGET_VARIANTS)
60
 
61
${ARCH}:
62
        test -d ${ARCH} || mkdir ${ARCH}
63
 
64
ifndef AUTOMAKE
65
distclean-generic:
66
        -$(RM) .#* $(CONFIG_CLEAN_FILES)
67
        -$(RM) -r $(CLOBBER_ADDITIONS)
68
 
69
clean-generic:
70
        -$(RM) a.out core mon.out gmon.out
71
        -$(RM) -r $(CLEAN_ADDITIONS)
72
endif
73
 
74
.PHONY: $(RECURSE_TARGETS)
75
.PHONY: clean-generic
76
.PHONY: distclean-generic

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.