Makefile.am 1.02 KB
Newer Older
1
AM_CPPFLAGS = -I$(top_srcdir)/jemalloc/include
2 3
lib_LTLIBRARIES = libaml.la

4 5 6 7 8 9 10 11 12
ARENA_JEMALLOC_CSOURCES = arena_jemalloc.c

AREA_LINUX_CSOURCES = area_linux.c \
		      area_linux_manager.c \
		      area_linux_mbind.c \
		      area_linux_mmap.c

AREA_POSIX_CSOURCES = area_posix.c

13 14
TILING_CSOURCES = tiling.c \
		  tiling_1d.c \
15
		  tiling_2d.c
16 17 18 19 20

BINDING_CSOURCES = binding.c \
		   binding_single.c \
		   binding_interleave.c

21
DMA_CSOURCES = dma.c \
22
	       dma_linux_par.c \
23 24
	       dma_linux_seq.c

25
SCRATCH_CSOURCES = scratch.c \
26 27
		   scratch_seq.c \
		   scratch_par.c
28

29 30
UTILS_CSOURCES = vector.c

31
LIBCSOURCES = aml.c area.c arena.c \
32
	      $(UTILS_CSOURCES) \
33 34
	      $(ARENA_JEMALLOC_CSOURCES) \
	      $(AREA_LINUX_CSOURCES) \
35 36
	      $(AREA_POSIX_CSOURCES) \
	      $(TILING_CSOURCES) \
37
	      $(BINDING_CSOURCES) \
38 39
	      $(DMA_CSOURCES) \
	      $(SCRATCH_CSOURCES)
40

41
LIBHSOURCES = aml.h
42 43

libaml_la_SOURCES = $(LIBCSOURCES) $(LIBHSOURCES)
44
libaml_la_LIBADD = $(top_srcdir)/jemalloc/lib/libjemalloc-aml_pic.a
45
include_HEADERS = $(LIBHSOURCES)