File: Makefile.am

package info (click to toggle)
bayonne 2.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 11,180 kB
  • ctags: 3,662
  • sloc: cpp: 38,791; sh: 9,323; ansic: 1,391; makefile: 485; perl: 471; java: 405; cs: 402; php: 354; python: 293
file content (45 lines) | stat: -rw-r--r-- 1,222 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
# Copyright (C) 2005 David Sugar, Tycho Softworks
#
# 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
RELEASE = -version-info @LT_VERSION@ -release @LT_RELEASE@
EXTRA_DIST = *.scr *.pm *.py *.php *.java *.cs *.sh *.mac *.def 

tgidir=@tgi_libdir@
tgi_DATA = *.pm *.py *.php *.sh 

if MONO
monodir=$(libdir)/mono/gnu-telephony
mono_DATA = bayonne.dll

bayonne.dll:	libexec.cs
	mcs -out:bayonne.dll -t:library libexec.cs
endif

if JAVA
moduledir=@module_libdir@
javadir=$(datadir)/java
java_DATA = bayonne.jar
module_DATA = bayonne.jar

bayonne.jar:	Libexec.java
	$(JAVA_COMPILER) Libexec.java
	-mkdir -p org/gnutelephony/bayonne
	mv -f Libexec.class org/gnutelephony/bayonne
	$(JAR) cf bayonne.jar org
	rm -rf org
endif

scriptdir=@scriptfiles@
script_DATA = *.scr

macrodir=@macrofiles@
macro_DATA = *.mac *.def