~ubuntu-branches/ubuntu/trusty/avr-libc/trusty-proposed

« back to all changes in this revision

Viewing changes to avr/lib/avr51/atmega1284p/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2011-07-10 16:46:05 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110710164605-ep63eoyyxuspbxwt
Tags: 1:1.7.1-1
* New upstream release (closes: #626119)
* Now build-depends on doxygen-latex (closes: #616199)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright (c) 2004,  Theodore A. Roth
2
 
# Copyright (c) 2005,  Anatoly Sokolov
 
2
# Copyright (c) 2005, 2008  Anatoly Sokolov
3
3
# All rights reserved.
4
4
#
5
5
# Redistribution and use in source and binary forms, with or without
28
28
# POSSIBILITY OF SUCH DAMAGE.
29
29
#
30
30
 
31
 
##
32
 
## NOTE: This file was generated by the gen-avr-lib-tree.sh script found in
33
 
## the devtools/ directory of the avr-libc source. If you find that this file
34
 
## needs modification, please make the changes in the generator script. To
35
 
## propagate the changes, be sure to run the generator script from the top
36
 
## level directory of the source tree. (HINT: Your next build will proceed
37
 
## much faster if you then re-run the bootstrap script.)
38
 
##
39
 
 
40
 
 
41
31
AVR_TARGET          = atmega1284p
42
32
AVR_TARGET_CRT      = crtm1284p.o
43
33
AVR_TARGET_DEFS     = 
45
35
AVR_TARGET_ASFLAGS  = 
46
36
AVR_INSTALL_DIR     = avr51
47
37
 
48
 
VPATH = $(top_srcdir)/crt1:$(top_srcdir)/libc/stdlib:$(top_srcdir)/libc/pmstring:$(top_srcdir)/libc/string:$(top_srcdir)/libc/misc:$(top_srcdir)/libc/stdio:$(top_srcdir)/libm/fplib
 
38
VPATH = $(top_srcdir)/crt1
49
39
 
50
40
if HAS_atmega1284p
51
41
 
52
 
# NOTE: Automake will be performing the following include, not GNU Make.
53
 
# Automake will also be scanning the included file.
54
 
 
55
 
include $(top_srcdir)/AvrCommon.am
 
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 $< $@
56
65
 
57
66
else
58
67
 
59
68
echo all distdir install installdirs clean distclean uninstall check:
60
69
 
61
70
endif
62