mirror_zfs/lib/libspl/asm-generic/Makefile.am
Brian Behlendorf a26baf285f Add linux libspl support
All changes needed for the libspl layer.  This includes modifications
to files directly copied from OpenSolaris and the addition of new
files needed to fill in the gaps.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-31 13:41:59 -07:00

19 lines
459 B
Makefile

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}