Build efitools

This commit is contained in:
Thomas Pöchtrager 2020-03-22 16:17:56 +01:00
parent e6e0ca7904
commit 8bef2093b9
3 changed files with 16 additions and 0 deletions

View File

@ -467,6 +467,7 @@ AC_CONFIG_FILES([as/ppc64/Makefile])
AC_CONFIG_FILES([man/Makefile])
AC_CONFIG_FILES([misc/Makefile])
AC_CONFIG_FILES([otool/Makefile])
AC_CONFIG_FILES([efitools/Makefile])
AC_CONFIG_FILES([libobjc2/Makefile])
AC_CONFIG_FILES([ld64/Makefile])
AC_CONFIG_FILES([ld64/doc/man/Makefile])

View File

@ -0,0 +1,14 @@
bin_PROGRAMS = \
makerelocs \
mtoc \
mtor
LDADD = \
$(top_builddir)/libstuff/libstuff.la \
$(REALLOCF_LIB)
AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEF) -D__DARWIN_UNIX03 $(ENDIAN_FLAG)
makerelocs_SOURCES= makerelocs.c
mtoc_SOURCES= mtoc.c
mtor_SOURCES= mtor.c

View File

@ -25,6 +25,7 @@
#include "stuff/errors.h"
#include "stuff/ofile.h"
#include "stuff/write64.h"
#include "stuff/port.h" /* cctools-port */
#include <fcntl.h>
#include <mach-o/loader.h>