/*
 * the Imakefile
 *    by H.Kakugawa (kakugawa@se.hiroshima-u.ac.jp)
 *
 * Copyright (C) 1996  Hirotsugu KAKUGAWA. All rights reserved.
 *
 * VFlib is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
 * to anyone for the consequences of using it or for whether it serves any
 * particular purpose or works at all, unless he says so in writing.  Refer
 * to the GNU General Public License for full details.
 *
 * Everyone is granted permission to copy, modify and redistribute
 * VFlib, but only under the conditions described in the GNU
 * General Public License.  A copy of this license is supposed to have been
 * given to you along with VFlib so you can know your rights and
 * responsibilities.  It should be in a file named COPYING.  Among other
 * things, the copyright notice and this notice must be preserved on all
 * copies. 
 */

      VFLIB_INCDIR = ../src
      VFLIB_LIBDIR = ../src
/*
      SONY_FSLIB   = -L/usr/sony/lib -lFSlib
*/

#if SystemV||SystemV4
           DEFINES = -DSYSV
#endif
     SYS_LIBRARIES = -L$(VFLIB_LIBDIR) -lVFlib $(SONY_FSLIB) -lm
          DEPVFLIB = $(VFLIB_LIBDIR)/libVFlib.a

          PROGRAMS = disol   kban   ktest   vfperf   vftest   fmtest  
              SRCS = disol.c kban.c ktest.c vfperf.c vftest.c fmtest.c
              OBJS = disol.o kban.o ktest.o vfperf.o vftest.o fmtest.o

AllTarget($(PROGRAMS))
DependTarget()

#ifndef NullParameter
#define  NullParameter 
#endif

/* DISOL */
NormalProgramTarget(disol,disol.o,$(DEPVFLIB),NullParameter,$(SYS_LIBRARIES))

/* KBAN */
NormalProgramTarget(kban,kban.o,$(DEPVFLIB),NullParameter,$(SYS_LIBRARIES))

/* KTEST */
NormalProgramTarget(ktest,ktest.o,$(DEPXLIB) $(DEPVFLIB),NullParameter,$(SYS_LIBRARIES) $(XLIB))
SpecialObjectRule(ktest.o,ktest.c,$(CFLAGS) -I$(VFLIB_INCDIR))

/* VF2BDF */
NormalProgramTarget(vf2bdf,vf2bdf.o,$(DEPVFLIB),NullParameter,$(SYS_LIBRARIES))

/* VFPERF */
NormalProgramTarget(vfperf,vfperf.o,$(DEPVFLIB),NullParameter,$(SYS_LIBRARIES))

/* VFTEST */
NormalProgramTarget(vftest,vftest.o,$(DEPXLIB) $(DEPVFLIB),NullParameter,$(SYS_LIBRARIES) $(XLIB))
SpecialObjectRule(vftest.o,vftest.c,$(CFLAGS) -I$(VFLIB_INCDIR))

/* VFPERF */
NormalProgramTarget(fmtest,fmtest.o,$(DEPVFLIB),NullParameter,$(SYS_LIBRARIES))

/*EOF*/

