1lib_LTLIBRARIES=libXext.la
2
3AM_CPPFLAGS=\
4          -I$(top_srcdir)/include \
5          -I$(top_srcdir)/include/X11/extensions\
6          $(XEXT_CFLAGS) $(MALLOC_ZERO_CFLAGS)
7
8AM_CFLAGS=$(CWARNFLAGS)
9
10libXext_la_LDFLAGS = -version-number $(XEXT_SOREV) -no-undefined
11
12libXext_la_LIBADD = $(LTLIBOBJS) $(XEXT_LIBS)
13
14libXext_la_SOURCES = \
15	DPMS.c \
16	MITMisc.c \
17	XAppgroup.c \
18	XEVI.c \
19	XLbx.c \
20	XMultibuf.c \
21	XSecurity.c \
22	XShape.c \
23	XShm.c \
24	XSync.c \
25	XTestExt1.c \
26	Xcup.c \
27	Xdbe.c \
28        Xge.c \
29	extutil.c \
30	extutilP.h \
31	reallocarray.h \
32        globals.c
33
34libXextincludedir = $(includedir)/X11/extensions
35libXextinclude_HEADERS = $(top_srcdir)/include/X11/extensions/dpms.h \
36			 $(top_srcdir)/include/X11/extensions/extutil.h \
37			 $(top_srcdir)/include/X11/extensions/MITMisc.h \
38			 $(top_srcdir)/include/X11/extensions/multibuf.h \
39			 $(top_srcdir)/include/X11/extensions/security.h \
40			 $(top_srcdir)/include/X11/extensions/shape.h \
41			 $(top_srcdir)/include/X11/extensions/sync.h \
42			 $(top_srcdir)/include/X11/extensions/Xag.h \
43			 $(top_srcdir)/include/X11/extensions/Xcup.h \
44			 $(top_srcdir)/include/X11/extensions/Xdbe.h \
45			 $(top_srcdir)/include/X11/extensions/XEVI.h \
46			 $(top_srcdir)/include/X11/extensions/Xext.h \
47			 $(top_srcdir)/include/X11/extensions/Xge.h \
48			 $(top_srcdir)/include/X11/extensions/XLbx.h \
49			 $(top_srcdir)/include/X11/extensions/XShm.h \
50			 $(top_srcdir)/include/X11/extensions/xtestext1.h
51
52if LINT
53ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
54                $(AM_CPPFLAGS) $(CPPFLAGS)
55
56lint:
57	$(LINT) $(ALL_LINT_FLAGS) $(libXext_la_SOURCES) $(XEXT_LIBS)
58endif LINT
59
60if MAKE_LINT_LIB
61lintlibdir = $(libdir)
62
63lintlib_DATA = $(LINTLIB)
64
65$(LINTLIB): $(libXext_la_SOURCES)
66	$(LINT) -y -oXext -x $(ALL_LINT_FLAGS) $(libXext_la_SOURCES)
67endif MAKE_LINT_LIB
68