diff options
author | Allan McRae <allan@archlinux.org> | 2020-05-11 04:59:51 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-06-01 02:59:08 +0200 |
commit | 454ea024383eab60295e4c4fdf2c329475887b2c (patch) | |
tree | 5f3397782b3bb7e061770a63da5b7e34877f8193 /src | |
parent | 8ce142a2552418f64a74e773f659d92b065d6209 (diff) | |
download | pacman-454ea024383eab60295e4c4fdf2c329475887b2c.tar.gz pacman-454ea024383eab60295e4c4fdf2c329475887b2c.tar.xz |
Remove autotools support
This removes support for autotools in favour of meson.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/Makefile.am | 3 | ||||
-rw-r--r-- | src/pacman/Makefile.am | 69 | ||||
-rw-r--r-- | src/util/Makefile.am | 27 |
3 files changed, 0 insertions, 99 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am deleted file mode 100644 index 05378712..00000000 --- a/src/common/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -EXTRA_DIST = \ - meson.build \ - ini.h ini.c util-common.h util-common.c diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am deleted file mode 100644 index ac2f8e46..00000000 --- a/src/pacman/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -SUBDIRS = po - -EXTRA_DIST = meson.build po/meson.build - -# paths set at make time -conffile = ${sysconfdir}/pacman.conf -dbpath = ${localstatedir}/lib/pacman/ -gpgdir = ${sysconfdir}/pacman.d/gnupg/ -hookdir = ${sysconfdir}/pacman.d/hooks/ -cachedir = ${localstatedir}/cache/pacman/pkg/ -logfile = ${localstatedir}/log/pacman.log - -bin_PROGRAMS = pacman pacman-conf - -AM_CPPFLAGS = \ - -imacros $(top_builddir)/config.h \ - -I$(top_srcdir)/lib/libalpm \ - -DLOCALEDIR=\"@localedir@\" \ - -DCONFFILE=\"$(conffile)\" \ - -DDBPATH=\"$(dbpath)\" \ - -DGPGDIR=\"$(gpgdir)\" \ - -DHOOKDIR=\"$(hookdir)\" \ - -DCACHEDIR=\"$(cachedir)\" \ - -DLOGFILE=\"$(logfile)\" - -AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS) \ - $(LIBARCHIVE_CFLAGS) - -if USE_GIT_VERSION -GIT_VERSION := $(shell sh -c 'git describe --abbrev=4 --dirty | sed s/^v//') -AM_CPPFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" -endif - -pacman_SOURCES = \ - check.h check.c \ - conf.h conf.c \ - database.c \ - deptest.c \ - files.c \ - ini.h ini.c \ - package.h package.c \ - pacman.h pacman.c \ - query.c \ - remove.c \ - sighandler.h sighandler.c \ - sync.c \ - callback.h callback.c \ - upgrade.c \ - util.h util.c \ - util-common.h util-common.c - -pacman_LDADD = \ - $(LTLIBINTL) \ - $(top_builddir)/lib/libalpm/.libs/libalpm.la \ - $(LIBARCHIVE_LIBS) - -pacman_conf_SOURCES = pacman-conf.c \ - util.h \ - util.c \ - ini.h \ - ini.c \ - util-common.h \ - util-common.c \ - callback.h \ - callback.c \ - conf.h \ - conf.c - -pacman_conf_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la diff --git a/src/util/Makefile.am b/src/util/Makefile.am deleted file mode 100644 index a454f224..00000000 --- a/src/util/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -EXTRA_DIST = meson.build - -# paths set at make time -conffile = ${sysconfdir}/pacman.conf -dbpath = ${localstatedir}/lib/pacman/ -gpgdir = ${sysconfdir}/pacman.d/gnupg/ -cachedir = ${localstatedir}/cache/pacman/pkg/ - -bin_PROGRAMS = vercmp testpkg - -AM_CPPFLAGS = \ - -imacros $(top_builddir)/config.h \ - -I$(top_srcdir)/lib/libalpm \ - -DLOCALEDIR=\"@localedir@\" \ - -DCONFFILE=\"$(conffile)\" \ - -DDBPATH=\"$(dbpath)\" \ - -DGPGDIR=\"$(gpgdir)\" \ - -DCACHEDIR=\"$(cachedir)\" - -AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS) \ - $(LIBARCHIVE_CFLAGS) - -testpkg_SOURCES = testpkg.c -testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la - -vercmp_SOURCES = vercmp.c -vercmp_LDADD = $(top_builddir)/lib/libalpm/libalpm_la-version.lo |