diff options
Diffstat (limited to 'lib/libspl/asm-generic/Makefile.am')
-rw-r--r-- | lib/libspl/asm-generic/Makefile.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/libspl/asm-generic/Makefile.am b/lib/libspl/asm-generic/Makefile.am new file mode 100644 index 000000000..4f5032f73 --- /dev/null +++ b/lib/libspl/asm-generic/Makefile.am @@ -0,0 +1,18 @@ +include $(top_srcdir)/config/Rules.am + +DEFAULT_INCLUDES += \ + -I${top_srcdir}/lib/libspl/include + +atomic_SOURCE = atomic.c +atomic_ASM = atomic.S + +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIC +EXTRA_DIST = ${atomic_SOURCE} + +# Generates assembly to simplify inclusion in ../Makefile.am +all-am: + $(COMPILE) -c -S ${atomic_SOURCE} -o ${atomic_ASM} + +clean-generic: + $(RM) ${atomic_ASM} |