mirror of
https://github.com/tailix/libkernaux.git
synced 2025-04-07 17:32:45 -04:00
Main: move libc to "libc/"
This commit is contained in:
parent
ea8ef8fc95
commit
044e3a24c2
9 changed files with 13 additions and 12 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -35,7 +35,7 @@
|
|||
|
||||
/Makefile.in
|
||||
/include/Makefile.in
|
||||
/libc/Makefile.in
|
||||
/libc/include/Makefile.in
|
||||
|
||||
########################
|
||||
# To build out of root #
|
||||
|
@ -91,7 +91,7 @@
|
|||
|
||||
/Makefile
|
||||
/include/Makefile
|
||||
/libc/Makefile
|
||||
/libc/include/Makefile
|
||||
|
||||
/include/kernaux.h
|
||||
/include/kernaux/console.h
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Common #
|
||||
##########
|
||||
|
||||
SUBDIRS = include libc
|
||||
SUBDIRS = include libc/include
|
||||
|
||||
CLEANFILES =
|
||||
TESTS =
|
||||
|
@ -18,8 +18,8 @@ AM_CFLAGS = \
|
|||
|
||||
if WITH_LIBC
|
||||
AM_CFLAGS += \
|
||||
-I$(top_builddir)/libc \
|
||||
-I$(top_srcdir)/libc
|
||||
-I$(top_builddir)/libc/include \
|
||||
-I$(top_srcdir)/libc/include
|
||||
endif
|
||||
|
||||
if ENABLE_WERROR
|
||||
|
@ -70,7 +70,7 @@ if WITH_FRAMEBUFFER
|
|||
libkernaux_a_SOURCES += src/framebuffer.c
|
||||
endif
|
||||
if WITH_LIBC
|
||||
libkernaux_a_SOURCES += src/libc.c
|
||||
libkernaux_a_SOURCES += libc/src/main.c
|
||||
endif
|
||||
if WITH_MBR
|
||||
libkernaux_a_SOURCES += src/mbr.c
|
||||
|
|
|
@ -75,9 +75,9 @@ zero). Work-in-progress APIs can change at any time.
|
|||
* [snprintf](/examples/snprintf.c)
|
||||
* [vsnprintf](/examples/snprintf_va.c)
|
||||
* libc replacement
|
||||
* [ctype.h](/libc/ctype.h)
|
||||
* [stdlib.h](/libc/stdlib.h)
|
||||
* [string.h](/libc/string.h)
|
||||
* [ctype.h](/libc/include/ctype.h)
|
||||
* [stdlib.h](/libc/include/stdlib.h)
|
||||
* [string.h](/libc/include/string.h)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ AM_INIT_AUTOMAKE([1.9 subdir-objects])
|
|||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
include/Makefile
|
||||
libc/Makefile
|
||||
libc/include/Makefile
|
||||
include/kernaux.h
|
||||
include/kernaux/console.h
|
||||
include/kernaux/printf.h
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "libc.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
int atoi(const char *str)
|
||||
{
|
Loading…
Add table
Reference in a new issue