File: Makefile.am

package info (click to toggle)
sipwitch 1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,768 kB
  • sloc: cpp: 16,534; sh: 11,336; makefile: 206; xml: 24; ansic: 20
file content (36 lines) | stat: -rw-r--r-- 1,326 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
# Copyright (C) 2008-2010 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.

MAINTAINERCLEANFILES = Makefile.in Makefile
AM_CXXFLAGS = -I$(top_srcdir)/inc @SIPWITCH_FLAGS@
EXTRA_DIST = sipwitch.1 sipquery.1 sippasswd.1 sipwitch-cgi.8

man_MANS = sipwitch.1 sipquery.1 sippasswd.1 sipwitch-cgi.8

bin_PROGRAMS = sipquery sipwitch sippasswd sipwitch-cgi

sipwitch_SOURCES = sipwitch.cpp
sipwitch_LDADD = @SIPWITCH_LIBS@

sipquery_SOURCES = sipquery.cpp
sipquery_LDADD = @SIPWITCH_EXOSIP2@ @SIPWITCH_LIBS@

sippasswd_SOURCES = sippasswd.cpp
sippasswd_LDADD = @SIPWITCH_LIBS@

sipwitch_cgi_SOURCES = cgiserver.cpp
sipwitch_cgi_LDADD = @SIPWITCH_LIBS@

install-exec-hook:
	-(chown root $(DESTDIR)$(bindir)/sippasswd$(EXEEXT) 2>/dev/null ; exit 0)
	-(chmod u+s $(DESTDIR)$(bindir)/sippasswd$(EXEEXT) 2>/dev/null ; exit 0)
	$(mkinstalldirs) $(DESTDIR)$(cgibindir)
	$(LN_S) $(bindir)/sipwitch-cgi$(EXEEXT) $(DESTDIR)$(cgibindir)/sipwitch