aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/Makefile.am
blob: 660b14d91078ff48cad5b7da2d0c6c0f80a60a5b (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
include $(top_srcdir)/misc/common-makefile.am

SUBDIRS = .
AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_VISIBILITY@
DEFS= \
	-DSYSCONFDIR=\"$(sysconfdir)\" \
	-DLIBEXECDIR=\"$(libexecdir)\" \
	-DDATADIR=\"$(datadir)\" \
	-DLIBDIR=\"$(libdir)\" \
	-DSHAREDIR=\"$(datarootdir)\"

libpaludispaludisenvironment_la_SOURCES = \
	bashable_conf.cc       bashable_conf.hh \
	keywords_conf.cc       keywords_conf.hh \
	licenses_conf.cc       licenses_conf.hh \
	package_mask_conf.cc   package_mask_conf.hh \
	use_conf.cc            use_conf.hh \
	mirrors_conf.cc        mirrors_conf.hh \
	output_conf.cc         output_conf.hh \
	world.cc               world.hh \
	paludis_config.cc      paludis_config.hh \
	paludis_environment.cc paludis_environment.hh \
	extra_distribution_data.cc extra_distribution_data.hh \
	registration.cc

shareenvpaludisdir = $(datarootdir)/paludis/environments/paludis/

dist_shareenvpaludis_DATA = \
	default_output.conf

dist_noinst_DATA = \
	tests_output.conf

libenvdir = $(libdir)/paludis/environments

noinst_LTLIBRARIES = libpaludispaludisenvironment.la

noinst_HEADERS = \
	paludis_config.hh \
	paludis_environment.hh \
	use_conf.hh \
	keywords_conf.hh \
	licenses_conf.hh \
	bashable_conf.hh \
	package_mask_conf.hh \
	world.hh \
	mirrors_conf.hh \
	extra_distribution_data.hh

EXTRA_DIST = \
	paludis_environment_TEST_setup.sh \
	paludis_environment_TEST.cc \
	paludis_environment_TEST_cleanup.sh \
	world_TEST_setup.sh \
	world_TEST.cc \
	world_TEST_cleanup.sh \
	$(BUILT_SOURCES)

TESTS = paludis_environment_TEST world_TEST

check_PROGRAMS = $(TESTS)
check_SCRIPTS = \
	paludis_environment_TEST_setup.sh paludis_environment_TEST_cleanup.sh \
	world_TEST_setup.sh world_TEST_cleanup.sh

paludis_environment_TEST_SOURCES = paludis_environment_TEST.cc

paludis_environment_TEST_LDADD = \
	$(top_builddir)/paludis/util/test_extras.o \
	$(top_builddir)/test/libtest.a \
	$(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
	$(DYNAMIC_LD_LIBS)

paludis_environment_TEST_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@

world_TEST_SOURCES = world_TEST.cc

world_TEST_LDADD = \
	$(top_builddir)/paludis/util/test_extras.o \
	$(top_builddir)/test/libtest.a \
	$(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
	$(DYNAMIC_LD_LIBS)

world_TEST_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@