#
# $Id: Makefile.in,v 2.0 1998/10/14 22:59:07 hender Exp $
#
#
#       Makefile for the pbs "iff" routine
#
# This program is confidential and proprietary to MRJ Technology Solutions
# and may not be reproduced, published or disclosed to others without
# written authorization from MRJ.
# 
# Copyright (c) 1998 MRJ Technology Solutions, Inc. All Rights Reserved.
# 
# This program is derived from prior work some of which was originally
# written as a joint project between the Numerical Aerospace Simulation
# (NAS) Systems Division of NASA Ames Research Center and the National
# Energy Research Supercomputer Center (NERSC) of Lawrence Livermore
# National Laboratory.
#
# the first non-comment line must be .POSIX to assure POSIX make behavior
#
@MAKE_POSIX_TARGET@


srcdir = @srcdir@
top_srcdir = @top_srcdir@
MK_VPATH = @srcdir@
INSTALL = @INSTALL@

@mk_head@
@mk_dirs@

INCS = -I../include -I$(top_srcdir)/src/include
CFLAGS = @CFLAGS@ $(INCS) @DEFS@

PBS_LIBS = ../lib/Libpbs/libpbs.a ../lib/Libnet/libnet.a

SRCS = @IFF_FILE@.c
OBJS = @IFF_FILE@.o

TARGET = pbs_iff

all: autodepend
	@MAKE_POSIX_PLUS@@$(MAKE) build

build: $(TARGET)

install: $(TARGET)
	@$(INSTALL) -d -m 755 $(sbindir) && \
	$(INSTALL) -m 4755 $(TARGET) $(sbindir)

pbs_iff: $(OBJS) $(PBS_LIBS)
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(PBS_LIBS) $(LIBS)

@mk_cleanup@
@mk_tail@
