summaryrefslogtreecommitdiffstats
path: root/dselect/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:58:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:58:51 +0000
commitcbffab246997fb5a06211dfb706b54e5ae5bb59f (patch)
tree0573c5d96f58d74d76a49c0f2a70398e389a36d3 /dselect/Makefile.am
parentInitial commit. (diff)
downloaddpkg-cbffab246997fb5a06211dfb706b54e5ae5bb59f.tar.xz
dpkg-cbffab246997fb5a06211dfb706b54e5ae5bb59f.zip
Adding upstream version 1.21.22.upstream/1.21.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--dselect/Makefile.am72
1 files changed, 72 insertions, 0 deletions
diff --git a/dselect/Makefile.am b/dselect/Makefile.am
new file mode 100644
index 0000000..ebf8c76
--- /dev/null
+++ b/dselect/Makefile.am
@@ -0,0 +1,72 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = methods po
+
+AM_CPPFLAGS = \
+ -DLOCALEDIR=\"$(localedir)\" \
+ -DADMINDIR=\"$(admindir)\" \
+ -DLIBDIR=\"$(pkglibexecdir)\" \
+ -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" \
+ -idirafter $(top_srcdir)/lib/compat \
+ -iquote $(builddir) \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/lib \
+ # EOL
+AM_CXXFLAGS = \
+ -fno-rtti \
+ -fno-exceptions \
+ # EOL
+if HAVE_LINKER_AS_NEEDED
+AM_LDFLAGS = \
+ -Wl,--as-needed \
+ # EOL
+endif
+
+
+bin_PROGRAMS = dselect
+
+dselect_SOURCES = \
+ cxx-support.cc \
+ dselect.h \
+ dselect-curses.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 \
+ # EOL
+
+dselect_LDADD = \
+ $(CURSES_LIBS) \
+ ../lib/dpkg/libdpkg.la \
+ $(LIBINTL) \
+ ../lib/compat/libcompat.la \
+ # EOL
+
+
+EXTRA_DIST = keyoverride mkcurkeys.pl
+CLEANFILES = curkeys.hpp curkeys.h
+
+curkeys.$(OBJEXT): curkeys.h
+curkeys.hpp: dselect-curses.h
+ $(AM_V_GEN) echo '#include "dselect-curses.h"' | \
+ $(CPP) -dD $(CPPFLAGS) -I$(top_builddir) -I $(srcdir) - >$@
+curkeys.h: $(srcdir)/keyoverride $(srcdir)/mkcurkeys.pl curkeys.hpp
+ $(AM_V_GEN) $(PERL) $(srcdir)/mkcurkeys.pl $< curkeys.hpp >$@
+
+install-data-local:
+ $(MKDIR_P) $(DESTDIR)$(pkgconfdir)/dselect.cfg.d