aboutsummaryrefslogtreecommitdiff
path: root/libXext/src/Makefile.am
blob: e236c3345454bdacd7af8d70fe75ef1432bc2b49 (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
lib_LTLIBRARIES=libXext.la

AM_CPPFLAGS=\
          -I$(top_srcdir)/include \
          -I$(top_srcdir)/include/X11/extensions\
          $(XEXT_CFLAGS) $(MALLOC_ZERO_CFLAGS)

AM_CFLAGS=$(CWARNFLAGS)

libXext_la_LDFLAGS = -version-number $(XEXT_SOREV) -no-undefined

libXext_la_LIBADD = $(XEXT_LIBS)

libXext_la_SOURCES = \
	DPMS.c \
	MITMisc.c \
	XAppgroup.c \
	XEVI.c \
	XLbx.c \
	XMultibuf.c \
	XSecurity.c \
	XShape.c \
	XShm.c \
	XSync.c \
	XTestExt1.c \
	Xcup.c \
	Xdbe.c \
        Xge.c \
	extutil.c \
	globals.c

libXextincludedir = $(includedir)/X11/extensions
libXextinclude_HEADERS = $(top_srcdir)/include/X11/extensions/dpms.h \
			 $(top_srcdir)/include/X11/extensions/extutil.h \
			 $(top_srcdir)/include/X11/extensions/MITMisc.h \
			 $(top_srcdir)/include/X11/extensions/multibuf.h \
			 $(top_srcdir)/include/X11/extensions/security.h \
			 $(top_srcdir)/include/X11/extensions/shape.h \
			 $(top_srcdir)/include/X11/extensions/sync.h \
			 $(top_srcdir)/include/X11/extensions/Xag.h \
			 $(top_srcdir)/include/X11/extensions/Xcup.h \
			 $(top_srcdir)/include/X11/extensions/Xdbe.h \
			 $(top_srcdir)/include/X11/extensions/XEVI.h \
			 $(top_srcdir)/include/X11/extensions/Xext.h \
			 $(top_srcdir)/include/X11/extensions/Xge.h \
			 $(top_srcdir)/include/X11/extensions/XLbx.h \
			 $(top_srcdir)/include/X11/extensions/XShm.h \
			 $(top_srcdir)/include/X11/extensions/xtestext1.h

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

lint:
	$(LINT) $(ALL_LINT_FLAGS) $(libXext_la_SOURCES) $(XEXT_LIBS)
endif LINT

if MAKE_LINT_LIB
lintlibdir = $(libdir)

lintlib_DATA = $(LINTLIB)

$(LINTLIB): $(libXext_la_SOURCES)
	$(LINT) -y -oXext -x $(ALL_LINT_FLAGS) $(libXext_la_SOURCES)
endif MAKE_LINT_LIB