mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 16:28:50 -05:00
b308f06a3a
* configure fixes (CFLAGS) * no-strict-aliasing hacks until full C99 compliance * --with-config-file configure option
52 lines
816 B
Makefile
52 lines
816 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 = -ldownload
|
|
|
|
if HAS_DOXYGEN
|
|
all: doxygen.in
|
|
|
|
doxygen.in:
|
|
doxygen Doxyfile
|
|
|
|
endif
|