Skip to content

Strtod reimplementation #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ bindistdir: $(BINDISTFILES)
done

all-recursive clean-recursive distclean-recursive bakclean-recursive \
install-recursive uninstall-recursive install-lib-recursive \
install-include-recursive install-man-recursive uninstall-lib-recursive \
install-recursive uninstall-recursive \
install-include-recursive install-man-recursive \
uninstall-include-recursive uninstall-man-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
echo $@ | grep -q install; \
Expand All @@ -249,6 +249,19 @@ uninstall-include-recursive uninstall-man-recursive:
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"

install-lib-recursive uninstall-lib-recursive:
echo $@ | grep -q install; \
if test $$? = 0 -a "${CROSS}" = yes -a "$(DESTDIR)${prefix}" = "/usr"; then \
echo "attempting to install on host; aborting" >&2; \
exit 1; \
fi; \
list='$(LIBDIRS)'; \
for subdir in $$list; do \
target=`echo $@ | sed s/-recursive//`; \
echo "Making $$target in $$subdir"; \
$(MAKE) -C $$target $$subdir || exit 1; \
done

install-headers-recursive:
if test "${CROSS}" = yes -a "$(DESTDIR)${prefix}" = "/usr"; then \
echo "attempting to install on host; aborting" >&2; \
Expand Down
1 change: 0 additions & 1 deletion argp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

# FIXME: stratcliff still missing because of missing mman.h.
Expand Down
1 change: 0 additions & 1 deletion conf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

install-include:
Expand Down
1 change: 0 additions & 1 deletion crypt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = cert md5_1 md5_2 ufc
Expand Down
1 change: 0 additions & 1 deletion crypt/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

install-include:
Expand Down
1 change: 0 additions & 1 deletion dirent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = list opendir seekdir
Expand Down
1 change: 0 additions & 1 deletion gmp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

install-include:
Expand Down
1 change: 0 additions & 1 deletion include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ all-here: features.h linker.h syscall-list.h

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

GENSYS = AWK=$(AWK) $(csrcdir)/gensys
Expand Down
1 change: 0 additions & 1 deletion include/arpa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/bits/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/bits/types/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/mint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/mint/arch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/netinet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/nfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/protocols/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/rpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/rpcsvc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion include/sys/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ all-here:

include $(top_srcdir)/phony

dont_install_libs = yes
include $(top_srcdir)/rules

includefiles = $(filter %.h, $(MISCFILES))
Expand Down
1 change: 0 additions & 1 deletion login/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = utmp
Expand Down
1 change: 0 additions & 1 deletion mintlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ default: all

all-here: syscalls.h

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = assert assert-perr atexit ctype ctype1 dirent mallocbug seekdir \
Expand Down
1 change: 0 additions & 1 deletion misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = dirname efgcvt fdset tsearch
Expand Down
1 change: 0 additions & 1 deletion multibyte/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

# FIXME: stratcliff still missing because of missing mman.h.
Expand Down
1 change: 0 additions & 1 deletion posix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

# FIXME: The test runp fails with an illegal instruction. We omit
Expand Down
1 change: 0 additions & 1 deletion pwdgrp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = grp
Expand Down
11 changes: 2 additions & 9 deletions rules
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ install-recursive

uninstall: uninstall-recursive uninstall-include uninstall-lib uninstall-man

ifdef dont_install_libs
install-lib:

else

baselibs = $(basename $(LIBS))

install-lib:
Expand All @@ -54,7 +49,6 @@ uninstall-lib:
echo " rm -f $(DESTDIR)$(libdir)/$(instdir)/$$p"; \
rm -f $(DESTDIR)$(libdir)/$(instdir)/$$p; \
done
endif

check: check-recursive

Expand Down Expand Up @@ -83,8 +77,8 @@ distdir: $(DISTFILES) distdir-local
distdir-local:

all-recursive clean-recursive bakclean-recursive check-recursive \
install-recursive uninstall-recursive install-lib-recursive \
install-include-recursive install-man-recursive uninstall-lib-recursive \
install-recursive uninstall-recursive \
install-include-recursive install-man-recursive \
uninstall-include-recursive uninstall-man-recursive dist-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
list='$(SUBDIRS)'; for subdir in $$list; do \
Expand All @@ -93,4 +87,3 @@ uninstall-include-recursive uninstall-man-recursive dist-recursive:
(cd $$subdir && $(MAKE) -r $$target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"

1 change: 0 additions & 1 deletion shadow/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

check:
Expand Down
1 change: 0 additions & 1 deletion signal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = signal sigset
Expand Down
1 change: 0 additions & 1 deletion socket/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ include $(top_srcdir)/checkrules

check-local:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

install-include:
Expand Down
2 changes: 0 additions & 2 deletions startup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ subdir = startup

default: all

dont_install_libs = yes

include $(top_srcdir)/configvars
include $(top_srcdir)/bindist

Expand Down
1 change: 0 additions & 1 deletion stdiio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ include $(top_srcdir)/checkrules

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

install-include:
Expand Down
1 change: 0 additions & 1 deletion stdio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

TESTS = bug1 bug2 bug3 bug4 bug5 bug6 bug7 bug8 bug9 bug10 bug11 bug12 \
Expand Down
1 change: 0 additions & 1 deletion stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default: all

all-here:

dont_install_libs = yes
include $(top_srcdir)/rules $(top_srcdir)/phony

# NOTE: The test "cc" should come first!
Expand Down
Loading