-
Notifications
You must be signed in to change notification settings - Fork 45
/
dp-Makefile.am
31 lines (25 loc) · 912 Bytes
/
dp-Makefile.am
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
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign no-installinfo dist-bzip2 no-dist-gzip
SUBDIRS = src
# copy dirs w/out Makefile.am into dist
dist-hook:
rm -f $(distdir)/include/dps_config.h $(distdir)/include/stamp.h
install-data-local:
$(mkinstalldirs) $(localstatedir)
uninstall-local:
-rmdir $(localstatedir)
-rmdir $(DESTDIR)$(bindir)
-rmdir $(DESTDIR)$(sbindir)
-rmdir $(DESTDIR)$(libdir)
-rmdir $(DESTDIR)$(includedir)
-rmdir $(DESTDIR)$(prefix)
bin-dist:
$(MAKE) install DESTDIR=$(CDIR)/$(PACKAGE)-$(VERSION)
cd $(CDIR)/$(PACKAGE)-$(VERSION)$(prefix) \
&& tar -ycPf $(PACKAGE)-$(VERSION)-$(DBTYPE)-$(host_triplet)-$(LINKING).tar.bz2 ./
mv $(CDIR)/$(PACKAGE)-$(VERSION)$(prefix)/*.tar.bz2 $(CDIR)
rm -r $(CDIR)/$(PACKAGE)-$(VERSION)
EXTRA_DIST = LICENSE bootstrap
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck