/*
 * Imakefile
 *
 * Author: Jim Zelenka
 */
/*
 * Copyright (c) of Carnegie Mellon University, 1999.
 *
 * Permission to reproduce, use, and prepare derivative works of
 * this software for internal use is granted provided the copyright
 * and "No Warranty" statements are included with all reproductions
 * and derivative works. This software may also be redistributed
 * without charge provided that the copyright and "No Warranty"
 * statements are included in all redistributions.
 *
 * NO WARRANTY. THIS SOFTWARE IS FURNISHED ON AN "AS IS" BASIS.
 * CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER
 * EXPRESSED OR IMPLIED AS TO THE MATTER INCLUDING, BUT NOT LIMITED
 * TO: WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY
 * OF RESULTS OR RESULTS OBTAINED FROM USE OF THIS SOFTWARE. CARNEGIE
 * MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT
 * TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
 */

#include "NASD.tmpl"

/* LCDEBUGFLAGS = -g -trapuv */

#ifdef SolarisArchitecture
/*
 * There's some weird parser bug that doesn't show up when
 * we compile without debugging. Whatever. The parser should
 * be hauled out and shot anyway.
 */
NASD_LCFLAGS = -g
#endif /* SolarisArchitecture */

RPCGENOBJS = \
	nasd_getopt.o \
	nasd_rpcgen.o \
	nasd_rpcgen_cpp.o \
	nasd_rpcgen_math.o \
	nasd_rpcgen_output_c.o \
	nasd_rpcgen_output_dceidl.o \
	nasd_rpcgen_output_marshall.o \
	nasd_rpcgen_output_usc.o \
	nasd_rpcgen_parse.o \
	nasd_rpcgen_tab.o

SRCS = ${RPCGENOBJS:.o=.c}

NASD_NormalProgramTarget(nasd_rpcgen,$(RPCGENOBJS),NullParameter,NullParameter,NullParameter)

NASD_CloneFile(nasd_getopt.c,common/nasd_getopt.c)

NASD_Depend()

depend:: nasd_rpcgen

AllTarget(nasd_rpcgen)

/*
 * Don't put anything after this
 */
#include "NASD.trailer"
