~ubuntu-branches/ubuntu/utopic/avr-libc/utopic

« back to all changes in this revision

Viewing changes to avr/lib/avr25/attiny24/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Hakan Ardo
  • Date: 2014-06-03 14:25:22 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140603142522-76ia7366969f7jc2
Tags: 1:1.8.0+Atmel3.4.4-1
* New upstream release from Atmel-AVR-GNU-Toolchain v3.4.4
  (http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-
  Toolchain/3.4.4/) (closes: #740391, #739953, #695514, #719635)
* Moved manpages to the 3avr section of /usr/share/man
* Added avr-man manpage (closes: #733939)
* Added build-arch and build-indep targets
* Moved build to binary-indep target
* Increased standards version to 3.9.5
* Added ${misc:Depends} dependency
* Applied upstream fix to make pgmspace.h ansi compatible (closes:
  #675759)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2004,  Theodore A. Roth
2
 
# Copyright (c) 2005, 2008  Anatoly Sokolov
3
 
# All rights reserved.
4
 
#
5
 
# Redistribution and use in source and binary forms, with or without
6
 
# modification, are permitted provided that the following conditions are met:
7
 
#
8
 
# * Redistributions of source code must retain the above copyright
9
 
#   notice, this list of conditions and the following disclaimer.
10
 
# * Redistributions in binary form must reproduce the above copyright
11
 
#   notice, this list of conditions and the following disclaimer in
12
 
#   the documentation and/or other materials provided with the
13
 
#   distribution.
14
 
# * Neither the name of the copyright holders nor the names of
15
 
#   contributors may be used to endorse or promote products derived
16
 
#   from this software without specific prior written permission.
17
 
#
18
 
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
 
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
 
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21
 
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22
 
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23
 
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24
 
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25
 
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26
 
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27
 
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
 
# POSSIBILITY OF SUCH DAMAGE.
29
 
#
30
 
 
31
 
AVR_TARGET          = attiny24
32
 
AVR_TARGET_CRT      = crttn24.o
33
 
AVR_TARGET_DEFS     = 
34
 
AVR_TARGET_CFLAGS   = -mcall-prologues -Os
35
 
AVR_TARGET_ASFLAGS  = 
36
 
AVR_INSTALL_DIR     = avr25
37
 
 
38
 
VPATH = $(top_srcdir)/crt1
39
 
 
40
 
if HAS_attiny24
41
 
 
42
 
AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include -I$(top_builddir)/include
43
 
 
44
 
AVRLIB_CFLAGS = -gstabs -Wall -W -Wstrict-prototypes -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_CFLAGS)
45
 
 
46
 
AVRLIB_ASFLAGS = -x assembler-with-cpp -Wa,-gstabs -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_ASFLAGS)
47
 
 
48
 
AM_CFLAGS = $(AVRLIB_CFLAGS)
49
 
AM_CCASFLAGS = $(AM_CPPFLAGS) $(AVRLIB_ASFLAGS)
50
 
 
51
 
 
52
 
__install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR)
53
 
 
54
 
avrdir = $(__install_dir)
55
 
avrlibdir = $(__install_dir)
56
 
 
57
 
noinst_LIBRARIES = libcrt.a
58
 
nodist_libcrt_a_SOURCES = gcrt1.S
59
 
 
60
 
avr_DATA = $(AVR_TARGET_CRT)
61
 
 
62
 
$(AVR_TARGET_CRT): gcrt1.o
63
 
        rm -f $@
64
 
        ln $< $@ || cp $< $@
65
 
 
66
 
else
67
 
 
68
 
echo all distdir install installdirs clean distclean uninstall check:
69
 
 
70
 
endif