1. xemacs
  2. oo-browser


oo-browser / tree-x / Makefile.hpux

# SUMMARY:      Makefile for the OO-Browser
# AUTHOR:       Bob Weiner / Mark Stern
# ORG:          BeOpen.com / Brown U.
# ORIG-DATE:    15-Oct-90
# LAST-MOD:     20-Apr-98 at 18:02:42 by Bob Weiner
# Copyright (C) 1990-1996  BeOpen.com and the Free Software Foundation, Inc.
# See the file BR-COPY for license information.
# This file is part of the OO-Browser.

# If the usleep () system call exists on your system, uncomment the following line.

# Set this to be the directory in which to install the X OO-Browser
# executable.  This should be a directory in all users' search paths or the
# value of the Emacs variable, exec-directory.  The INFODOCK environment
# variable is automatically set within InfoDock to the InfoDock root directory.
# If you run make from outside of InfoDock, you can replace this environment
# variable with whatever root directory tree is appropriate for your site.
# Use 'make install' to install the binary.
BINDIR          = ${INFODOCK}/bin/hppa-hp-hpux

# Root directory of your X distribution.  Note how this is used in succeeding
# variables.
XROOT           = /usr/local/xutR5
LIBDIRS         = -L$(XROOT)

# Use this for the standard Athena widgets.
XAW = -lXaw
# Use this instead for the 3D Athena widget library.
XAW3D = -lXaw3d
# Set this to one of the 2 above variable names.
# Set this to one of the 2 above variable values.

# C compiler
CC		= gcc
# Compiler flags

#   Set XVERSION to the proper relase of X11 for your system.
#   Use X11R5 if your system is not on X11R6 or above.
X11R5 = 
X11R6 = -lSM -lICE

#   X11 libraries used by all system configurations.
XCOMMON = -lXmu -lXt -lX11 -lXext

#   This is used for static linking on a generic platform such as SunOS 4.
#   This is used for dynamic linking under Solaris.
#   This is used for dynamic linking under Linux and HP-UX.

NAME		= xoobr
C_FILES 	= draw.c tree.c input.c dissolve.c dbl.c intf.c usleep.c
O_FILES		= draw.o tree.o input.o dissolve.o dbl.o intf.o usleep.o
INC_FILES	= defs.h tree.h input.h dissolve.h dbl.h rsrc.h intf.h help.h

$(NAME):	hpux

static:		$(O_FILES)
		$(CC) $(CFLAGS) -o $(NAME) $(O_FILES) $(LD_STATIC)

solaris:	$(O_FILES)

hpux:		$(O_FILES)

linux:		$(O_FILES)

install:	$(NAME)
		chmod 755 $(NAME)
		mv $(NAME) $(BINDIR)/$(NAME)

		rm -f *.o *.orig *.rej $(NAME) core *~

		wc *.c *.h

dbl.o: 		dbl.h 
dissolve.o:	dissolve.h
draw.o: 	dissolve.h defs.h tree.h dbl.h intf.h
input.o: 	defs.h tree.h input.h dbl.h intf.h
intf.o: 	defs.h tree.h dbl.h intf.h rsrc.h input.h help.h dissolve.h
tree.o: 	defs.h tree.h dbl.h intf.h