37 |
|
|
38 |
CLEAN_FILES = @TRAMP_CLEAN_FILES@ |
CLEAN_FILES = @TRAMP_CLEAN_FILES@ |
39 |
|
|
40 |
|
# trampver.el and tramp.el must be handled first due to dependencies |
41 |
|
LISP_FILES = trampver.el tramp.el tramp-ftp.el tramp-smb.el \ |
42 |
|
tramp-util.el tramp-uu.el tramp-vc.el trampcache.el |
43 |
|
|
44 |
|
ifeq ($(EMACS_INFO), xemacs) |
45 |
|
LISP_FILES += tramp-efs.el |
46 |
|
endif |
47 |
|
|
48 |
EVAL = --eval "(add-to-list 'load-path \".\")" |
EVAL = --eval "(add-to-list 'load-path \".\")" |
49 |
|
|
50 |
ifdef USE_CONTRIB |
ifdef USE_CONTRIB |
51 |
EVAL += --eval "(add-to-list 'load-path \"../contrib\")" |
EVAL += --eval "(add-to-list 'load-path \"../contrib\")" |
52 |
endif |
endif |
53 |
|
|
54 |
EM = $(EMACS) --no-site-file -batch $(EVAL) -f batch-byte-compile |
ifeq ($(EMACS_INFO), emacs) |
55 |
|
EM = $(EMACS) --no-site-file -batch $(EVAL) -f batch-byte-compile |
56 |
|
else |
57 |
|
EM = $(EMACS) -vanilla -batch $(EVAL) -f batch-byte-compile |
58 |
|
endif |
59 |
|
|
60 |
# To be used by maintainer only |
# To be used by maintainer only |
61 |
FTPDIR = /home-local/ftp/pub/src/emacs |
FTPDIR = /home-local/ftp/pub/src/emacs |
65 |
|
|
66 |
.SUFFIXES: .elc .el |
.SUFFIXES: .elc .el |
67 |
|
|
68 |
# trampver.el and tramp.el must be handled first due to dependencies |
all: $(addsuffix .elc, $(basename $(LISP_FILES))) |
|
all: trampver.elc tramp.elc $(addsuffix .elc, $(basename $(wildcard *.el))) |
|
69 |
|
|
70 |
%.elc: %.el |
%.elc: %.el |
71 |
$(EM) $? |
$(EM) $? |