summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile63
1 files changed, 55 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 6d520ca..dbe8bcc 100644
--- a/Makefile
+++ b/Makefile
@@ -33,16 +33,47 @@ download:
SUPPORTED_ARCHES =\
+ ALPHA_LE\
+ ALPHA_BE\
AMD64\
AMD64_X32\
+ IA64_LE\
+ IA64_BE\
+ IA64_P32_LE\
+ IA64_P32_BE\
M68K\
+ MICROBLAZE_32_LE\
+ MICROBLAZE_32_BE\
+ MICROBLAZE_64_LE\
+ MICROBLAZE_64_BE\
+ MIPS_O32_LE\
+ MIPS_O32_BE\
+ MIPS_N32_LE\
+ MIPS_N32_BE\
+ MIPS_N64_LE\
+ MIPS_N64_BE\
PARISC_32\
PARISC_64\
+ POWERPC_32_LE\
+ POWERPC_32_BE\
+ POWERPC_64_LE\
+ POWERPC_64_BE\
+ POWERPC_NOSPU_LE\
+ POWERPC_NOSPU_BE\
+ POWERPC_SPU_LE\
+ POWERPC_SPU_BE\
+ S390_32\
+ S390_64\
+ SH_LE\
+ SH_BE\
SPARC_32\
- I386
-# Excluded because of missing support in libsyscalls_get_datatype_description.c:
-# ALPHA ARM_OABI ARM_EABI IA64 MICROBLAZE MIPS_O32 MIPS_N32 MIPS_N64 POWERPC_32
-# POWERPC_64 POWERPC_NOSPU POWERPC_SPU S390_32 S390_64 SH SPARC_64 XTENSA
+ SPARC_64_LE\
+ SPARC_64_BE\
+ I386\
+ XTENSA_LE\
+ XTENSA_BE
+# Excluded because of incomplete support (see LIST_ARCH_SPECS in common.h):
+# ARM_OABI_LE ARM_OABI_BE ARM_EABI_LE ARM_EABI_BE
include $(CONFIGFILE)
# Reloading the user's config in case it limits supported architectures
@@ -70,13 +101,20 @@ OBJ =\
libsyscalls_get_datatype_description.o\
libsyscalls_get_integer_alignment.o\
libsyscalls_get_signals.o\
+ libsyscalls_get_struct_description.o\
libsyscalls_get_syscall.o\
libsyscalls_get_syscall_display_info.o\
libsyscalls_get_syscall_errors.o\
libsyscalls_get_syscall_range.o\
+ libsyscalls_make_signed_integer.o\
+ libsyscalls_parse_signed_integer.o\
libsyscalls_perror.o\
+ libsyscalls_section_value.o\
libsyscalls_strerror.o\
- libsyscalls_syscalls_tables_.o
+ libsyscalls_syscalls_tables_.o\
+ libsyscalls_to_tracee_endian.o\
+ libsyscalls_to_tracer_endian.o\
+ libsyscalls_unsection_value.o
#extended for each support operating system
HDR =\
@@ -106,10 +144,16 @@ TESTUTILS =\
testutil/is-section-quarter.tu\
testutil/is-datatype-struct.tu\
testutil/list-errors.tu\
+ testutil/make-signed.tu\
+ testutil/parse-signed.tu\
testutil/perror-all.tu\
testutil/perror-bad.tu\
+ testutil/section-value.tu\
testutil/strerror-all.tu\
- testutil/strerror-bad.tu
+ testutil/strerror-bad.tu\
+ testutil/to-tracee-endian.tu\
+ testutil/to-tracer-endian.tu\
+ testutil/unsection-value.tu
@@ -153,9 +197,12 @@ libsyscalls.$(LIBEXT): $(LOBJ)
check: $(TESTUTILS)
env CPP="$(CPP)" $(TEST_ENV) ./test
- @if grep '^alias t=:' < ./test >/dev/null; then \
+ @if grep '^t=:' < ./test >/dev/null; then \
printf '\033[1;33m%s\033[m\n' 'Warning! tests have been disabled' >&2; \
fi
+ @if grep '^alias p=' < ./test >/dev/null; then \
+ printf '\033[1;33m%s\033[m\n' 'Warning! tests are running synchronously' >&2; \
+ fi
install: libsyscalls.a libsyscalls.$(LIBEXT)
@@ -186,7 +233,7 @@ buildclean: semiclean
-rm -rf -- generated/ $(OPERATING_SYSTEMS:=-src/*/)
semiclean:
- -rm -f -- *.o *.lo *.su *.gch *.gcov *.gcno *.gcda .*.tmp
+ -rm -f -- *.o *.lo *.su *.gch *.gcov *.gcno *.gcda .*.tmp .*.tmp.c
-rm -f -- */*.o */*.lo */*.su */*.gch */*.gcov */*.gcno */*.gcda
-rm -f -- *.a *.so *.so.* *.dll *.dylib *.$(LIBEXT) */*.tu
-rm -f -- libsyscalls/short-enums.h