File: Makefile.am

package info (click to toggle)
libccaudio 1.2.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,744 kB
  • ctags: 347
  • sloc: sh: 8,047; cpp: 2,638; makefile: 134; ansic: 8
file content (64 lines) | stat: -rw-r--r-- 2,051 bytes parent folder | download
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright (C) 2006 Free Software Foundation.
#  
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without 
# modifications, as long as this notice is preserved.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AUTOMAKE_OPTIONS = no-dependencies dist-shar
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = reconfig ccaudio.spec ccaudio.spec.in ccaudio.proto pkginfo.in \
	freebsd/Makefile.in freebsd/pkg-* 
PKGBASE = "/opt/OSTaudio"
PKGNAME = "OSTaudio"

SUBDIRS = src dso doc 
DIST_SUBDIRS = m4 config src dso doc win32

kdoc:
	(cd src ; make kdoc)

force:
	-@$(BIN_TRUE)

docs: force
	@(cd doc; make docs)

pkg:	
	$(MAKE) $(AM_MAKEFLAGS) prefix=$(PKGBASE) install
	pkgmk -b  $(PKGBASE) -f $(PACKAGE).proto
	pkgtrans -s /var/spool/pkg $(PKGNAME)-$(host_alias).pkg $(PKGNAME)
	mv /var/spool/pkg/$(PKGNAME)-*.pkg . 
	rm -rf $(PKGBASE)
	rm -rf /var/spool/pkg/$(PKGNAME)

lsm:	$(distdir).tar.gz
	sed -e s/SIZE/$(shell expr `wc -c *.tar.gz | cut -d\  -f2` / 1024)/ -e s/VERSION/$(VERSION)/ -e s/DATE/$(shell date +%Y%m%d)/ <$(top_srcdir)/ccaudio.lsm.in >ccaudio.lsm

zip:
	zip -r9 ccaudio-$(VERSION).zip src/*.cpp src/*.h README ChangeLog AUTHORS NEWS TODO

ports:
	if test -f $(distdir).tar.gz ; then cp $(distdir).tar.gz /usr/ports/distfiles ; fi
	mkdir -p freebsd/files
	(cd freebsd ; make makesum)
	(cd freebsd ; make clean)
	(cd freebsd ; shar Makefile distinfo pkg-descr pkg-plist pkg-comment > $(distdir).ports )
	(cd freebsd ; make package)

macosx:
	(cd src ; make macosx)
                                                                                
darwin:
	(cd src ; make macosx)
                                                                                
doxy:
	(cd doc ; doxygen Doxyfile)
	(cd doc ; doxygen Doxyman)

man:
	(cd doc/man3 ; $(INSTALL_DATA) *.3cc $(DESTDIR)/$(mandir)/man3 )