mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-05 00:55:04 -05:00
13f24a5bda
alpm_pkg_load() and parse_descfile() are specific to getting information from package files, just as other code is specific to getting information into or out of a package database. Move this code out of package.c, which should eventually only contain operators on the pmpkg_t struct that do not depend at all on where the data came from. Signed-off-by: Dan McGee <dan@archlinux.org>
52 lines
927 B
Makefile
52 lines
927 B
Makefile
AUTOMAKE_OPTIONS = gnu
|
|
|
|
SUBDIRS = po
|
|
|
|
lib_LTLIBRARIES = libalpm.la
|
|
include_HEADERS = alpm_list.h alpm.h
|
|
|
|
DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
|
|
|
|
AM_CFLAGS = -pedantic -D_GNU_SOURCE
|
|
|
|
if ENABLE_VISIBILITY_CC
|
|
if DARWIN
|
|
AM_CFLAGS += -fvisibility=hidden
|
|
else
|
|
AM_CFLAGS += -fvisibility=internal
|
|
endif
|
|
endif
|
|
if ENABLE_GNU89_INLINE_CC
|
|
AM_CFLAGS += -fgnu89-inline
|
|
endif
|
|
|
|
libalpm_la_SOURCES = \
|
|
add.h add.c \
|
|
alpm.h alpm.c \
|
|
alpm_list.h alpm_list.c \
|
|
backup.h backup.c \
|
|
be_files.c \
|
|
be_package.c \
|
|
cache.h cache.c \
|
|
conflict.h conflict.c \
|
|
db.h db.c \
|
|
delta.h delta.c \
|
|
deps.h deps.c \
|
|
dload.h dload.c \
|
|
error.c \
|
|
graph.h \
|
|
group.h group.c \
|
|
handle.h handle.c \
|
|
log.h log.c \
|
|
md5.h md5.c \
|
|
package.h package.c \
|
|
remove.h remove.c \
|
|
sync.h sync.c \
|
|
trans.h trans.c \
|
|
util.h util.c
|
|
|
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
|
|
libalpm_la_LIBADD = $(LTLIBINTL)
|
|
|
|
# vim:set ts=2 sw=2 noet:
|