#
# Copyright (C) 2001 Sistina Software (UK) Limited
#
# This file is released under the GPL.
#

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

SOURCES=\
	read_vg_t.c \
	write_vg_t.c \
	pretty_print.c \
	get_pvs_t.c \
	read_pv_t.c \
	get_vgs_t.c

TARGETS=\
	read_vg_t \
	write_vg_t \
	get_pvs_t \
	read_pv_t \
	get_vgs_t

include ../../make.tmpl

read_vg_t: read_vg_t.o pretty_print.o $(top_srcdir)/lib/liblvm.a
	$(CC) -o read_vg_t read_vg_t.o pretty_print.o -L$(top_srcdir)/lib -llvm

write_vg_t: write_vg_t.o pretty_print.o $(top_srcdir)/lib/liblvm.a
	$(CC) -o write_vg_t write_vg_t.o pretty_print.o \
	-L$(top_srcdir)/lib -llvm

get_pvs_t: get_pvs_t.o pretty_print.o $(top_srcdir)/lib/liblvm.a
	$(CC) -o get_pvs_t get_pvs_t.o pretty_print.o -L$(top_srcdir)/lib -llvm

read_pv_t: read_pv_t.o pretty_print.o $(top_srcdir)/lib/liblvm.a
	$(CC) -o read_pv_t read_pv_t.o pretty_print.o -L$(top_srcdir)/lib -llvm

get_vgs_t: get_vgs_t.o pretty_print.o $(top_srcdir)/lib/liblvm.a
	$(CC) -o get_vgs_t get_vgs_t.o pretty_print.o -L$(top_srcdir)/lib -llvm