summaryrefslogtreecommitdiff
path: root/.headers.mk
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-12 12:54:25 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-12 12:54:25 -0400
commit04c90245dcf4bda90530522d491d91f8ce1a2f74 (patch)
tree7bd734035006bc0e0380fb5d13c8d51302d66bbc /.headers.mk
parent1f25d48f6f5a0616a24cec7dbc8e902177e48079 (diff)
update deps for better detection of assembly
Diffstat (limited to '.headers.mk')
-rw-r--r--.headers.mk15
1 files changed, 3 insertions, 12 deletions
diff --git a/.headers.mk b/.headers.mk
index cc064989..a1f812fd 100644
--- a/.headers.mk
+++ b/.headers.mk
@@ -1,3 +1,6 @@
+.POSIX:
+.DEFAULT: headers
+
include .config.mk
$(INCDIR)/aio.h: mkh.sh $(SRCDIR)/aio/struct_aiocb.c $(SRCDIR)/aio/LIO_WRITE.c $(SRCDIR)/aio/AIO_CANCELED.c $(SRCDIR)/aio/LIO_NOWAIT.c $(SRCDIR)/aio/aio_return.c $(SRCDIR)/aio/aio_cancel.c $(SRCDIR)/aio/AIO_NOTCANCELED.c $(SRCDIR)/aio/aio_error.c $(SRCDIR)/aio/lio_listio.c $(SRCDIR)/aio/LIO_WAIT.c $(SRCDIR)/aio/aio_fsync.c $(SRCDIR)/aio/AIO_ALLDONE.c $(SRCDIR)/aio/LIO_NOP.c $(SRCDIR)/aio/aio_write.c $(SRCDIR)/aio/LIO_READ.c $(SRCDIR)/aio/aio_read.c $(SRCDIR)/aio/aio_suspend.c
@@ -84,15 +87,6 @@ $(INCDIR)/ndbm.h: mkh.sh $(SRCDIR)/ndbm/dbm_nextkey.c $(SRCDIR)/ndbm/dbm_store.c
$(INCDIR)/nl_types.h: mkh.sh $(SRCDIR)/nl_types/nl_catd.c $(SRCDIR)/nl_types/NL_CAT_LOCALE.c $(SRCDIR)/nl_types/catopen.c $(SRCDIR)/nl_types/nl_item.c $(SRCDIR)/nl_types/catgets.c $(SRCDIR)/nl_types/NL_SETD.c $(SRCDIR)/nl_types/catclose.c
INCDIR=$(INCDIR) sh mkh.sh $(INCDIR)/nl_types.h
-$(INCDIR)/nonstd/assert.h: mkh.sh $(SRCDIR)/nonstd/ASSERT_NONNULL.c $(SRCDIR)/nonstd/ASSERT_NOOVERLAP.c $(SRCDIR)/nonstd/ASSERT_REPRESENTABLE.c $(SRCDIR)/nonstd/ASSERT_NONZERO.c
- INCDIR=$(INCDIR) sh mkh.sh $(INCDIR)/nonstd/assert.h
-
-$(INCDIR)/nonstd/internal.h: mkh.sh $(SRCDIR)/nonstd/LIBC_INTERNAL.c $(SRCDIR)/nonstd/__libc.c
- INCDIR=$(INCDIR) sh mkh.sh $(INCDIR)/nonstd/internal.h
-
-$(INCDIR)/nonstd/locale.h: mkh.sh $(SRCDIR)/nonstd/struct_locale_t.c $(SRCDIR)/nonstd/__load_locale.c $(SRCDIR)/nonstd/locale-internal.ref $(SRCDIR)/nonstd/locale-limits.ref $(SRCDIR)/nonstd/locale-locale.ref
- INCDIR=$(INCDIR) sh mkh.sh $(INCDIR)/nonstd/locale.h
-
$(INCDIR)/poll.h: mkh.sh $(SRCDIR)/poll/POLLRDNORM.c $(SRCDIR)/poll/POLLNVAL.c $(SRCDIR)/poll/POLLHUP.c $(SRCDIR)/poll/poll.c $(SRCDIR)/poll/POLLWRNORM.c $(SRCDIR)/poll/POLLOUT.c $(SRCDIR)/poll/struct_pollfd.c $(SRCDIR)/poll/POLLWRBAND.c $(SRCDIR)/poll/POLLERR.c $(SRCDIR)/poll/POLLPRI.c $(SRCDIR)/poll/POLLRDBAND.c $(SRCDIR)/poll/nfds_t.c $(SRCDIR)/poll/POLLIN.c
INCDIR=$(INCDIR) sh mkh.sh $(INCDIR)/poll.h
@@ -275,9 +269,6 @@ headers: \
$(INCDIR)/mqueue.h \
$(INCDIR)/ndbm.h \
$(INCDIR)/nl_types.h \
- $(INCDIR)/nonstd/assert.h \
- $(INCDIR)/nonstd/internal.h \
- $(INCDIR)/nonstd/locale.h \
$(INCDIR)/poll.h \
$(INCDIR)/pthread.h \
$(INCDIR)/pwd.h \