#
# SUMMARY:      What's new in this version of the OO-Browser?
#
# AUTHOR:       Bob Weiner / Mark Stern
#
# ORIG-DATE:    15-Oct-90
# LAST-MOD:      6-Mar-95 at 18:54:29 by Bob Weiner
#
# Copyright (C) 1990-1995  Free Software Foundation, Inc.
# See the file BR-COPY for license information.
#
# This file is part of the OO-Browser.

NAME		= xoobr
BINDIR          = /usr/local/infodock/bin
XROOT           = /usr/moto/X11R5
LD_LIBRARY_PATH = $(XROOT)/lib
INCLUDEDIRS     = -I$(XROOT)/include
LIBDIRS         = -L$(XROOT)/lib
CC		= gcc
CFLAGS		= -ggdb -O $(INCLUDEDIRS)
LDFLAGS		= -static $(LIBDIRS) -lXaw -lXmu -lXt -lX11 -lXext

PRINT           = lpr

C_FILES 	= draw.c tree.c input.c dissolve.c dbl.c intf.c
O_FILES		= draw.o tree.o input.o dissolve.o dbl.o intf.o
INC_FILES	= defs.h tree.h input.h dissolve.h dbl.h rsrc.h intf.h help.h
SRC_FILES	= $(INC_FILES) $(C_FILES)

$(NAME):	$(O_FILES)
		$(CC) $(CFLAGS) -o $(NAME) $(O_FILES) $(LDFLAGS)

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

print:		
		$(PRINT) $(SRC_FILES)

clean:
		rm -f *.o $(NAME) core *~

size:
		wc $(SRC_FILES)

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