mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-02 08:35:06 -04:00
c26fe63ee5
Hopefully these new autoconf macros, with a little magic, will allow us to compile with any compiler and still choose the options we have available to us. Tested locally with gcc 4.2.2 and gcc 3.4.6; the latter doesn't support two of the items we previously had hardcoded in our CFLAGS. Signed-off-by: Dan McGee <dan@archlinux.org>
46 lines
846 B
Makefile
46 lines
846 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
|
|
AM_CFLAGS += -fvisibility=internal
|
|
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 \
|
|
cache.h cache.c \
|
|
conflict.h conflict.c \
|
|
db.h db.c \
|
|
delta.h delta.c \
|
|
deps.h deps.c \
|
|
error.h error.c \
|
|
group.h group.c \
|
|
handle.h handle.c \
|
|
log.h log.c \
|
|
md5.h md5.c \
|
|
package.h package.c \
|
|
provide.h provide.c \
|
|
remove.h remove.c \
|
|
server.h server.c \
|
|
sync.h sync.c \
|
|
trans.h trans.c \
|
|
util.h util.c
|
|
|
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
|
|
|
|
# vim:set ts=2 sw=2 noet:
|