blob: 5120232aa1243d9706b50f838cf808678fb8f995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
VPATH = @srcdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VERSION = $(shell cat verion-nr)
GENFILES = version.h
include Makefile.conf
SUBDIRS = include lib optlib intl dpkg-deb split scripts utils main \
utils @DSELECTDIR@ po methods doc
all: version.h all-recursive
install: all install-recursive
clean: clean-recursive
rm -f $(GENFILES)
distclean: clean distclean-recursive
rm -f Makefile.conf Makefile config.cache config.h config.log config.status
rm -f automake/gettext.m4 automake/progtest.m4 automake/lcmessage.m4
version.h: version-nr
echo "#define DPKG_VERSION \"$(VERSION)\" /* This line modified by Makefile */" > version.h
all-recursive install-recursive clean-recursive distclean-recursive:
set -e ; target=`echo $@ | sed s/-recursive//`; \
for d in $(SUBDIRS) ; do \
$(MAKE) $(MFLAGS) -C $$d $$target ; \
done;
.PHONY: all install clean distclean
.PHONY: all-recursive install-recursive clean-recursive distclean-recursive
|