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

« back to all changes in this revision

Viewing changes to avr/lib/avr3/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2011-07-14 11:15:32 UTC
  • mfrom: (1.1.10 upstream) (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110714111532-e83i3vqdowgxw8lv
Tags: 1:1.7.1-2
include/util/delay.h.in: Add math.h to list of includes (closes:
#633822)

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, 2009  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
 
SUBDIRS = atmega103 at43usb320 at43usb355 at76c711 at90usb82 at90usb162
 
31
SUBDIRS =  atmega103 at43usb320 at43usb355 at76c711 at90usb82 at90usb162
41
32
 
42
33
AVR_TARGET          = avr3
43
 
AVR_TARGET_CRT      = crtusb162.o
44
34
AVR_TARGET_DEFS     = -D__COMPILING_AVR_LIBC__
45
35
AVR_TARGET_CFLAGS   = -mcall-prologues -Os
46
36
AVR_TARGET_ASFLAGS  = 
47
37
AVR_INSTALL_DIR     = avr3
48
38
 
49
 
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
 
39
VPATH = $(top_srcdir)/libc/stdlib:$(top_srcdir)/libc/pmstring:$(top_srcdir)/libc/string:$(top_srcdir)/libc/misc:$(top_srcdir)/libc/stdio:$(top_srcdir)/libm/fplib
50
40
 
51
41
if HAS_avr3
52
42
 
70
60
  AVRLIB_DEVLIST += at90usb162
71
61
endif   # at90usb162
72
62
 
73
 
# NOTE: Automake will be performing the following include, not GNU Make.
74
 
# Automake will also be scanning the included file.
75
 
 
76
 
include $(top_srcdir)/AvrCommonLibC.am
 
63
AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include -I$(top_builddir)/include
 
64
 
 
65
AVRLIB_CFLAGS = -g -Wall -W -Wstrict-prototypes -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_CFLAGS)
 
66
 
 
67
AVRLIB_ASFLAGS = -x assembler-with-cpp -Wa,-gstabs -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_ASFLAGS)
 
68
 
 
69
AM_CFLAGS = $(AVRLIB_CFLAGS)
 
70
AM_CCASFLAGS = $(AM_CPPFLAGS) $(AVRLIB_ASFLAGS)
 
71
 
 
72
__install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR)
 
73
 
 
74
avrdir = $(__install_dir)
 
75
avrlibdir = $(__install_dir)
 
76
 
 
77
avr_LIBRARIES = \
 
78
        libc.a \
 
79
        libprintf_min.a \
 
80
        libprintf_flt.a \
 
81
        libscanf_min.a \
 
82
        libscanf_flt.a \
 
83
        libm.a
 
84
 
 
85
include $(top_srcdir)/libc/stdlib/Rules.am
 
86
include $(top_srcdir)/libc/pmstring/Rules.am
 
87
include $(top_srcdir)/libc/string/Rules.am
 
88
include $(top_srcdir)/libc/misc/Rules.am
 
89
include $(top_srcdir)/libc/stdio/Rules.am
 
90
include $(top_srcdir)/libm/fplib/Rules.am
 
91
 
 
92
nodist_libc_a_SOURCES = \
 
93
        $(stdlib_a_c_sources) \
 
94
        $(stdlib_a_asm_sources) \
 
95
        $(pmstring_a_c_sources) \
 
96
        $(pmstring_a_asm_sources) \
 
97
        $(string_a_c_sources) \
 
98
        $(string_a_asm_sources) \
 
99
        $(misc_a_c_sources) \
 
100
        $(misc_a_asm_sources) \
 
101
        $(stdio_a_c_sources) \
 
102
        $(stdio_a_asm_sources) \
 
103
        $(libm_a_c_sources) \
 
104
        $(libm_a_asm_sources)
 
105
 
 
106
nodist_libm_a_SOURCES = \
 
107
        $(libm_a_c_sources) \
 
108
        $(libm_a_asm_sources)
 
109
 
 
110
libc_a_LIBADD = \
 
111
        $(stdio_a_libadd) \
 
112
        $(misc_a_libadd)
 
113
 
 
114
libc_a_DEPENDENCIES = \
 
115
        $(stdio_a_libadd) \
 
116
        $(misc_a_libadd)
77
117
 
78
118
else
79
119
 
80
120
echo all distdir install installdirs clean distclean uninstall check:
81
121
 
82
 
endif
83
 
 
 
122
endif
 
 
b'\\ No newline at end of file'