aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl/asm-generic/Makefile.am
blob: 17fe501fa1836baddc4b063effd62030dfbf331a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)