Skip to content

Commit

Permalink
Make sure that sysbind.h is generated before running install-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
th-otto committed Jun 6, 2024
1 parent 3565492 commit 9a35264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ uninstall-include-recursive uninstall-man-recursive:
fi; \
list='$(SUBDIRS)'; \
if test "$@" = clean-recursive; then list='$(filter-out $(LIBDIRS),$(SUBDIRS))'; fi; \
if test "$@" = distclean-recursive; then list='$(filter-out $(LIBDIRS),$(SUBDIRS))'; fi; \
for subdir in $$list; do \
target=`echo $@ | sed s/-recursive//`; \
echo "Making $$target in $$subdir"; \
Expand All @@ -267,6 +268,7 @@ install-headers-recursive:
echo "attempting to install on host; aborting" >&2; \
exit 1; \
fi; \
$(MAKE) -C syscall all || exit 1; \
list='include sunrpc'; \
for subdir in $$list; do \
target=`echo $@ | sed s/-recursive//`; \
Expand Down
1 change: 1 addition & 0 deletions syscall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ include $(top_srcdir)/checkrules

distclean::
$(RM) SRCFILES.traps syscalls.stmp .stmp.pars pars.c pars.h scan.c
$(RM) $(top_srcdir)/include/mint/sysbind.h $(top_srcdir)/include/mint/trap{1,13,14}.h

clean::
$(RM) gen-syscall
Expand Down

0 comments on commit 9a35264

Please sign in to comment.