# # This file is a product of Sun Microsystems, Inc. and is provided for # unrestricted use provided that this legend is included on all tape # media and as a part of the software program in whole or part. Users # may copy or modify this file without charge, but are not authorized to # license or distribute it to anyone else except as part of a product # or program developed by the user. # # THIS FILE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE # WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR # PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. # # This file is provided with no support and without any obligation on the # part of Sun Microsystems, Inc. to assist in its use, correction, # modification or enhancement. # # SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE # INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS FILE # OR ANY PART THEREOF. # # In no event will Sun Microsystems, Inc. be liable for any lost revenue # or profits or other special, indirect and consequential damages, even # if Sun has been advised of the possibility of such damages. # # Sun Microsystems, Inc. # 2550 Garcia Avenue # Mountain View, California 94043 # # # @(#)Makefile.clientsrc 9.8 88/01/18 # # Copyright (c) 1987 by Sun Microsystems, Inc. # # Makefile for NeWS client source directory. # --- Installation Directories --- INSDIR=/usr/NeWS BINDIR=${INSDIR}/bin DEMODIR=${INSDIR}/demo LIBDIR=${INSDIR}/lib PSLIBDIR=${LIBDIR}/NeWS INCLUDEDIR=${INSDIR}/include FONTDIR=${INSDIR}/fonts SRCDIR=${INSDIR}/clientsrc DEFAULTNEWSHOME=/usr/NeWS # --- Compiler Options --- # Normal debugging #OPT=-g -DDEBUG -DPERFORMANCE # optimized compilation OPT=-O # unoptimized, internal debugging turned off #OPT=-g # optimized 68020 compilation, also set TARGET_ARCH #OPT=-O -f68881 # 4.2BSD -R option ROPT=-R # System V compiler #ROPT= # --- Target Machine --- #TARGET_ARCH=-mc68010 # --- Libraries --- #Termcap library TERMLIB=-ltermcap #TERMLIB=-ltermlib # System V networking libraries SYSV_NETLIB= #SYSV_NETLIB=-ltcp -lnsl_s # --- Sun Specific files --- SUNSPECIFICSRC=kbd_mode.c set_selection.c ensure_sel_svc.c SUNSPECIFICOBJ=kbd_mode.o set_selection.o ensure_sel_svc.o SUNSPECIFICHDR= SUNSPECIFICPROG=kbd_mode set_selection ensure_sel_svc SUNSPECIFICLIB=-lsuntool -lsunwindow -lpixrect #SUNSPECIFICSRC= #SUNSPECIFICOBJ= #SUNSPECIFICHDR= #SUNSPECIFICPROG= #SUNSPECIFICLIB= # --- Operating System Interface --- # Sun OS Version OSI=SUN # Non Sun OS versions - reference versions #OSI=REF # --- Specific Reference Versions --- # Sun version VER=SUNREF # VAXstation version #VER=VXSREF # System V version #VER=SYSVREF # --- System V.3 Networking Product --- #SYSV_NETWORK=INTERLANTCP SYSV_NETWORK= # --- psterm flag --- # only set for Sun versions; only pass to client make #TERMFLAG= TERMFLAG=-DSUNTGETENT # Byte Ordering #BYTES=-DLITTLEENDIAN BYTES= COPTS=${BYTES} MAKEFILES=lib/NeWS/Makefile \ client/Makefile \ include/Makefile all: Include Client LibNeWS @echo NeWS Client make complete Include: include/Makefile -cd include; make LibNeWS: include/Makefile lib/NeWS/Makefile -cd lib/NeWS; make -k OPT='${OPT}' COPTS='${COPTS}' OSI='${OSI}' \ VER='${VER}' TERMLIB='${TERMLIB}' \ DEFAULTNEWSHOME='${DEFAULTNEWSHOME}' \ DESTDIR='${DESTDIR}' INSDIR='${INSDIR}' \ SYSV_NETWORK='${SYSV_NETWORK}' SYSV_NETLIB='${SYSV_NETLIB}' \ SUNSPECIFICSRC='${SUNSPECIFICSRC}' \ SUNSPECIFICOBJ='${SUNSPECIFICOBJ}' \ SUNSPECIFICHDR='${SUNSPECIFICHDR}' \ SUNSPECIFICPROG='${SUNSPECIFICPROG}' \ SUNSPECIFICLIB='${SUNSPECIFICLIB}' all Client: include/Makefile lib/NeWS/Makefile client/Makefile -cd client; make -k OPT='${OPT}' COPTS='${COPTS}' OSI='${OSI}' \ VER='${VER}' TERMLIB='${TERMLIB}' TERMFLAG='${TERMFLAG}'\ DEFAULTNEWSHOME='${DEFAULTNEWSHOME}' \ DESTDIR='${DESTDIR}' INSDIR='${INSDIR}' \ SYSV_NETWORK='${SYSV_NETWORK}' SYSV_NETLIB='${SYSV_NETLIB}' \ SUNSPECIFICSRC='${SUNSPECIFICSRC}' \ SUNSPECIFICOBJ='${SUNSPECIFICOBJ}' \ SUNSPECIFICHDR='${SUNSPECIFICHDR}' \ SUNSPECIFICPROG='${SUNSPECIFICPROG}' \ SUNSPECIFICLIB='${SUNSPECIFICLIB}' all install: mkdir ${MAKEFILES} -cd include; make -cd lib/NeWS; make -k OPT='${OPT}' COPTS='${COPTS}' OSI='${OSI}' \ VER='${VER}' TERMLIB='${TERMLIB}' \ DEFAULTNEWSHOME='${DEFAULTNEWSHOME}' \ DESTDIR='${DESTDIR}' INSDIR='${INSDIR}' \ SYSV_NETWORK='${SYSV_NETWORK}' SYSV_NETLIB='${SYSV_NETLIB}' \ SUNSPECIFICSRC='${SUNSPECIFICSRC}' \ SUNSPECIFICOBJ='${SUNSPECIFICOBJ}' \ SUNSPECIFICHDR='${SUNSPECIFICHDR}' \ SUNSPECIFICPROG='${SUNSPECIFICPROG}' \ SUNSPECIFICLIB='${SUNSPECIFICLIB}' install -cd client; make -k OPT='${OPT}' COPTS='${COPTS}' OSI='${OSI}' \ VER='${VER}' TERMLIB='${TERMLIB}' TERMFLAG='${TERMFLAG}'\ DEFAULTNEWSHOME='${DEFAULTNEWSHOME}' \ DESTDIR='${DESTDIR}' INSDIR='${INSDIR}' \ SYSV_NETWORK='${SYSV_NETWORK}' SYSV_NETLIB='${SYSV_NETLIB}' \ SUNSPECIFICSRC='${SUNSPECIFICSRC}' \ SUNSPECIFICOBJ='${SUNSPECIFICOBJ}' \ SUNSPECIFICHDR='${SUNSPECIFICHDR}' \ SUNSPECIFICPROG='${SUNSPECIFICPROG}' \ SUNSPECIFICLIB='${SUNSPECIFICLIB}' install @echo NeWS Client make install complete mkdir: -mkdir ${INSDIR} ${INSDIR}/lib \ ${INSDIR}/bin ${INSDIR}/include ${INSDIR}/demo ${INSDIR}/man clean: client/Makefile lib/NeWS/Makefile -cd lib/NeWS; make -k SUNSPECIFICSRC='${SUNSPECIFICSRC}' \ SUNSPECIFICOBJ='${SUNSPECIFICOBJ}' \ SUNSPECIFICHDR='${SUNSPECIFICHDR}' \ SUNSPECIFICPROG='${SUNSPECIFICPROG}' \ SUNSPECIFICLIB='${SUNSPECIFICLIB}' clean -cd client; make -k SUNSPECIFICSRC='${SUNSPECIFICSRC}' \ SUNSPECIFICOBJ='${SUNSPECIFICOBJ}' \ SUNSPECIFICHDR='${SUNSPECIFICHDR}' \ SUNSPECIFICPROG='${SUNSPECIFICPROG}' \ SUNSPECIFICLIB='${SUNSPECIFICLIB}' clean