newlib-cygwin/newlib/libc/stdlib/Makefile.am

196 lines
3.6 KiB
Makefile
Raw Normal View History

2000-02-18 03:39:52 +08:00
## Process this file with automake to generate Makefile.in
AUTOMAKE_OPTIONS = cygnus
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
noinst_LIBRARIES = lib.a
lib_a_SOURCES = \
__adjust.c \
__exp10.c \
__ten_mu.c \
abort.c \
abs.c \
assert.c \
atexit.c \
atof.c \
atoff.c \
atoi.c \
atol.c \
bsearch.c \
calloc.c \
div.c \
drand48.c \
2000-02-18 03:39:52 +08:00
dtoa.c \
dtoastub.c \
ecvtbuf.c \
efgcvt.c \
environ.c \
envlock.c \
eprintf.c \
erand48.c \
2000-02-18 03:39:52 +08:00
exit.c \
getenv.c \
getenv_r.c \
getopt.c \
jrand48.c \
2000-02-18 03:39:52 +08:00
labs.c \
lcong48.c \
2000-02-18 03:39:52 +08:00
ldiv.c \
ldtoa.c \
lrand48.c \
2000-02-18 03:39:52 +08:00
malign.c \
malloc.c \
mblen.c \
mblen_r.c \
mbstowcs.c \
mbstowcs_r.c \
mbtowc.c \
mbtowc_r.c \
mlock.c \
mprec.c \
mrand48.c \
2000-02-18 03:39:52 +08:00
msize.c \
mstats.c \
mtrim.c \
nrand48.c \
2000-02-18 03:39:52 +08:00
putenv.c \
putenv_r.c \
qsort.c \
rand.c \
rand48.c \
2000-02-18 03:39:52 +08:00
rand_r.c \
realloc.c \
seed48.c \
2000-02-18 03:39:52 +08:00
setenv.c \
setenv_r.c \
srand48.c \
2000-02-18 03:39:52 +08:00
strdup.c \
strdup_r.c \
strtod.c \
strtol.c \
strtoll.c \
strtoll_r.c \
2000-02-18 03:39:52 +08:00
strtoul.c \
strtoull.c \
strtoull_r.c \
2000-02-18 03:39:52 +08:00
system.c \
valloc.c \
wcstombs.c \
wcstombs_r.c \
wctomb.c \
wctomb_r.c
lib_a_LIBADD = mallocr.o freer.o reallocr.o callocr.o cfreer.o malignr.o \
vallocr.o pvallocr.o mallinfor.o mallstatsr.o msizer.o malloptr.o
MALLOC_COMPILE = $(COMPILE) -DINTERNAL_NEWLIB
mallocr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_MALLOC -c $(srcdir)/mallocr.c -o $@
freer.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_FREE -c $(srcdir)/mallocr.c -o $@
reallocr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_REALLOC -c $(srcdir)/mallocr.c -o $@
callocr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_CALLOC -c $(srcdir)/mallocr.c -o $@
cfreer.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_CFREE -c $(srcdir)/mallocr.c -o $@
malignr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_MEMALIGN -c $(srcdir)/mallocr.c -o $@
vallocr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_VALLOC -c $(srcdir)/mallocr.c -o $@
pvallocr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_PVALLOC -c $(srcdir)/mallocr.c -o $@
mallinfor.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_MALLINFO -c $(srcdir)/mallocr.c -o $@
mallstatsr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_MALLOC_STATS -c $(srcdir)/mallocr.c -o $@
msizer.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_MALLOC_USABLE_SIZE -c $(srcdir)/mallocr.c -o $@
malloptr.o: mallocr.c
$(MALLOC_COMPILE) -DDEFINE_MALLOPT -c $(srcdir)/mallocr.c -o $@
CHEWOUT_FILES= \
abort.def \
abs.def \
assert.def \
atexit.def \
atof.def \
ecvtbuf.def \
atoi.def \
bsearch.def \
calloc.def \
div.def \
efgcvt.def \
envlock.def \
exit.def \
getenv.def \
labs.def \
ldiv.def \
malloc.def \
mallocr.def \
mblen.def \
mbstowcs.def \
mbtowc.def \
mlock.def \
mstats.def \
qsort.def \
rand.def \
rand48.def \
2000-02-18 03:39:52 +08:00
strtod.def \
strtol.def \
strtoll.def \
2000-02-18 03:39:52 +08:00
strtoul.def \
strtoull.def \
2000-02-18 03:39:52 +08:00
system.def \
wcstombs.def \
wctomb.def
SUFFIXES = .def
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
.c.def:
$(CHEW) < $< > $*.def 2> $*.ref
touch stmp-def
TARGETDOC = ../tmp.texi
doc: $(CHEWOUT_FILES)
cat $(srcdir)/stdlib.tex >> $(TARGETDOC)
CLEANFILES = $(CHEWOUT_FILES) *.ref
dtoa.o: dtoa.c mprec.h
ldtoa.o: ldtoa.c mprec.h
2000-02-18 03:39:52 +08:00
ecvtbuf.o: ecvtbuf.c mprec.h
mbtowc_r.o: mbtowc_r.c mbctype.h
$(COMPILE) -c -fshort-enums $(srcdir)/mbtowc_r.c -o $@
mprec.o: mprec.c mprec.h
strtod.o: strtod.c mprec.h
wctomb_r.o: wctomb_r.c mbctype.h
drand48.o: drand48.c rand48.h
erand48.o: erand48.c rand48.h
jrand48.o: jrand48.c rand48.h
lcong48.o: lcong48.c rand48.h
lrand48.o: lrand48.c rand48.h
mrand48.o: mrand48.c rand48.h
nrand48.o: nrand48.c rand48.h
rand48.o: rand48.c rand48.h
seed48.o: seed48.c rand48.h
srand48.o: srand48.c rand48.h