History log of /netbsd-src/distrib/utils/libhack/Makefile (Results 1 – 25 of 26)
Revision Date Author Comments
# 67177861 28-Mar-2019 christos <christos@NetBSD.org>

Dedup and add the small jemalloc implementation so our install media has
a chance to fit again.


# 6a05c304 18-Jun-2017 manu <manu@NetBSD.org>

Make shared -DSMALL libc buildable without breaking libhack

We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remov

Make shared -DSMALL libc buildable without breaking libhack

We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc

show more ...


# 27af00aa 27-Aug-2013 christos <christos@NetBSD.org>

avoid copying most of libc (except gethostent_r, which unfortunately
adds a resolver dependency) by callling the internal nsswitch functions.


# f6e747ae 11-Oct-2012 christos <christos@NetBSD.org>

make libhack's syslog.c produce exactly the same symbols as libc's syslog.c,
so that in the future we can keep them synced. Avoid strong_alias since it
does not play well with symbol renaming.


# 52ed7b03 02-Jan-2009 tnozaki <tnozaki@NetBSD.org>

Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and

Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.

show more ...


# 6c628888 06-Nov-2007 martin <martin@NetBSD.org>

Compile a special version of the default locale into libhack - we can
not use real locales, but this at least allows single byte character
locales to work as expected (i.e. the existing translations

Compile a special version of the default locale into libhack - we can
not use real locales, but this at least allows single byte character
locales to work as expected (i.e. the existing translations for sysinst).
Once we get a sysinst translation that needs more, we'll have to drop this
and the castrated setlocale(), and go for a real solution.

show more ...


# e3845a89 02-Apr-2007 christos <christos@NetBSD.org>

Merge the multibyte routines into one file, and add stub implementations
for one more that is needed, and commented out partial implementations for
the test of the functions. This should stop the re-

Merge the multibyte routines into one file, and add stub implementations
for one more that is needed, and commented out partial implementations for
the test of the functions. This should stop the re-defined symbol errors
for now.

show more ...


# 32b2149a 03-Feb-2007 christos <christos@NetBSD.org>

we need wcrtomb now too.


# 148ea123 15-May-2005 dsl <dsl@NetBSD.org>

Stub out mbrtowc(), removes all the citrus_xxx stuff from libc.
rescue_tiny fits again...


# 0f674065 06-Jun-2004 christos <christos@NetBSD.org>

Include a fake syslog that does only printf; saves 4K.


# 6101c5d9 25-Apr-2004 christos <christos@NetBSD.org>

arrange for libc's getcap to be used instead of a local copy.


# 25c4cc30 25-Mar-2002 lukem <lukem@NetBSD.org>

Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really

Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.

show more ...


# a23934fd 03-Feb-2002 lukem <lukem@NetBSD.org>

permanently disable opendir.o until its link bugs (on ELF platforms
only?) are sorted out. speculation (based on some analysis by simonb)
is that it's because fts calls _opendir2 directly, which for

permanently disable opendir.o until its link bugs (on ELF platforms
only?) are sorted out. speculation (based on some analysis by simonb)
is that it's because fts calls _opendir2 directly, which forces both
the libhack and the libc versions of opendir.o to be linked in.
in any case, there's space saves to be had elsewhere...

show more ...


# 7ec46004 12-Dec-2001 tv <tv@NetBSD.org>

Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.


# 0eadbed9 05-Oct-2001 jmc <jmc@NetBSD.org>

Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels


# c45ea630 20-Aug-2001 martin <martin@NetBSD.org>

Drop ``-Os'' on sparc64 due to toolchain issues.

The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
w

Drop ``-Os'' on sparc64 due to toolchain issues.

The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.

show more ...


# e123fd0f 18-May-2000 matt <matt@NetBSD.org>

Compile things with -Os. I wonder if compiling -Mno-pic for mips and vax
would shrink them even more?


# 800ff533 26-Sep-1999 dan <dan@NetBSD.org>

Combine the Makefile.inc and Makefile, and specify the $(HACKOBJS)
directly to work around the fact that $(OBJS) seems to produce a double list of
each .o for some reason.

XXX Why does $(OBJS) list

Combine the Makefile.inc and Makefile, and specify the $(HACKOBJS)
directly to work around the fact that $(OBJS) seems to produce a double list of
each .o for some reason.

XXX Why does $(OBJS) list doubles?

show more ...


# e7e33e21 27-Jun-1999 mrg <mrg@NetBSD.org>

miniroot changes:
install.sub:
- fix interface grovelling, ifmedia support, allow ifmedia and link
to have a "none" (-> "") answer (which lets you give nothing when
a default answer is giv

miniroot changes:
install.sub:
- fix interface grovelling, ifmedia support, allow ifmedia and link
to have a "none" (-> "") answer (which lets you give nothing when
a default answer is given)
- allow installing more than one set at a time, including "all" as
a synonym for all remaining sets
- mount -o async when extracting sets
makeconf.awk:
- put default "libs" section at the end rather than the start, so
you can put other "libs" in before this list
- minor cleanup

mtree.conf:
- create /kern

sparc install.md:
- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
- use /kern & kernfs (replaces dmesg)
- replace grep & cut pipe lines with sed
- replace grep hackery with sed hackery
- grep and cut are no longer required! yay!
- deal with no /usr/bin/vi -- call disklabel -i
- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
rather than the miniroot kernel
sparc miniroot list:
- no more dmesg, cut or grep

sparc ramdisk changes:
Makefile:
- `ramdiskbin.conf' is now generated by makeconf.awk
- don't use libhack's opendir, it breaks
dot.profile:
- don't assume terminal is `sun'
- set EDITOR=ed
-
list:
- instbin -> ramdiskbin to make `makeconf.awk' work
- CRUNCHSPECIAL those special dirs
- add our LIBS as necessary

libhack changes:
- if NOLIBHACKOPENDIR is set, don't build opendir.o

show more ...


# bb4c388e 19-May-1999 gwr <gwr@NetBSD.org>

New files...


# a8ff351b 13-Mar-1999 sommerfe <sommerfe@NetBSD.org>

Warnsify.
Add reduced version of getcap routines, so sysinst need not drag in
the database goop via libtermcap.


# dcab0210 13-Feb-1999 lukem <lukem@NetBSD.org>

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.


# 727536ca 12-Dec-1997 gwr <gwr@NetBSD.org>

Add getnet.c


# 34d9f151 09-Oct-1996 jtc <jtc@NetBSD.org>

merge in 1.2 branch


# cba18d24 13-Oct-1995 gwr <gwr@NetBSD.org>

Minor cleanup


12