#
# define macros which work on RS/6000

LIB_LIST = hippoX11 
DEBUGLIB_LIST = hippoX11_debug
UTIL_LIB=hippoX11

CPLUSPLUS=g++ -I/usr/local/lib/g++-include -I/usr/local/X11R5/include \
-I/usr/local/X11R5/include/InterViews/2.6 -Div2_6_compatible

# directory in which libraries are built (define it here different
#  architecture means different directory)
#LIB_DIR = /u/eb/rensing/lib/aix6000

_CFLAGS = -Daix6000
CFLAGS = -O $(_CFLAGS)
CFLAGS_DEB = -g -DDEBUG $(_CFLAGS)
CFLAGS_PROF = -pg -DPROFILE $(_CFLAGS)
LDFLAGS = -L$(LIB_DIR) -l$(UTIL_LIB) -lm
FFLAGS = -qextname

# LIBS for making hb2hippo...
# hippo is picked up from LDFLAGS
HB2HADD = -lpacklib

MAKECOM = $(MAKE) -$(MAKEFLAGS)


# missing standard macros
RANLIB = ranlib
AR = ar
ARFLAGS = rv
RM = rm
RMFLAGS = -f
CP = cp
MV = mv

.cc.a :
	$(CPLUSPLUS) $(CFLAGS) -c -o $% $<
	$(AR) $(ARFLAGS) $@ $%
	$(RM) $(RMFLAGS) $%

