# Generated automatically from Makefile.depend by configure.
#
# Minimum environment and virtual path setup
#
SHELL		= /bin/sh
srcdir		= .
top_srcdir	= ../..
VERSION		= 5.0.8

#
# Paths
#
prefix		= /home/tina/snmpdbinary
exec_prefix	= /home/tina/snmpdbinary
bindir		= ${exec_prefix}/bin
sbindir		= ${exec_prefix}/sbin
libdir		= ${exec_prefix}/lib
datadir		= ${prefix}/share
includedir	= ${prefix}/include/net-snmp
ucdincludedir	= ${prefix}/include/ucd-snmp
mandir		= ${prefix}/man
man1dir		= $(mandir)/man1
man3dir		= $(mandir)/man3
man5dir		= $(mandir)/man5
man8dir		= $(mandir)/man8
snmplibdir	= $(datadir)/snmp
mibdir		= $(snmplibdir)/mibs
persistentdir	= /var/net-snmp
SNMPINCLUDE=-I. -I../agent/mibgroup -I../agent -I../include

#
# Programs
#
INSTALL		= $(LIBTOOL) --mode=install /usr/bin/install -c
INSTALL_DATA    = ${INSTALL} -m 644
SED		= /bin/sed
LN_S		= ln -s
AUTOCONF	= :
AUTOHEADER	= :

#
# Compiler arguments
#
CFLAGS		= -g -O2 -Dlinux -D_FILE_OFFSET_BITS=64 -D_LINUX -DCHIP_REVISION_USED=4
LIBTOOL		= $(SHELL) $(top_builddir)/libtool 

# Misc Compiling Stuff
CC	        = /home/vinod/SW00005/SW00016R4_SclSource/mpc8xx/install/host/usr/bin/ppc-linux-gcc --enable-static
# version number is prefixed by a 0 for a better shared library version number
#
# ok, use libtool proper versioning:
LIBCURRENT  = 5
LIBREVISION = 8
LIBAGE      = 0
# generally, LIBCURRENT should stay the same unless major changes occur.
# Increment REVISION every release.  
# Increment AGE if new stuff is available.
LIB_LD_CMD      = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
LIB_EXTENSION   = la
LIB_VERSION     =
LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir)
LINK		= $(LIBTOOL) --mode=link $(CC)
# RANLIB 	= ranlib
RANLIB		= :

# libtool definitions
.SUFFIXES: .c .o .lo
.c.lo:
	$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(SNMPINCLUDE)  $(CFLAGS) -c -o $@ $<
top_builddir=../..

CPPFLAGS=-I../../include -I$(top_srcdir)/include \
	-I. -I../.. -I$(srcdir) -I$(srcdir)/../.. \
	-I$(srcdir)/../../snmplib -I$(srcdir)/.. -I..  \
	-I/home/vinod/SW00005/SW   -I/home/vinod/SW00005/SW/SCOR \
	-I/home/vinod/SW00005/SW/Linux  \
	 $(LIB_CFLAGS) 

# Need a special .c -> .o definition here to make sure we place the
# object files in the sub directory.

.c.o:
	$(CC) -c $(CPPFLAGS) $(CFLAGS) $(SNMPINCLUDE) -o $@ $<

LOBJS =  jcastrmon.lo
SRCS =  jcastrmon.c

OBJS2=example-demon.o jcastrmon.o
TARGETS=example-demon
BUILDAGENTLIBS=`net-snmp-config --agent-libs`

#all: standardall $(LOBJS)
all: example-demon $(LOBJS)

example-demon: $(OBJS2)
	$(CC) -g -o example-demon  $(OBJS2) $(SNMPINCLUDE)  $(BUILDAGENTLIBS)
		
