d6eecef07b
into a single object module. This avoids client programs picking up part of the allocation routines from mmalloc and part from libc, which can lead to undefined behavior. (CFILES): Add mm.c (TARGETOBJS): Define to be either the individual objects or the single combined object. (TARGETLIB): Create the archive using TARGETOBJS. * mm.c: New file that simply #includes the other source C files.
62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
# .Sanitize for devo/mmalloc.
|
|
|
|
# Each directory to survive its way into a release will need a file
|
|
# like this one called "./.Sanitize". All keyword lines must exist,
|
|
# and must exist in the order specified by this file. Each directory
|
|
# in the tree will be processed, top down, in the following order.
|
|
|
|
# Hash started lines like this one are comments and will be deleted
|
|
# before anything else is done. Blank lines will also be squashed
|
|
# out.
|
|
|
|
# The lines between the "Do-first:" line and the "Things-to-keep:"
|
|
# line are executed as a /bin/sh shell script before anything else is
|
|
# done in this directory.
|
|
|
|
Do-first:
|
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
|
# Directories listed in this section will have their own Sanitize
|
|
# called. Directories not listed will be removed in their entirety
|
|
# with rm -rf.
|
|
|
|
Things-to-keep:
|
|
|
|
COPYING.LIB
|
|
ChangeLog
|
|
Makefile.in
|
|
TODO
|
|
attach.c
|
|
configure
|
|
configure.in
|
|
detach.c
|
|
keys.c
|
|
mcalloc.c
|
|
mfree.c
|
|
mm.c
|
|
mmalloc.c
|
|
mmalloc.h
|
|
mmalloc.texi
|
|
mmap-sup.c
|
|
mmcheck.c
|
|
mmemalign.c
|
|
mmprivate.h
|
|
mmstats.c
|
|
mmtrace.awk
|
|
mmtrace.c
|
|
mrealloc.c
|
|
mvalloc.c
|
|
sbrk-sup.c
|
|
|
|
# Things that are explicitly sanitized away:
|
|
#
|
|
# fsf.shar - Shell archive of the original fsf sources used as base.
|
|
|
|
Things-to-lose:
|
|
|
|
fsf.shar
|
|
test1.c
|
|
|
|
Do-last:
|