| 1 |
# Configuration constants for building XEmacs packages |
# Common Makefile material for package Makefiles |
| 2 |
# Copyright (C) 1997 Free Software Foundation Inc. |
# Copyright (C) 1997 Free Software Foundation Inc. |
| 3 |
|
|
| 4 |
# This file is part of XEmacs. |
# This file is part of XEmacs. |
| 60 |
%.info: %.texi |
%.info: %.texi |
| 61 |
$(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ $< |
$(MAKEINFO) $(MAKEINFO_FLAGS) -o $@ $< |
| 62 |
|
|
|
# APA: XEmacs native NT currently (2000-06-23) has shortcomings we |
|
|
# need to temporarily work around. |
|
| 63 |
ifeq ($(XEMACS_NATIVE_NT),t) |
ifeq ($(XEMACS_NATIVE_NT),t) |
| 64 |
# APA: Convert UNIX-path (containing output of `pwd') to windows-path, |
# Convert UNIX-path (containing output of `pwd') to windows-path, so |
| 65 |
# so that XEmacs native NT can handle it. |
# that XEmacs native NT can handle it. |
| 66 |
PACKAGE_COMPILE = \ |
PACKAGE_COMPILE = \ |
| 67 |
"$(shell cygpath --windows $(XEMACS_PACKAGES_BASE)/package-compile.el)" |
"$(shell cygpath --windows $(XEMACS_PACKAGES_BASE)/package-compile.el)" |
| 68 |
|
PACKAGE_CLEAN = \ |
| 69 |
|
"$(shell cygpath --windows $(XEMACS_PACKAGES_BASE)/package-clean.el)" |
| 70 |
else |
else |
| 71 |
PACKAGE_COMPILE = $(XEMACS_PACKAGES_BASE)/package-compile.el |
PACKAGE_COMPILE = $(XEMACS_PACKAGES_BASE)/package-compile.el |
| 72 |
|
PACKAGE_CLEAN = $(XEMACS_PACKAGES_BASE)/package-clean.el |
| 73 |
endif |
endif |
| 74 |
|
|
| 75 |
%.elc: %.el |
%.elc: %.el |
| 92 |
$(AUTOLOAD_PATH)/custom-load.el package-info \ |
$(AUTOLOAD_PATH)/custom-load.el package-info \ |
| 93 |
$(AUTOLOAD_PATH)/_pkg.el |
$(AUTOLOAD_PATH)/_pkg.el |
| 94 |
|
|
| 95 |
# APA: XEmacs native NT currently (2000-06-23) has shortcomings we |
elcclean: |
| 96 |
# need to temporarily work around. |
$(XEMACS) $(VANILLA) -batch -l $(PACKAGE_CLEAN) |
| 97 |
ifeq ($(XEMACS_NATIVE_NT),t) |
|
| 98 |
# APA: XEmacs native NT currently needs this quoting of |
# XEmacs native MS Windows needs this quoting of command-line |
| 99 |
# command-line-rguments. |
# arguments due to basic differences in the handling of command-line |
| 100 |
|
# arguments in Unix and MS Windows. |
| 101 |
|
#### not any more, as of Cygwin 1.1.8-2 (Feb 2001) -- ben |
| 102 |
|
ifeq ($(XEMACS_NATIVE_NT_NEEDS_EXTRA_QUOTING),t) |
| 103 |
AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \\\"$(PACKAGE)\\\") |
AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \\\"$(PACKAGE)\\\") |
| 104 |
else |
else |
| 105 |
AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \"$(PACKAGE)\") |
AUTOLOAD_PACKAGE_NAME = (setq autoload-package-name \"$(PACKAGE)\") |
| 117 |
|
|
| 118 |
pkg_tar = $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar |
pkg_tar = $(STAGING)/$(PACKAGE)-$(VERSION)-pkg.tar |
| 119 |
|
|
|
# APA: XEmacs native NT currently (2000-06-23) has shortcomings we |
|
|
# need to temporarily work around. |
|
| 120 |
ifeq ($(XEMACS_NATIVE_NT),t) |
ifeq ($(XEMACS_NATIVE_NT),t) |
| 121 |
# APA: Convert UNIX-path (containing output of `pwd') to windows-path, |
# Convert UNIX-path (containing output of `pwd') to windows-path, |
| 122 |
# so that XEmacs native NT can handle it. |
# so that XEmacs native NT can handle it. |
| 123 |
PKG_TAR_GZ = "$(shell cygpath --windows $(pkg_tar)).gz" |
PKG_TAR_GZ = "$(shell cygpath --windows $(pkg_tar)).gz" |
| 124 |
PACKAGE_INFO = "$(shell cygpath --windows $(STAGING)/$(PACKAGE_INDEX))" |
PACKAGE_INFO = "$(shell cygpath --windows $(STAGING)/$(PACKAGE_INDEX))" |