2005-10-17 14:52:43 -04:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
|
|
|
DEFINES = -pedantic -D_GNU_SOURCE
|
2006-12-14 00:23:08 -05:00
|
|
|
#libalpm isn't fully C99 safe with the strict aliasing rules
|
|
|
|
# to be fixed in the future
|
|
|
|
AM_CFLAGS = $(DEFINES) -fno-strict-aliasing
|
2006-06-28 01:37:15 -04:00
|
|
|
SUBDIRS = po
|
|
|
|
|
|
|
|
localedir = $(datadir)/locale
|
|
|
|
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
|
2005-10-17 14:52:43 -04:00
|
|
|
|
|
|
|
TARGETS = md5driver.c \
|
|
|
|
md5.c \
|
2006-10-15 15:31:03 -04:00
|
|
|
sha1.c \
|
2005-10-17 14:52:43 -04:00
|
|
|
util.c \
|
|
|
|
list.c \
|
|
|
|
log.c \
|
|
|
|
error.c \
|
|
|
|
package.c \
|
|
|
|
group.c \
|
|
|
|
db.c \
|
|
|
|
cache.c \
|
|
|
|
conflict.c \
|
|
|
|
deps.c \
|
|
|
|
provide.c \
|
2005-12-26 11:48:37 -05:00
|
|
|
versioncmp.c \
|
2005-10-17 14:52:43 -04:00
|
|
|
backup.c \
|
|
|
|
trans.c \
|
|
|
|
add.c \
|
|
|
|
remove.c \
|
|
|
|
sync.c \
|
|
|
|
handle.c \
|
2006-10-15 15:31:03 -04:00
|
|
|
server.c \
|
|
|
|
alpm.c \
|
|
|
|
be_files.c
|
2005-10-17 14:52:43 -04:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libalpm.la
|
|
|
|
|
2005-10-20 14:57:33 -04:00
|
|
|
include_HEADERS = alpm.h
|
|
|
|
|
2005-10-17 14:52:43 -04:00
|
|
|
libalpm_la_SOURCES = $(TARGETS)
|
|
|
|
|
2006-11-14 02:58:42 -05:00
|
|
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(PM_VERSION_INFO)
|
|
|
|
libalpm_la_LIBADD = -ldownload
|
2006-02-17 15:48:45 -05:00
|
|
|
|
|
|
|
if HAS_DOXYGEN
|
|
|
|
all: doxygen.in
|
|
|
|
|
|
|
|
doxygen.in:
|
|
|
|
doxygen Doxyfile
|
|
|
|
|
|
|
|
endif
|