summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 3efc11136686f7a0c8d969613ed744d46dd07bf0 (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
AM_CFLAGS = -I$(top_srcdir)/include \
            -I$(top_srcdir)/include/X11 \
            -I$(top_srcdir)/include/X11/extensions \
            $(XINERAMA_CFLAGS) \
            $(MALLOC_ZERO_CFLAGS)
lib_LTLIBRARIES = libXinerama.la

libXinerama_la_SOURCES = \
         Xinerama.c

libXinerama_la_LIBADD = $(XINERAMA_LIBS)

libXinerama_la_LDFLAGS = -version-number 1:0:0 -no-undefined

libXineramaincludedir = $(includedir)/X11/extensions
libXineramainclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xinerama.h \
                             $(top_srcdir)/include/X11/extensions/panoramiXext.h

if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
		$(AM_CPPFLAGS) $(CPPFLAGS)

lint:
	$(LINT) $(ALL_LINT_FLAGS) $(libXinerama_la_SOURCES) $(XINERAMA_LIBS)
endif LINT