diff --git a/mach/m68k2/libfp/.distr b/mach/m68k2/libfp/.distr new file mode 100644 index 000000000..deec15c04 --- /dev/null +++ b/mach/m68k2/libfp/.distr @@ -0,0 +1,2 @@ +Makefile +byte_order.h diff --git a/mach/m68k2/libfp/Makefile b/mach/m68k2/libfp/Makefile new file mode 100644 index 000000000..3b55c4b69 --- /dev/null +++ b/mach/m68k2/libfp/Makefile @@ -0,0 +1,22 @@ +EMHOME=../../.. +SUF=o +MAKEFILE=$(EMHOME)/mach/proto/fp/Makefile +MACHDEF="MACH=m68k2" "CFLAGS=-DIEEEFORMAT" "SUF=$(SUF)" "ASAR=aal" + +all: + make -f $(MAKEFILE) $(MACHDEF) all + +install: + make -f $(MAKEFILE) $(MACHDEF) install + +cmp: all + -../../compare FP_$(MACH).a tail_fp + +clean: + make -f $(MAKEFILE) $(MACHDEF) clean + +opr: + make pr | opr + +pr: + @pr Makefile diff --git a/mach/m68k2/libfp/byte_order.h b/mach/m68k2/libfp/byte_order.h new file mode 100644 index 000000000..e7c51e106 --- /dev/null +++ b/mach/m68k2/libfp/byte_order.h @@ -0,0 +1,3 @@ +#define BYTES_REVERSED 1 +#define WORDS_REVERSED 0 +#define CHAR_UNSIGNED 0