# @(#)40	1.4  src/43haes/usr/sbin/cluster/clstat/Makefile.ship, hacmp.clstat, 61haes_r714 5/3/05 14:42:50
# IBM_PROLOG_BEGIN_TAG 
# This is an automatically generated prolog. 
#  
# 61haes_r714 src/43haes/usr/sbin/cluster/clstat/Makefile.ship 1.4 
#  
# Licensed Materials - Property of IBM 
#  
# Restricted Materials of IBM 
#  
# COPYRIGHT International Business Machines Corp. 1990,2005 
# All Rights Reserved 
#  
# US Government Users Restricted Rights - Use, duplication or 
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 
#  
# IBM_PROLOG_END_TAG 
#
#
# This is the makefile for the clstat (cluster status) sample program
# for HACMP.
#
# Questions ? Comments ? Suggestions ? mailto:hafeedbk@us.ibm.com
#
#

TOP=/usr

LIBS=  $(TOP)/lib/libc.a \
	 $(TOP)/lib/libcl.a \
	 $(TOP)/lib/libcurses.a \
	 $(TOP)/lib/libXm.a \
	 $(TOP)/lib/libXt.a \
	 $(TOP)/lib/libX11.a

# Compiler flags.
STRIP_FLAG= 
DEBUG=
CPPLOCAL= -I$(TOP)/include/cluster -I$(TOP)/include \
	-I$(TOP)/include/sys -I$(TOP)/usr/include/cluster
CPPFLAGSALL= $(DEBUG) $(STRIP_FLAG) $(CPPLOCAL)
CFLAGS= -D_BSD -D_AIX32_CURSES $(CPPFLAGSALL) -D__HAES__

# Linker/Loader flags.
LDFLAGSALL= -f $(STRIP_FLAG) -R $@.rmap

SRC= \
	clstat.c \
	xclstat.c \
	clstat_main.c \
	dbprint.c

OBJ= $(SRC:.c=.o)

EXES = clstat xclstat

all: $(EXES)

clean:
	rm -f *_obj *.o *.u *.m core $(EXES)

spotless: clean
	$(RCSCLEAN) $(SOURCE)

clstat: $(OBJ)
	$(CC) -o $@ $(CPPFLAGSALL) clstat_main.o clstat.o dbprint.o $(LIBS)

xclstat: $(OBJ)
	$(CC) -o $@ $(CPPFLAGSALL) xclstat.o clstat.o dbprint.o $(LIBS)



FRC:

