0
|
1 #
|
70
|
2 # SUMMARY: What's new in this version of the OO-Browser?
|
0
|
3 #
|
|
4 # AUTHOR: Bob Weiner / Mark Stern
|
|
5 #
|
|
6 # ORIG-DATE: 15-Oct-90
|
70
|
7 # LAST-MOD: 14-Sep-95 at 10:20:41 by Bob Weiner
|
0
|
8 #
|
70
|
9 # Copyright (C) 1990-1995 Free Software Foundation, Inc.
|
0
|
10 # See the file BR-COPY for license information.
|
|
11 #
|
|
12 # This file is part of the OO-Browser.
|
|
13
|
70
|
14 # Use -DHAVE_USLEEP if usleep() is a valid system call. Otherwise, comment
|
|
15 # out this line or set its value to be empty, in which case the definition in
|
|
16 # "usleep.c" will be used..
|
0
|
17 DEFINES = -DHAVE_USLEEP
|
70
|
18 # Use the line below instead under Solaris.
|
|
19 # DEFINES = -DSYSV
|
0
|
20
|
|
21 # Root directory of your X distribution. Note how this is used in succeeding
|
|
22 # variables.
|
70
|
23 XROOT = /usr/moto/X11R5
|
0
|
24 LD_LIBRARY_PATH = $(XROOT)/lib
|
|
25 INCLUDEDIRS = -I$(XROOT)/include
|
|
26 LIBDIRS = -L$(XROOT)/lib
|
|
27
|
|
28 # C compiler
|
|
29 CC = gcc
|
|
30 # Compiler flags
|
70
|
31 CFLAGS = -g -O $(INCLUDEDIRS) $(DEFINES)
|
0
|
32
|
70
|
33 # Linker flags. Remove the -static for dynamic linking, e.g. under Linux.
|
|
34 # LDFLAGS = -static $(LIBDIRS) -lXaw -lXmu -lXt -lX11 -lXext
|
|
35 # Use the line below instead under Solaris.
|
|
36 # LDFLAGS = $(LIBDIRS) -lXaw -lXmu -lXt -lX11 -lXext -lsocket
|
|
37 LDFLAGS = $(LIBDIRS) -lXaw -lXmu -lXt -lX11 -lXext
|
0
|
38
|
|
39 # Set this to be the directory in which to install the X OO-Browser
|
|
40 # executable. This should be a directory in all users' search paths or the
|
|
41 # value of the Emacs variable, exec-directory.
|
|
42 # Use 'make install' to install the binary.
|
70
|
43 BINDIR = /usr/local/infodock/bin
|
0
|
44
|
|
45 NAME = xoobr
|
|
46 C_FILES = draw.c tree.c input.c dissolve.c dbl.c intf.c usleep.c
|
|
47 O_FILES = draw.o tree.o input.o dissolve.o dbl.o intf.o usleep.o
|
|
48 INC_FILES = defs.h tree.h input.h dissolve.h dbl.h rsrc.h intf.h help.h
|
|
49 SRC_FILES = $(INC_FILES) $(C_FILES)
|
|
50
|
70
|
51 $(NAME): $(O_FILES)
|
|
52 $(CC) $(CFLAGS) -o $(NAME) $(O_FILES) $(LDFLAGS)
|
0
|
53
|
|
54 install: $(NAME)
|
|
55 chmod 755 $(NAME)
|
|
56 mv $(NAME) $(BINDIR)/$(NAME)
|
|
57
|
|
58 clean:
|
|
59 rm -f *.o *.orig *.rej $(NAME) core *~
|
|
60
|
|
61 size:
|
|
62 wc $(SRC_FILES)
|
|
63
|
|
64 dbl.o: dbl.h
|
|
65 dissolve.o: dissolve.h
|
|
66 draw.o: defs.h tree.h dbl.h intf.h
|
|
67 input.o: defs.h tree.h input.h
|
|
68 intf.o: defs.h tree.h dbl.h intf.h rsrc.h input.h help.h
|
|
69 tree.o: defs.h tree.h intf.h
|