Use automake

This commit is contained in:
Kristian Høgsberg 2010-10-12 17:24:20 -04:00
parent 49291497d3
commit f0152daad7
17 changed files with 138 additions and 190 deletions

27
compositor/Makefile.am Normal file
View file

@ -0,0 +1,27 @@
noinst_PROGRAMS = compositor
INCLUDES = -I$(top_srcdir)/wayland $(COMPOSITOR_CFLAGS)
AM_CPPFLAGS = -DDATADIR='"$(datadir)"'
compositor_LDADD = \
$(top_builddir)/wayland/libwayland-server.la \
$(COMPOSITOR_LIBS)
compositor_SOURCES = \
compositor.c \
compositor.h \
compositor-drm.c \
compositor-x11.c \
screenshooter.c \
screenshooter-protocol.c \
screenshooter-server-protocol.h \
drm.c \
shm.c
BUILT_SOURCES = \
screenshooter-server-protocol.h \
screenshooter-protocol.c
CLEANFILES = $(BUILT_SOURCES)
include $(top_srcdir)/wayland/scanner.mk