zfs-builds-mm/zfs-0.8.0/lib/libspl/asm-generic/Makefile.am

19 lines
459 B
Makefile
Raw Normal View History

2019-07-06 23:40:11 +02:00
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)