1# Copyright (C) 2010, 2012  Internet Systems Consortium, Inc. ("ISC")
2#
3# Permission to use, copy, modify, and/or distribute this software for any
4# purpose with or without fee is hereby granted, provided that the above
5# copyright notice and this permission notice appear in all copies.
6#
7# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
10# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
12# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13# PERFORMANCE OF THIS SOFTWARE.
14
15# Id: Makefile.in,v 1.2 2010/06/17 05:38:04 marka Exp
16
17TARGETS =	libvtwrapper.so
18SRCS =		vtwrapper.c
19CFLAGS +=	-fPIC
20LDFLAGS =
21LIBS =
22
23all: libvtwrapper.so
24
25.SUFFIXES: .c .o
26
27.c.o:
28	${CC} ${CFLAGS} -c $<
29
30libvtwrapper.so: vtwrapper.o
31	${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -export-dynamic -shared -o $@ vtwrapper.o ${LIBS}
32
33clean distclean::
34	rm -f ${TARGETS} *.o
35
36SUBDIRS =
37
38test:
39	if test -f ./runall.sh; then sh ./runall.sh; fi
40
41testclean clean distclean::
42	if test -f ./cleanall.sh; then sh ./cleanall.sh; fi
43
44distclean::
45	rm -f conf.sh
46