summaryrefslogtreecommitdiff
path: root/lib/libalpm/Makefile.am
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-22 04:36:02 +0000
committerDan McGee <dan@archlinux.org>2007-02-22 04:36:02 +0000
commit3595201f5f3c1274786844c541ef82edba6984f8 (patch)
tree5c3686add5a531460c27379a58d42662b24160c4 /lib/libalpm/Makefile.am
parent3b95de655b277efe895ac5de01b86c5ab313c030 (diff)
downloadpacman-3595201f5f3c1274786844c541ef82edba6984f8.tar.xz
* A lot of Makefile.am updates to try to get 'make dist' and 'make distcheck'
to work as expected.
Diffstat (limited to 'lib/libalpm/Makefile.am')
-rw-r--r--lib/libalpm/Makefile.am65
1 files changed, 33 insertions, 32 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index eb8d788f..fa36941d 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -1,41 +1,42 @@
AUTOMAKE_OPTIONS = gnu
-DEFINES = -pedantic -D_GNU_SOURCE
-AM_CFLAGS = $(DEFINES)
-SUBDIRS = po
-localedir = $(datadir)/locale
-DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
-
-TARGETS = md5driver.c \
- md5.c \
- sha1.c \
- util.c \
- alpm_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
+SUBDIRS = po
lib_LTLIBRARIES = libalpm.la
-
include_HEADERS = alpm_list.h alpm.h
-libalpm_la_SOURCES = $(TARGETS)
+localedir = $(datadir)/locale
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+AM_CFLAGS = -pedantic -D_GNU_SOURCE $(CFLAGS)
+
+EXTRA_DIST = Doxyfile
+
+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 \
+ deps.h deps.c \
+ error.h error.c \
+ group.h group.c \
+ handle.h handle.c \
+ log.h log.c \
+ md5.h md5.c \
+ md5driver.c \
+ package.h package.c \
+ provide.h provide.c \
+ remove.h remove.c \
+ server.h server.c \
+ sha1.h sha1.c \
+ sync.h sync.c \
+ trans.h trans.c \
+ util.h util.c \
+ versioncmp.h versioncmp.c
libalpm_la_LDFLAGS = -no-undefined -version-info $(PM_VERSION_INFO)
libalpm_la_LIBADD = -larchive -ldownload -lm