# $Id: ALPHA_5_ZMAP_DEF,v 1.1 2003/12/19 10:05:04 edgrif Exp $

#################################################################
############### acedb: R.Durbin and J.Thierry-Mieg ##############
########### wmake/DEC_ALPHA_DEF    March-18-1993       ##########
#################################################################

#################################################################
########## Machine dependant compiler modification ##############
####### for the DEC-Alpha 3000 model 500 running Unix ###########
#################################################################
########### This file is included by wmake/truemake #############
######  Edit this file to adapt the ACeDB to a new machine ######
#####   following the explanations given in wmake/truemake  #####
#################################################################

NAME = ALPHA

# Compiler used to build 3rd party libraries 
LIBCC = cc

#
# All this is because gtk2 is _only_ installed in ~acedb/gtk2 on the alphas at the moment.
# Once its installed in /usr/local then all this can go.
#
# Note that I have done this so you don't have to set any special environment variables to
# build and run the executables.
# 
# Set up gtk version stuff.
GTKVER = gtk2 glib-2.0 gtk+-2.0
GTKINC =  `PKG_CONFIG_PATH=/nfs/disk100/acedb/gtk2/lib/pkgconfig ; export PKG_CONFIG_PATH ; ../w3rdparty/include-config $(GTKVER)` 
GTKXWIN = `PKG_CONFIG_PATH=/nfs/disk100/acedb/gtk2/lib/pkgconfig ; export PKG_CONFIG_PATH ; ../w3rdparty/acedb-config $(GTKVER)`
GTKLIB =  `PKG_CONFIG_PATH=/nfs/disk100/acedb/gtk2/lib/pkgconfig ; export PKG_CONFIG_PATH ; ../w3rdparty/libs-config  $(GTKVER)`


XWIN_LIBS = $(GTKXWIN) -lXext -lX11


# I'm trying "level3" messages, you can go to "level6" but this is quite annoying....
#
COMPILER = cc -g -std -msg_enable level3 -ieee_with_inexact -DZMAP -DACEDB4 $(GTKINC) -I/usr/local/include

#LINKER = cc -g1 -oldstyle_liblookup
LINKER = cc -g -oldstyle_liblookup


# On DEC binaries complied with gcc + ev6 specific options crawl on pre
# ev6 machines. Add opion to emulate ev5, specifying the ev6 options only
# gains about 10% anyway. This is probably only used for the Image
# external modules since the default compiler/linker for DEC is cc
#CCCFLAGS = -O2 -g3 -Wall -mcpu=ev5

# On DEC the library does not need to be ranlib'd
RANLIB_NEEDED = false

# need /usr/local/lib for GNU software, e.g. readline package.
LIBS = -rpath '/nfs/disk100/acedb/gtk2/lib' $(GTKLIB) -L/usr/local/lib -lreadline -no_archive -lcurses  -so_archive

.c.o:
	$(CC)  $*.c

#################################################################
#################################################################

 
