summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 188ac4dee4b89058e7c6af3278d905392d8de817 (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
lib_LTLIBRARIES=libSM.la

AM_CFLAGS= -I${top_srcdir}/include $(SM_CFLAGS) $(XTRANS_CFLAGS)

if WITH_LIBUUID
AM_CFLAGS += $(LIBUUID_CFLAGS) -DHAVE_LIBUUID
endif

libSM_la_LDFLAGS = -version-number 6:0:0 -no-undefined

libSM_la_LIBADD = $(SM_LIBS) $(XTRANS_LIBS)

if WITH_LIBUUID
libSM_la_LIBADD += $(LIBUUID_LIBS)
endif

libSM_la_SOURCES = \
	SMlibint.h \
	sm_auth.c \
	sm_client.c \
	sm_error.c \
	sm_genid.c \
	sm_manager.c \
	sm_misc.c \
	sm_process.c

smincludedir=$(includedir)/X11/SM
sminclude_HEADERS=\
	$(top_srcdir)/include/X11/SM/SM.h \
	$(top_srcdir)/include/X11/SM/SMlib.h \
	$(top_srcdir)/include/X11/SM/SMproto.h