2009-05-22 22:00:19 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
|
|
|
DEFAULT_INCLUDES += \
|
|
|
|
-I${top_srcdir}/lib/libspl/include
|
|
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2009-06-08 23:10:12 +00:00
|
|
|
atomic_SOURCE = atomic.c
|
2009-05-22 22:00:19 +00:00
|
|
|
atomic_ASM = atomic.S
|
|
|
|
|
|
|
|
# Generates assembly to simplify inclusion in ../Makefile.am
|
|
|
|
all-am:
|
2009-06-08 23:10:12 +00:00
|
|
|
$(COMPILE) -c -S ${atomic_SOURCE} -o ${atomic_ASM}
|
2009-05-22 22:00:19 +00:00
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
rm ${atomic_ASM}
|