summaryrefslogtreecommitdiff
path: root/api/Makefile.am
blob: 510550fb57093b353335a5caa66a0cd862796428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

if BUILD_GLX
EPPLET_LIB_GLX = libepplet_glx.la
endif

AM_CPPFLAGS = -I$(top_builddir)
AM_CFLAGS = $(CWARNFLAGS) $(CFLAGS_VISIBILITY) $(CFLAGS_ASAN)

lib_LTLIBRARIES = libepplet.la $(EPPLET_LIB_GLX)

include_HEADERS = epplet.h

libepplet_la_SOURCES = epplet.c
libepplet_la_CPPFLAGS = $(AM_CPPFLAGS) $(IMLIB2_CFLAGS) $(X_CFLAGS) -D ENLIGHTENMENT_ROOT=\"$(datadir)/e16\"
libepplet_la_LIBADD = $(IMLIB2_LIBS) $(X_LIBS) -lXext -lX11 -lm
libepplet_la_LDFLAGS = -version-info 3:0:0

libepplet_glx_la_SOURCES = epplet_glx.c
libepplet_glx_la_CPPFLAGS = $(AM_CPPFLAGS) $(X_CFLAGS)
libepplet_glx_la_LIBADD = libepplet.la $(GLX_LIBS)
libepplet_glx_la_LDFLAGS = -version-info 3:0:0

EXTRA_DIST = epplet.h.in epplet_glx.c