diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-01-31 21:40:53 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-01-31 21:40:53 -0500 |
| commit | 81fecc5850ce7d50bf3f60fde4b2a4d354dde7a2 (patch) | |
| tree | 2871d2dfe1e689184b4221c728b4e878723521ed | |
| parent | fd73f471a664e93ab70d20759ca66888972c3f23 (diff) | |
update to corrected headers and such
| -rw-r--r-- | .deps.mk | 20 | ||||
| -rw-r--r-- | .headers.mk | 21 |
2 files changed, 3 insertions, 38 deletions
@@ -10,19 +10,6 @@ CFLAGS=$(INCLUDES) -g -fno-builtin -nostdinc -nostdlib -nodefaultlibs -Werror -W libc_OBJS = $(OBJDIR)/libc.o $(OBJDIR)/x86-64.o \ $(OBJDIR)/isalnum.o \ $(OBJDIR)/isalpha.o \ - $(OBJDIR)/isalnum.o \ - $(OBJDIR)/isalpha.o \ - $(OBJDIR)/iscntrl.o \ - $(OBJDIR)/isdigit.o \ - $(OBJDIR)/isgraph.o \ - $(OBJDIR)/islower.o \ - $(OBJDIR)/isprint.o \ - $(OBJDIR)/ispunct.o \ - $(OBJDIR)/isspace.o \ - $(OBJDIR)/isupper.o \ - $(OBJDIR)/isalnum.o \ - $(OBJDIR)/isalnum.o \ - $(OBJDIR)/isalpha.o \ $(OBJDIR)/iscntrl.o \ $(OBJDIR)/isdigit.o \ $(OBJDIR)/isgraph.o \ @@ -140,7 +127,6 @@ libc_OBJS = $(OBJDIR)/libc.o $(OBJDIR)/x86-64.o \ $(OBJDIR)/mktime.o \ $(OBJDIR)/strftime.o \ $(OBJDIR)/time.o \ - $(OBJDIR)/_POSIX_SOURCE.o \ $(OBJDIR)/closedir.o \ $(OBJDIR)/opendir.o \ $(OBJDIR)/readdir.o \ @@ -338,10 +324,6 @@ libm_OBJS = \ libm.a: $(libm_OBJS) $(AR) r $@ $? -$(OBJDIR)/_POSIX_SOURCE.o: src/POSIX.1-1988/_POSIX_SOURCE.c $(INCDIR)/ - -@mkdir -p $(OBJDIR) - $(CC) $(CFLAGS) -c src/POSIX.1-1988/_POSIX_SOURCE.c -o $@ - $(OBJDIR)/_exit.o: src/POSIX.1-1988/unistd/_exit.c $(INCDIR)/unistd.h -@mkdir -p $(OBJDIR) $(CC) $(CFLAGS) -c src/POSIX.1-1988/unistd/_exit.c -o $@ @@ -574,7 +556,7 @@ $(OBJDIR)/fgets.o: src/9899-1990/stdio/fgets.c $(INCDIR)/stdio.h -@mkdir -p $(OBJDIR) $(CC) $(CFLAGS) -c src/9899-1990/stdio/fgets.c -o $@ -$(OBJDIR)/fgetwc.o: src/9899-1990-AMD1/wchar/fgetwc.c $(INCDIR)/stdio.h +$(OBJDIR)/fgetwc.o: src/9899-1990-AMD1/wchar/fgetwc.c $(INCDIR)/wchar.h -@mkdir -p $(OBJDIR) $(CC) $(CFLAGS) -c src/9899-1990-AMD1/wchar/fgetwc.c -o $@ diff --git a/.headers.mk b/.headers.mk index 97971a8d..bb681b42 100644 --- a/.headers.mk +++ b/.headers.mk @@ -5,9 +5,6 @@ include config.mk default: headers assert_h_SOURCES = \ - src/9899-1990/assert/assert.c \ - src/9899-1990/assert/assert.c \ - src/9899-1990/assert/assert.c \ src/9899-1990/assert/assert.c $(INCDIR)/assert.h: $(assert_h_SOURCES) @@ -42,20 +39,6 @@ $(INCDIR)/cpio.h: $(cpio_h_SOURCES) ctype_h_SOURCES = \ src/9899-1990/ctype/isalnum.c \ src/9899-1990/ctype/isalpha.c \ - src/9899-1990/ctype/isalnum.c \ - src/9899-1990/ctype/isalpha.c \ - src/9899-1990/ctype/iscntrl.c \ - src/9899-1990/ctype/isdigit.c \ - src/9899-1990/ctype/isgraph.c \ - src/9899-1990/ctype/islower.c \ - src/9899-1990/ctype/isprint.c \ - src/9899-1990/ctype/ispunct.c \ - src/9899-1990/ctype/isspace.c \ - src/9899-1990/ctype/isupper.c \ - src/9899-1990/ctype/isalnum.c \ - src/9899-1990/ctype/isalpha.c \ - src/9899-1990/ctype/isalnum.c \ - src/9899-1990/ctype/isalpha.c \ src/9899-1990/ctype/iscntrl.c \ src/9899-1990/ctype/isdigit.c \ src/9899-1990/ctype/isgraph.c \ @@ -459,8 +442,7 @@ stdio_h_SOURCES = \ src/POSIX.1-1988/stdio/L_ctermid.c \ src/POSIX.1-1988/stdio/L_cuserid.c \ src/POSIX.1-1988/stdio/fdopen.c \ - src/POSIX.1-1988/stdio/fileno.c \ - src/9899-1990-AMD1/wchar/fgetwc.c + src/POSIX.1-1988/stdio/fileno.c $(INCDIR)/stdio.h: $(stdio_h_SOURCES) sh mkh.sh $@ $(stdio_h_SOURCES) @@ -853,6 +835,7 @@ wchar_h_SOURCES = \ src/9899-1990-AMD1/wchar/WCHAR_MAX.c \ src/9899-1990-AMD1/wchar/WCHAR_MIN.c \ src/9899-1990-AMD1/wchar/btowc.c \ + src/9899-1990-AMD1/wchar/fgetwc.c \ src/9899-1990-AMD1/wchar/fgetws.c \ src/9899-1990-AMD1/wchar/fputwc.c \ src/9899-1990-AMD1/wchar/fputws.c \ |
