######################################### # Makefile for Radware on IBM RS/6000 AIX3.2 and AIX4.1 # What you need: # 1) BSD C compiler - see README.aix how to create it from xlc ######################################### # make all to make all programs # make install to install, if all goes well # make clean to clean up this dir # make very-clean to clean up this and all subdirectories, # leaving only the source code #------------------------------------------------------------------------ # CHANGE these next two lines if X11 and/or Motif are installed elsewhere X_WIN_TOP = /usr MOTIF_TOP = /usr #------------------------------------------------------------------------ # CHANGE the next 3 lines to suit your installation preferences INSTALL_DIR = ${HOME}/rw_current INSTALL = /usr/ucb/install -m 0644 -o radfordd -g users INSTALL_BIN = /usr/ucb/install -m 0755 -o radfordd -g users # INSTALL = cp -h -p #------------------------------------------------------------------------ # CC = gcc -O2 -Wall CC = xlc FC = $(CC) CFLAGS = -F:bsdcc -O2 -DPROTOTYPE # -DHAVE_GNU_READLINE RANLIB = ranlib AR = ar rv RM = -rm -f RM_CMD = $(RM) *.o core *[~%] *.trace LIBS = -lX11 -lm # -lreadline -lncurses MOTIF_LIBS = -lXm -lMrm -lUil -lXt # ----------------------------------------------------------------------- # UNCOMMENT and CHANGE (if necessary) a line defining HISLIBS # if you have orphlib.a on your system, and you want to be able to read .his files. # UNCOMMENT the line defining FC as gcc if orphlib was compiled using gcc # HISLIBS = -lxlf90 -lxlf /usr/hhirf/orphlib.a # HISLIBS = /usr/hhirf/orphlib.a # FC = g77 #------------------------------------------------------------------------ LIB_PATHS = -L. -L$(X_WIN_TOP)/lib XM_LIB_PATHS = -L$(MOTIF_TOP)/lib GTK2 = TRUE SUB_MAKE_FLAGS = "CC = ${CC}" "CFLAGS = ${CFLAGS}" \ "RANLIB = ${RANLIB}" "HISLIBS = ${HISLIBS}" "GTK2 = ${GTK2}" ############## Methods ################## include Makefile.common include Makefile.install_ucb