summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: b0319ac93df24471e8e65ad23be416706d259f5c (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
SUBDIRS = doc examples

lib_LTLIBRARIES = libxorg-gtest.la libxorg-gtest_main.la

libxorg_gtest_la_SOURCES = \
	src/environment.cpp \
	src/process.cpp \
	src/test.cpp

libxorg_gtest_main_la_SOURCES = \
	src/main.cpp

library_includedir = $(includedir)/xorg/gtest
library_include_HEADERS = \
	include/xorg/gtest/environment.h \
	include/xorg/gtest/process.h \
	include/xorg/gtest/test.h

library_datadir = $(datadir)/xorg/gtest
library_data_DATA = conf/dummy.conf

libxorg_gtest_main_la_CPPFLAGS = $(AM_CPPFLAGS) -DDUMMY_CONF_PATH="\"$(library_datadir)/dummy.conf\""

libxorg_gtest_la_LDFLAGS = $(X11_LIBS)
libxorg_gtest_main_la_LDFLAGS = $(X11_LIBS)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xorg-gtest.pc

ACLOCAL_AMFLAGS = -I m4

AM_CXXFLAGS = -Iinclude

.PHONY: ChangeLog INSTALL
INSTALL:
	$(INSTALL_CMD)

doc-%:
	$(MAKE) -C doc $@

dist-hook: ChangeLog INSTALL