Mercurial > hg > xemacs-beta
comparison lisp/oobr/tree-x/Makefile @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | 4103f0995bd7 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
1 # | |
2 # SUMMARY: What's new in this version of the OO-Browser? | |
3 # | |
4 # AUTHOR: Bob Weiner / Mark Stern | |
5 # | |
6 # ORIG-DATE: 15-Oct-90 | |
7 # LAST-MOD: 14-Sep-95 at 10:20:41 by Bob Weiner | |
8 # | |
9 # Copyright (C) 1990-1995 Free Software Foundation, Inc. | |
10 # See the file BR-COPY for license information. | |
11 # | |
12 # This file is part of the OO-Browser. | |
13 | |
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.. | |
17 DEFINES = -DHAVE_USLEEP | |
18 # Use the line below instead under Solaris. | |
19 # DEFINES = -DSYSV | |
20 | |
21 # Root directory of your X distribution. Note how this is used in succeeding | |
22 # variables. | |
23 XROOT = /usr/moto/X11R5 | |
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 | |
31 CFLAGS = -g -O $(INCLUDEDIRS) $(DEFINES) | |
32 | |
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 | |
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. | |
43 BINDIR = /usr/local/infodock/bin | |
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 | |
51 $(NAME): $(O_FILES) | |
52 $(CC) $(CFLAGS) -o $(NAME) $(O_FILES) $(LDFLAGS) | |
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 |