diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:40:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:40:31 +0000 |
commit | b86570f63e533abcbcb97c2572e0e5732a96307b (patch) | |
tree | cabc83be691530ae685c45a8bc7620ccc0e1ebdf /dselect/Makefile.am | |
parent | Initial commit. (diff) | |
download | dpkg-b86570f63e533abcbcb97c2572e0e5732a96307b.tar.xz dpkg-b86570f63e533abcbcb97c2572e0e5732a96307b.zip |
Adding upstream version 1.20.13.upstream/1.20.13upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dselect/Makefile.am')
-rw-r--r-- | dselect/Makefile.am | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/dselect/Makefile.am b/dselect/Makefile.am new file mode 100644 index 0000000..4671c7b --- /dev/null +++ b/dselect/Makefile.am @@ -0,0 +1,70 @@ +## Process this file with automake to produce Makefile.in + +SUBDIRS = methods po + +localedir = $(datadir)/locale +pkgconfdir = $(sysconfdir)/@PACKAGE@ + +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 +AM_CXXFLAGS = \ + -fno-rtti \ + -fno-exceptions \ + $(nil) +if HAVE_LINKER_AS_NEEDED +AM_LDFLAGS = \ + -Wl,--as-needed +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 + +dselect_LDADD = \ + $(CURSES_LIBS) \ + ../lib/dpkg/libdpkg.la \ + $(LIBINTL) + + +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 |