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

« back to all changes in this revision

Viewing changes to avr/lib/avr4/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, 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 = atmega48 atmega48a atmega48p atmega8 atmega88 atmega88a atmega88p atmega88pa atmega8515 atmega8535 atmega8hva at90pwm1 at90pwm2 at90pwm2b at90pwm3 at90pwm3b at90pwm81
 
31
SUBDIRS =  atmega48 atmega48a atmega48p atmega8 atmega88 atmega88a atmega88p atmega88pa atmega8515 atmega8535 atmega8hva at90pwm1 at90pwm2 at90pwm2b at90pwm3 at90pwm3b at90pwm81
41
32
 
42
33
AVR_TARGET          = avr4
43
 
AVR_TARGET_CRT      = crt90pwm81.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     = avr4
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_avr4
52
42
 
103
93
  AVRLIB_DEVLIST += at90pwm81
104
94
endif   # at90pwm81
105
95
 
106
 
# NOTE: Automake will be performing the following include, not GNU Make.
107
 
# Automake will also be scanning the included file.
108
 
 
109
 
include $(top_srcdir)/AvrCommonLibC.am
 
96
AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/include -I$(top_builddir)/include
 
97
 
 
98
AVRLIB_CFLAGS = -g -Wall -W -Wstrict-prototypes -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_CFLAGS)
 
99
 
 
100
AVRLIB_ASFLAGS = -x assembler-with-cpp -Wa,-gstabs -mmcu=$(AVR_TARGET) $(AVR_TARGET_DEFS) $(AVR_TARGET_ASFLAGS)
 
101
 
 
102
AM_CFLAGS = $(AVRLIB_CFLAGS)
 
103
AM_CCASFLAGS = $(AM_CPPFLAGS) $(AVRLIB_ASFLAGS)
 
104
 
 
105
__install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR)
 
106
 
 
107
avrdir = $(__install_dir)
 
108
avrlibdir = $(__install_dir)
 
109
 
 
110
avr_LIBRARIES = \
 
111
        libc.a \
 
112
        libprintf_min.a \
 
113
        libprintf_flt.a \
 
114
        libscanf_min.a \
 
115
        libscanf_flt.a \
 
116
        libm.a
 
117
 
 
118
include $(top_srcdir)/libc/stdlib/Rules.am
 
119
include $(top_srcdir)/libc/pmstring/Rules.am
 
120
include $(top_srcdir)/libc/string/Rules.am
 
121
include $(top_srcdir)/libc/misc/Rules.am
 
122
include $(top_srcdir)/libc/stdio/Rules.am
 
123
include $(top_srcdir)/libm/fplib/Rules.am
 
124
 
 
125
nodist_libc_a_SOURCES = \
 
126
        $(stdlib_a_c_sources) \
 
127
        $(stdlib_a_asm_sources) \
 
128
        $(pmstring_a_c_sources) \
 
129
        $(pmstring_a_asm_sources) \
 
130
        $(string_a_c_sources) \
 
131
        $(string_a_asm_sources) \
 
132
        $(misc_a_c_sources) \
 
133
        $(misc_a_asm_sources) \
 
134
        $(stdio_a_c_sources) \
 
135
        $(stdio_a_asm_sources) \
 
136
        $(libm_a_c_sources) \
 
137
        $(libm_a_asm_sources)
 
138
 
 
139
nodist_libm_a_SOURCES = \
 
140
        $(libm_a_c_sources) \
 
141
        $(libm_a_asm_sources)
 
142
 
 
143
libc_a_LIBADD = \
 
144
        $(stdio_a_libadd) \
 
145
        $(misc_a_libadd)
 
146
 
 
147
libc_a_DEPENDENCIES = \
 
148
        $(stdio_a_libadd) \
 
149
        $(misc_a_libadd)
110
150
 
111
151
else
112
152
 
113
153
echo all distdir install installdirs clean distclean uninstall check:
114
154
 
115
 
endif
116
 
 
 
155
endif
 
 
b'\\ No newline at end of file'