summaryrefslogtreecommitdiff
path: root/src/lib/Makefile.am
blob: a4a76f1e5189f3c809d91d52b7ae0b4205ee18db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
AUTOMAKE_OPTIONS     = 1.4 foreign
MAINTAINERCLEANFILES = Makefile.in
INCLUDES	     = @my_includes@ -I. -I$(top_srcdir)  -I$(top_builddir)  -DPACKAGE_LIB_DIR=\"$(libdir)\"
# Older automakes (<1.10) do not use INCLUDES when compiling .S files
AM_CCASFLAGS = -I$(top_builddir)

lib_LTLIBRARIES      = libImlib2.la
include_HEADERS      = Imlib2.h
libImlib2_la_SOURCES = \
api.c \
asm.h \
blend.c \
blend.h \
color.c \
color.h \
color_helpers.c \
color_helpers.h \
colormod.c \
colormod.h \
common.h \
context.c \
context.h \
draw.c \
draw.h \
dynamic_filters.c \
dynamic_filters.h \
ellipse.c \
file.c \
file.h \
filter.c \
filter.h \
font.h \
font_draw.c \
font_load.c \
font_main.c \
font_query.c \
format.c \
format.h \
grab.c \
grab.h \
grad.c \
grad.h \
image.c \
image.h \
line.c \
loaderpath.h \
polygon.c \
rectangle.c \
rend.c \
rend.h \
rgba.c \
rgba.h \
rgbadraw.c \
rgbadraw.h \
rotate.c \
rotate.h \
scale.c \
scale.h \
script.c \
script.h \
span.c \
span.h \
updates.c \
updates.h \
ximage.c \
ximage.h

MMX_SRCS = \
asm_blend.S \
asm_blend_cmod.S \
asm_rgba.S \
asm_rotate.S \
asm_scale.S

AMD64_SRCS = \
amd64_blend.S \
amd64_blend_cmod.S

MMX_OBJS = $(MMX_SRCS:.S=.lo)
AMD64_OBJS = $(AMD64_SRCS:.S=.lo)

EXTRA_DIST = $(MMX_SRCS) $(AMD64_SRCS) asm_loadimmq.S

if BUILD_MMX
libImlib2_la_LIBADD       = $(MMX_OBJS) @my_libs@
libImlib2_la_DEPENDENCIES = $(top_builddir)/config.h $(MMX_OBJS)
EXTRA_libImlib2_la_SOURCES = $(MMX_SRCS) 
else
if BUILD_AMD64
libImlib2_la_LIBADD       = $(AMD64_OBJS) @my_libs@
libImlib2_la_DEPENDENCIES = $(top_builddir)/config.h $(AMD64_OBJS)
EXTRA_libImlib2_la_SOURCES = $(AMD64_SRCS)
else
libImlib2_la_LIBADD       = @my_libs@
libImlib2_la_DEPENDENCIES = $(top_builddir)/config.h
endif
endif
libImlib2_la_LDFLAGS      = -version-info @lt_version@