summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am49
1 files changed, 25 insertions, 24 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 756337a..cad2129 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,8 +14,8 @@ AM_CFLAGS = $(CWARNFLAGS) $(NEEDED_CFLAGS) $(XDMCP_CFLAGS)
libxcb_la_LIBADD = $(NEEDED_LIBS) $(XDMCP_LIBS)
libxcb_la_SOURCES = \
xcb_conn.c xcb_out.c xcb_in.c xcb_ext.c xcb_xid.c \
- xcb_list.c xcb_util.c xcb_auth.c c_client.py \
- xproto.c bigreq.c xc_misc.c
+ xcb_list.c xcb_util.c xcb_auth.c c_client.py
+nodist_libxcb_la_SOURCES = xproto.c bigreq.c xc_misc.c
# Explanation for -version-info:
# -version-info current:revision:age
@@ -37,7 +37,7 @@ if BUILD_COMPOSITE
lib_LTLIBRARIES += libxcb-composite.la
libxcb_composite_la_LDFLAGS = -version-info 0:0:0
libxcb_composite_la_LIBADD = $(XCB_LIBS)
-libxcb_composite_la_SOURCES = composite.c composite.h
+nodist_libxcb_composite_la_SOURCES = composite.c composite.h
endif
EXTHEADERS += damage.h
@@ -47,7 +47,7 @@ if BUILD_DAMAGE
lib_LTLIBRARIES += libxcb-damage.la
libxcb_damage_la_LDFLAGS = -version-info 0:0:0
libxcb_damage_la_LIBADD = $(XCB_LIBS)
-libxcb_damage_la_SOURCES = damage.c damage.h
+nodist_libxcb_damage_la_SOURCES = damage.c damage.h
endif
EXTHEADERS += dpms.h
@@ -57,7 +57,7 @@ if BUILD_DPMS
lib_LTLIBRARIES += libxcb-dpms.la
libxcb_dpms_la_LDFLAGS = -version-info 0:0:0
libxcb_dpms_la_LIBADD = $(XCB_LIBS)
-libxcb_dpms_la_SOURCES = dpms.c dpms.h
+nodist_libxcb_dpms_la_SOURCES = dpms.c dpms.h
endif
EXTHEADERS += glx.h
@@ -67,7 +67,7 @@ if BUILD_GLX
lib_LTLIBRARIES += libxcb-glx.la
libxcb_glx_la_LDFLAGS = -version-info 0:0:0
libxcb_glx_la_LIBADD = $(XCB_LIBS)
-libxcb_glx_la_SOURCES = glx.c glx.h
+nodist_libxcb_glx_la_SOURCES = glx.c glx.h
endif
EXTHEADERS += randr.h
@@ -77,7 +77,7 @@ if BUILD_RANDR
lib_LTLIBRARIES += libxcb-randr.la
libxcb_randr_la_LDFLAGS = -version-info 0:0:0
libxcb_randr_la_LIBADD = $(XCB_LIBS)
-libxcb_randr_la_SOURCES = randr.c randr.h
+nodist_libxcb_randr_la_SOURCES = randr.c randr.h
endif
EXTHEADERS += record.h
@@ -87,7 +87,7 @@ if BUILD_RECORD
lib_LTLIBRARIES += libxcb-record.la
libxcb_record_la_LDFLAGS = -version-info 0:0:0
libxcb_record_la_LIBADD = $(XCB_LIBS)
-libxcb_record_la_SOURCES = record.c record.h
+nodist_libxcb_record_la_SOURCES = record.c record.h
endif
EXTHEADERS += render.h
@@ -97,7 +97,7 @@ if BUILD_RENDER
lib_LTLIBRARIES += libxcb-render.la
libxcb_render_la_LDFLAGS = -version-info 0:0:0
libxcb_render_la_LIBADD = $(XCB_LIBS)
-libxcb_render_la_SOURCES = render.c render.h
+nodist_libxcb_render_la_SOURCES = render.c render.h
endif
EXTHEADERS += res.h
@@ -107,7 +107,7 @@ if BUILD_RESOURCE
lib_LTLIBRARIES += libxcb-res.la
libxcb_res_la_LDFLAGS = -version-info 0:0:0
libxcb_res_la_LIBADD = $(XCB_LIBS)
-libxcb_res_la_SOURCES = res.c res.h
+nodist_libxcb_res_la_SOURCES = res.c res.h
endif
EXTHEADERS += screensaver.h
@@ -117,7 +117,7 @@ if BUILD_SCREENSAVER
lib_LTLIBRARIES += libxcb-screensaver.la
libxcb_screensaver_la_LDFLAGS = -version-info 0:0:0
libxcb_screensaver_la_LIBADD = $(XCB_LIBS)
-libxcb_screensaver_la_SOURCES = screensaver.c screensaver.h
+nodist_libxcb_screensaver_la_SOURCES = screensaver.c screensaver.h
endif
EXTHEADERS += shape.h
@@ -127,7 +127,7 @@ if BUILD_SHAPE
lib_LTLIBRARIES += libxcb-shape.la
libxcb_shape_la_LDFLAGS = -version-info 0:0:0
libxcb_shape_la_LIBADD = $(XCB_LIBS)
-libxcb_shape_la_SOURCES = shape.c shape.h
+nodist_libxcb_shape_la_SOURCES = shape.c shape.h
endif
EXTHEADERS += shm.h
@@ -137,7 +137,7 @@ if BUILD_SHM
lib_LTLIBRARIES += libxcb-shm.la
libxcb_shm_la_LDFLAGS = -version-info 0:0:0
libxcb_shm_la_LIBADD = $(XCB_LIBS)
-libxcb_shm_la_SOURCES = shm.c shm.h
+nodist_libxcb_shm_la_SOURCES = shm.c shm.h
endif
EXTHEADERS += sync.h
@@ -147,7 +147,7 @@ if BUILD_SYNC
lib_LTLIBRARIES += libxcb-sync.la
libxcb_sync_la_LDFLAGS = -version-info 0:0:0
libxcb_sync_la_LIBADD = $(XCB_LIBS)
-libxcb_sync_la_SOURCES = sync.c sync.h
+nodist_libxcb_sync_la_SOURCES = sync.c sync.h
endif
EXTHEADERS += xevie.h
@@ -157,7 +157,7 @@ if BUILD_XEVIE
lib_LTLIBRARIES += libxcb-xevie.la
libxcb_xevie_la_LDFLAGS = -version-info 0:0:0
libxcb_xevie_la_LIBADD = $(XCB_LIBS)
-libxcb_xevie_la_SOURCES = xevie.c xevie.h
+nodist_libxcb_xevie_la_SOURCES = xevie.c xevie.h
endif
EXTHEADERS += xf86dri.h
@@ -167,7 +167,7 @@ if BUILD_XFREE86_DRI
lib_LTLIBRARIES += libxcb-xf86dri.la
libxcb_xf86dri_la_LDFLAGS = -version-info 0:0:0
libxcb_xf86dri_la_LIBADD = $(XCB_LIBS)
-libxcb_xf86dri_la_SOURCES = xf86dri.c xf86dri.h
+nodist_libxcb_xf86dri_la_SOURCES = xf86dri.c xf86dri.h
endif
EXTHEADERS += xfixes.h
@@ -177,7 +177,7 @@ if BUILD_XFIXES
lib_LTLIBRARIES += libxcb-xfixes.la
libxcb_xfixes_la_LDFLAGS = -version-info 0:0:0
libxcb_xfixes_la_LIBADD = $(XCB_LIBS)
-libxcb_xfixes_la_SOURCES = xfixes.c xfixes.h
+nodist_libxcb_xfixes_la_SOURCES = xfixes.c xfixes.h
endif
EXTHEADERS += xinerama.h
@@ -187,7 +187,7 @@ if BUILD_XINERAMA
lib_LTLIBRARIES += libxcb-xinerama.la
libxcb_xinerama_la_LDFLAGS = -version-info 0:0:0
libxcb_xinerama_la_LIBADD = $(XCB_LIBS)
-libxcb_xinerama_la_SOURCES = xinerama.c xinerama.h
+nodist_libxcb_xinerama_la_SOURCES = xinerama.c xinerama.h
endif
EXTHEADERS += xinput.h
@@ -207,7 +207,7 @@ if BUILD_XPRINT
lib_LTLIBRARIES += libxcb-xprint.la
libxcb_xprint_la_LDFLAGS = -version-info 0:0:0
libxcb_xprint_la_LIBADD = $(XCB_LIBS)
-libxcb_xprint_la_SOURCES = xprint.c xprint.h
+nodist_libxcb_xprint_la_SOURCES = xprint.c xprint.h
endif
EXTHEADERS += xselinux.h
@@ -217,7 +217,7 @@ if BUILD_SELINUX
lib_LTLIBRARIES += libxcb-xselinux.la
libxcb_xselinux_la_LDFLAGS = -version-info 0:0:0
libxcb_xselinux_la_LIBADD = $(XCB_LIBS)
-libxcb_xselinux_la_SOURCES = xselinux.c xselinux.h
+nodist_libxcb_xselinux_la_SOURCES = xselinux.c xselinux.h
endif
EXTHEADERS += xtest.h
@@ -227,7 +227,7 @@ if BUILD_XTEST
lib_LTLIBRARIES += libxcb-xtest.la
libxcb_xtest_la_LDFLAGS = -version-info 0:0:0
libxcb_xtest_la_LIBADD = $(XCB_LIBS)
-libxcb_xtest_la_SOURCES = xtest.c xtest.h
+nodist_libxcb_xtest_la_SOURCES = xtest.c xtest.h
endif
EXTHEADERS += xv.h
@@ -237,7 +237,7 @@ if BUILD_XV
lib_LTLIBRARIES += libxcb-xv.la
libxcb_xv_la_LDFLAGS = -version-info 0:0:0
libxcb_xv_la_LIBADD = $(XCB_LIBS)
-libxcb_xv_la_SOURCES = xv.c xv.h
+nodist_libxcb_xv_la_SOURCES = xv.c xv.h
endif
EXTHEADERS += xvmc.h
@@ -247,12 +247,13 @@ if BUILD_XVMC
lib_LTLIBRARIES += libxcb-xvmc.la
libxcb_xvmc_la_LDFLAGS = -version-info 0:0:0
libxcb_xvmc_la_LIBADD = $(XCB_LIBS)
-libxcb_xvmc_la_SOURCES = xvmc.c xvmc.h
+nodist_libxcb_xvmc_la_SOURCES = xvmc.c xvmc.h
endif
-xcbinclude_HEADERS = xcb.h xcbext.h $(EXTHEADERS)
+xcbinclude_HEADERS = xcb.h xcbext.h
+nodist_xcbinclude_HEADERS = $(EXTHEADERS)
noinst_HEADERS = xcbint.h
BUILT_SOURCES = $(EXTSOURCES) $(EXTHEADERS)