2009-05-22 22:00:19 +00:00
|
|
|
include $(top_srcdir)/config/Rules.am
|
|
|
|
|
|
|
|
DEFAULT_INCLUDES += \
|
|
|
|
-I${top_srcdir}/lib/libspl/include
|
2009-07-01 19:49:10 +00:00
|
|
|
|
2009-06-08 23:10:12 +00:00
|
|
|
atomic_SOURCE = atomic.c
|
2009-05-22 22:00:19 +00:00
|
|
|
atomic_ASM = atomic.S
|
|
|
|
|
2009-07-01 19:49:10 +00:00
|
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
2009-07-17 16:36:01 +00:00
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIC
|
2009-07-01 19:49:10 +00:00
|
|
|
EXTRA_DIST = ${atomic_SOURCE}
|
|
|
|
|
2009-05-22 22:00:19 +00:00
|
|
|
# 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:
|
2009-07-01 18:31:47 +00:00
|
|
|
$(RM) ${atomic_ASM}
|