aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/Makefile.am
blob: 4a1e3035902ea545c8e2d490881351f21b1bafc6 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
include $(top_srcdir)/misc/common-makefile.am

AM_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src \
	      @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_NO_WOLD_STYLE_CAST@ @PALUDIS_CXXFLAGS_VISIBILITY@
DEFS= \
	-DBINDIR=\"$(bindir)\" \
	-DSYSCONFDIR=\"$(sysconfdir)\" \
	-DDATADIR=\"$(datadir)\" \
	-DLIBEXECDIR=\"$(libexecdir)\" \
	-DLIBDIR=\"$(libdir)\" \
	-DPYTHONINSTALLDIR=\"$(PYTHON_INSTALL_DIR)\" \
	-DRUBYINSTALLDIR=\"$(RUBY_INSTALL_DIR)\"

SUBDIRS = .

bin_PROGRAMS = cave

noinst_PROGRAMS = man-cave

command_MANS = \
	cave-config.1 \
	cave-display-resolution.1 \
	cave-execute-resolution.1 \
	cave-fix-cache.1 \
	cave-help.1 \
	cave-import.1 \
	cave-info.1 \
	cave-perform.1 \
	cave-print-categories.1 \
	cave-print-commands.1 \
	cave-print-environment-metadata.1 \
	cave-print-id-contents.1 \
	cave-print-id-executables.1 \
	cave-print-id-metadata.1 \
	cave-print-ids.1 \
	cave-print-owners.1 \
	cave-print-packages.1 \
	cave-print-repositories.1 \
	cave-print-repository-formats.1 \
	cave-print-sets.1 \
	cave-print-sync-protocols.1 \
	cave-resolve.1 \
	cave-show.1 \
	cave-sync.1 \
	cave-update-world.1

man_MANS = \
	cave.1 \
	$(command_MANS)

cave.1 : man-cave
	./man-cave > $@

$(command_MANS) : man-cave
	if ! ./man-cave `echo $@ | sed -e 's.^cave-..' -e 's,\.1$$,,'` > $@ ; then rm -f $@ ; exit 1 ; fi

cave_SOURCES = \
	cave.cc

cave_LDADD = \
	libcave.a \
	$(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/resolver/libpaludisresolver.a \
	$(top_builddir)/src/output/liboutput.a \
	$(DYNAMIC_LD_LIBS)

man_cave_SOURCES = \
	man_cave.cc

man_cave_LDADD = \
	libcave.a \
	$(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/args/libpaludisman_@PALUDIS_PC_SLOT@.a \
	$(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/libpaludismanpagethings_@PALUDIS_PC_SLOT@.la \
	$(top_builddir)/paludis/resolver/libpaludisresolver.a

noinst_LIBRARIES = libcave.a

libcave_a_SOURCES = \
	colour_formatter.cc colour_formatter.hh \
	command.cc command.hh \
	command_line.cc command_line.hh \
	command_command_line.cc command_command_line.hh \
	command_factory.cc command_factory.hh \
	cmd_config.cc cmd_config.hh \
	cmd_display_resolution.cc cmd_display_resolution.hh \
	cmd_execute_resolution.cc cmd_execute_resolution.hh \
	cmd_fix_cache.cc cmd_fix_cache.hh \
	cmd_help.cc cmd_help.hh \
	cmd_import.cc cmd_import.hh \
	cmd_info.cc cmd_info.hh \
	cmd_perform.cc cmd_perform.hh \
	cmd_print_categories.cc cmd_print_categories.hh \
	cmd_print_commands.cc cmd_print_commands.hh \
	cmd_print_environment_metadata.cc cmd_print_environment_metadata.hh \
	cmd_print_id_contents.cc cmd_print_id_contents.hh \
	cmd_print_id_executables.cc cmd_print_id_executables.hh \
	cmd_print_id_metadata.cc cmd_print_id_metadata.hh \
	cmd_print_ids.cc cmd_print_ids.hh \
	cmd_print_owners.cc cmd_print_owners.hh \
	cmd_print_packages.cc cmd_print_packages.hh \
	cmd_print_repositories.cc cmd_print_repositories.hh \
	cmd_print_repository_formats.cc cmd_print_repository_formats.hh \
	cmd_print_sets.cc cmd_print_sets.hh \
	cmd_print_sync_protocols.cc cmd_print_sync_protocols.hh \
	cmd_resolve.cc cmd_resolve.hh \
	cmd_resolve_cmdline.cc cmd_resolve_cmdline.hh \
	cmd_resolve_display_callback.cc cmd_resolve_display_callback.hh \
	cmd_resolve_dump.cc cmd_resolve_dump.hh \
	cmd_show.cc cmd_show.hh \
	cmd_sync.cc cmd_sync.hh \
	cmd_update_world.cc cmd_update_world.hh \
	exceptions.cc exceptions.hh \
	format_general.cc format_general.hh \
	format_plain_contents_entry.cc format_plain_contents_entry.hh \
	format_plain_metadata_key.cc format_plain_metadata_key.hh \
	format_string.cc format_string.hh \
	formats.cc formats.hh \
	select_format_for_spec.cc select_format_for_spec.hh \
	match_qpns.cc match_qpns.hh \
	resolve_common.cc resolve_common.hh

#	cmd_contents.cc \
#	cmd_executables.cc \
#	cmd_owner.cc \
#	cmd_print_id_actions.cc \
#	cmd_print_id_masks.cc \
#	cmd_print_repository_metadata.cc \
#	cmd_print_set.cc \
#	cmd_print_sync_protocol_metadata.cc \
#	cmd_report.cc \
#	cmd_uninstall.cc \
#	cmd_uninstall_unused.cc

TESTS =

EXTRA_DIST = \
	$(man_MANS) \
	$(TESTS)

DISTCLEANFILES = $(man_MANS) $(noinst_DATA)