source: mediastreamer2/linphone/Makefile.am @ 505:03aeead42903

Last change on this file since 505:03aeead42903 was 505:03aeead42903, checked in by simorl <simon.morlat@…>, 4 years ago
  • make zip works
  • buddylookup plugin compiles.
File size: 1.5 KB
Line 
1## Process this file with automake to produce Makefile.in
2
3# let make re-run automake upon need
4ACLOCAL_AMFLAGS = -I m4
5
6if EXTERNAL_ORTP
7ORTP_DIR =
8else
9ORTP_DIR = oRTP
10endif
11
12SUBDIRS = m4 pixmaps po ipkg $(ORTP_DIR) mediastreamer2\
13                coreapi console gtk-glade share
14
15
16EXTRA_DIST = config.rpath  BUGS linphone.kdevprj \
17                                intltool-extract.in     \
18                                intltool-merge.in       \
19                                intltool-update.in \
20                                README.arm \
21                                README.win32 \
22                                autogen.sh \
23                                linphone.spec.in linphone.spec
24ACLOCAL_FLAGS=-I$(top_srcdir)/m4
25
26DISTCLEANFILES= intltool-extract intltool-merge intltool-update po/stamp-it po/.intltool-merge-cache
27
28INSTALLDIR=$(shell cd $(top_builddir) && pwd)/linphone-install
29ZIPFILE=$(shell cd $(top_builddir) && pwd)/$(PACKAGE)-win32-$(VERSION).zip
30ZIP_EXCLUDED=include lib
31
32# `make rpm'
33
34all-local: linphone.spec
35linphone.spec: linphone.spec.in
36
37.phony: rpm
38rpm:
39        $(MAKE) dist
40# Create "Specfile" at the same level as the tarball content
41        -rm -f $(PACKAGE)-$(VERSION).tar
42        gunzip $(PACKAGE)-$(VERSION).tar.gz
43        cp $(PACKAGE).spec Specfile
44        tar --append --file=$(PACKAGE)-$(VERSION).tar Specfile
45        gzip $(PACKAGE)-$(VERSION).tar
46# <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2068410>
47        TAR_OPTIONS=--wildcards rpmbuild -ta --clean --rmsource --rmspec $(PACKAGE)-$(VERSION).tar.gz
48
49#a zip containing win32 binaries, suitable to generate an installer
50
51
52
53zip:
54        rm -f $(ZIPFILE)
55        rm -rf $(INSTALLDIR)
56        mkdir -p $(INSTALLDIR)
57        make install DESTDIR=$(INSTALLDIR)
58        cd $(INSTALLDIR)/$(prefix) && rm -rf $(ZIP_EXCLUDED) && \
59        zip -r $(ZIPFILE) *
60
61       
Note: See TracBrowser for help on using the repository browser.