root/openwsman/trunk/Makefile.am

Revision 2727, 0.9 kB (checked in by nashif, 9 months ago)

disable tests

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 SUBDIRS = include src doc etc bindings
2
3 if BUILD_EXAMPLES
4 SUBDIRS += examples
5 endif
6 if BUILD_TESTS
7 SUBDIRS += tests
8 endif
9
10 AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2
11
12 wsmanincludedir = $(includedir)/openwsman
13 #wsmaninclude_HEADERS = wsman_config.h
14
15 package: dist
16         cp openwsman.spec /usr/src/packages/SPEC
17         cp openwsman-*.tar.gz /usr/src/packages/SOURCES
18         rpmbuild -ba openwsman.spec
19
20 etags: TAGS
21         find . -name "*.[chCH]" -print | etags -
22
23 install-data-local: openwsman.pc
24         $(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
25         $(INSTALL_DATA)  openwsman.pc $(DESTDIR)$(libdir)/pkgconfig
26         $(INSTALL_DATA)  openwsman++.pc $(DESTDIR)$(libdir)/pkgconfig
27         $(INSTALL_DATA)  openwsman-server.pc $(DESTDIR)$(libdir)/pkgconfig
28
29 uninstall-local:
30         rm $(DESTDIR)$(libdir)/pkgconfig/openwsman.pc
31         rm $(DESTDIR)$(libdir)/pkgconfig/openwsman++.pc
32         rm $(DESTDIR)$(libdir)/pkgconfig/openwsman-server.pc
33
34 EXTRA_DIST = OpenWsmanLib.vcproj OpenWsmanLib.sln