blob: 35ee7366245a9ec3fe1a1de07d423530ff69b066 (
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
|
## Process this file with automake to produce Makefile.in
SUBDIRS = methods po
localedir = $(datadir)/locale
INCLUDES = \
-DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl \
-DADMINDIR=\"$(admindir)\" -DLIBDIR=\"$(pkglibdir)\" \
-I$(top_srcdir)/lib
bin_PROGRAMS = dselect
dselect_SOURCES = \
dselect.h \
basecmds.cc \
baselist.cc \
basetop.cc \
bindings.cc bindings.h \
curkeys.cc \
helpmsgs.cc helpmsgs.h \
main.cc \
methkeys.cc \
methlist.cc \
method.cc method.h \
methparse.cc \
pkgcmds.cc \
pkgdepcon.cc \
pkgdisplay.cc \
pkginfo.cc \
pkgkeys.cc \
pkglist.cc pkglist.h \
pkgsublist.cc \
pkgtop.cc
dselect_LDADD = $(LIBINTL) ../lib/libdpkg.a $(CURSES_LIBS)
EXTRA_DIST = keyoverride mkcurkeys.pl
CLEANFILES = curkeys.h
curkeys.$(OBJEXT): curkeys.h
curkeys.h: $(srcdir)/keyoverride $(srcdir)/mkcurkeys.pl
cursesfile=`echo '#include <curses.h>' | \
$(CC) -E - | grep 'curses.h' | head -n 1 | \
sed -e 's/^[^"]*"//; s/".*$$//'`; \
if [ "$$cursesfile" = "" ]; then \
echo "can't find curses file"; exit 1; \
fi; \
perl $(srcdir)/mkcurkeys.pl $< $$cursesfile >$@
|