summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 9b5b729113d1f645e954ca15a94d49c7938bc8fe (plain)
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
# $Id$
#
# This file is part of ivam2.
#
# ivam2 is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# ivam2 is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ivam2; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

sbin_PROGRAMS = ivamd

ivamd_SOURCES = buffio.c dle.c exec.c main.c modemman.c timevalarith.c cmdline.c dtmffifo.c lock.c modem.c msntab.c util.c \
				buffio.h dle.h exec.h main.h modemman.h timevalarith.h cmdline.h dtmffifo.h lock.h modem.h msntab.h util.h

ivamd_LDADD = $(LIBOOP_LIBS) $(LIBDAEMON_LIBS)
ivamd_CFLAGS = $(LIBOOP_CFLAGS) $(LIBDAEMON_CFLAGS) $(AM_CFLAGS) -DPKGSYSCONFDIR="\"${sysconfdir}/@PACKAGE@\"" -DLOCKDIR="\"$(LOCKDIR)\"" -DBINDIR="\"$(bindir)\""

EXTRA_DIST = ivamd.ggo
MAINTAINERCLEANFILES =
BUILT_SOURCES = 
CLEANFILES = 

if USE_GENGETOPT 

CLEANFILES += cmdline.c cmdline.h
BUILT_SOURCES += cmdline.c cmdline.h

cmdline.c cmdline.h: ivamd.ggo Makefile
	gengetopt < $<

endif