summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: dbfef37ca6f7a69ea2a807181b400d49e7327948 (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
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 \
	globals.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