mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-05 00:55:04 -05:00
dd8cf0c12d
So we only need one copy in the final library, not one copy per time used. Ensure all necessary includes are in place (especially to get the right size of off_t each time it is compiled) by including "config.h" in the new graph.c. One small adjustment here makes the graph_free code more robust- ensure we don't have invalid pointers after each iteration by looking at the parents and children and adjusting accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
61 lines
1.1 KiB
Makefile
61 lines
1.1 KiB
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 \
|
|
base64.h base64.c \
|
|
be_local.c \
|
|
be_package.c \
|
|
be_sync.c \
|
|
conflict.h conflict.c \
|
|
db.h db.c \
|
|
delta.h delta.c \
|
|
deps.h deps.c \
|
|
diskspace.h diskspace.c \
|
|
dload.h dload.c \
|
|
error.c \
|
|
graph.h graph.c \
|
|
group.h group.c \
|
|
handle.h handle.c \
|
|
log.h log.c \
|
|
package.h package.c \
|
|
pkghash.h pkghash.c \
|
|
remove.h remove.c \
|
|
signing.c signing.h \
|
|
sync.h sync.c \
|
|
trans.h trans.c \
|
|
util.h util.c \
|
|
version.c
|
|
|
|
if !HAVE_LIBSSL
|
|
libalpm_la_SOURCES += \
|
|
md5.h md5.c
|
|
endif
|
|
|
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
|
|
libalpm_la_LIBADD = $(LTLIBINTL)
|
|
|
|
# vim:set ts=2 sw=2 noet:
|