-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (47 loc) · 1.56 KB
/
Makefile
File metadata and controls
53 lines (47 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- sh -*-
#This is a UNIX-only makefile. For other systems, get a makefile from
#src/mkfiles/
jed: makefiles
cd src; $(MAKE) jed
@echo If you have X, try 'make xjed'
all: makefiles
cd src; $(MAKE) all
xjed: makefiles
cd src; $(MAKE) xjed
rgrep: makefiles
cd src; $(MAKE) rgrep
Makefile: configure autoconf/Makefile.in
@echo "Makefile is older than the configure script".
@echo "Please re-run the configure script."
@exit 1
src/Makefile: configure src/Makefile.in src/config.hin src/jed-feat.h
@echo "src/Makefile is older than its dependencies".
@echo "Please re-run the configure script."
@exit 1
makefiles: Makefile src/Makefile
clean:
/bin/rm -f *~
cd src; $(MAKE) clean
#
distclean:
/bin/rm -f *~ Makefile config.status config.log config.cache files.pck
cd src; $(MAKE) distclean
#
install: makefiles
cd src; $(MAKE) install
#
getmail: makefiles
cd src; $(MAKE) getmail
@echo getmail created. Copy it to JED_ROOT/bin.
# The symlinks target is for my own private use. It simply creates the object
# directory as a symbolic link to a local disk instead of an NFS mounted one.
symlinks:
cd src; $(MAKE) symlinks
configure: autoconf/aclocal.m4 autoconf/configure.ac
cd autoconf && autoconf && mv ./configure ..
update: autoconf/config.sub autoconf/config.guess
autoconf/config.guess: /usr/share/misc/config.guess
/bin/cp -f /usr/share/misc/config.guess autoconf/config.guess
autoconf/config.sub: /usr/share/misc/config.sub
/bin/cp -f /usr/share/misc/config.sub autoconf/config.sub
.PHONY: jed all xjed rgrep clean distclean install getmail symlinks makefiles