mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-04 16:45:07 -05:00
86b136bb59
* Removed some unnecessary headers and library links * Made things static if possible * Cleaned up makefiles a bit * Fixed some old comments in the code * Fixed some errors the static code checker splint pointed out * Backwards arguments in a memset call in _alpm_db_read (could have been worse) * Other various small fixes Other: * Default to 80 columns when getcols cannot determine display width * Removal of ._install as a valid install file in packages
52 lines
826 B
Makefile
52 lines
826 B
Makefile
AUTOMAKE_OPTIONS = gnu
|
|
DEFINES = -pedantic -D_GNU_SOURCE
|
|
#libalpm isn't fully C99 safe with the strict aliasing rules
|
|
# to be fixed in the future
|
|
AM_CFLAGS = $(DEFINES) -fno-strict-aliasing
|
|
SUBDIRS = po
|
|
|
|
localedir = $(datadir)/locale
|
|
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
|
|
|
|
TARGETS = md5driver.c \
|
|
md5.c \
|
|
sha1.c \
|
|
util.c \
|
|
list.c \
|
|
log.c \
|
|
error.c \
|
|
package.c \
|
|
group.c \
|
|
db.c \
|
|
cache.c \
|
|
conflict.c \
|
|
deps.c \
|
|
provide.c \
|
|
versioncmp.c \
|
|
backup.c \
|
|
trans.c \
|
|
add.c \
|
|
remove.c \
|
|
sync.c \
|
|
handle.c \
|
|
server.c \
|
|
alpm.c \
|
|
be_files.c
|
|
|
|
lib_LTLIBRARIES = libalpm.la
|
|
|
|
include_HEADERS = alpm.h
|
|
|
|
libalpm_la_SOURCES = $(TARGETS)
|
|
|
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(PM_VERSION_INFO)
|
|
libalpm_la_LIBADD = -larchive -ldownload
|
|
|
|
if HAS_DOXYGEN
|
|
all: doxygen.in
|
|
|
|
doxygen.in:
|
|
doxygen Doxyfile
|
|
|
|
endif
|