source: trunk/third/librep/Makedefs.in @ 15762

Revision 15762, 2.8 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15761, which included commits to RCS files with non-trunk default branches.
Line 
1# Makedefs.in -- input for the common Makefile definitions
2# Copyright (C) 1998 John Harper <john@dcs.warwick.ac.uk>
3# $Id: Makedefs.in,v 1.1.1.2 2001-03-13 16:43:20 ghudson Exp $
4#
5# This file is part of Jade.
6#
7# Jade is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2, or (at your option)
10# any later version.
11#
12# Jade is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with Jade; see the file COPYING.  If not, write to
19# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20
21version=@version@
22libversion=@libversion@
23SHELL=/bin/sh
24
25top_srcdir=@top_srcdir@
26srcdir=@srcdir@
27
28prefix=@prefix@
29exec_prefix=@exec_prefix@
30datadir=@datadir@
31bindir=@bindir@
32includedir=@includedir@
33infodir=@infodir@
34libdir=@libdir@
35libexecdir=@libexecdir@
36localstatedir=@localstatedir@
37mandir=@mandir@
38sharedstatedir=@sharedstatedir@
39aclocaldir=@aclocaldir@
40
41host_type=@host@
42repdir=@repdir@
43replispdir=@replispdir@
44repexecdir=@repexecdir@
45repcommonexecdir=@repcommonexecdir@
46repdocfile=@repdocfile@
47
48CC=@CC@
49LIBTOOL=@LIBTOOL@
50MAKEDEP=@MAKEDEP@
51CPPFLAGS=-DHAVE_CONFIG_H -I. -I$(top_srcdir)/src -I.. @CPPFLAGS@
52CFLAGS=@CFLAGS@
53LDFLAGS=@LDFLAGS@
54LIBS=@LIBS@
55LIBOBJS=@LIBOBJS@
56EXTRA_LIBOBJS=@EXTRA_LIBOBJS@
57READLINE_LIBS=@READLINE_LIBS@
58GMP_LIBS=@GMP_LIBS@
59GDBM_LIBS=@GDBM_LIBS@
60ALLOCA=@ALLOCA@
61
62DESTDIR=
63INSTALL=@INSTALL@
64INSTALL_DATA=@INSTALL_DATA@
65INSTALL_PROGRAM=@INSTALL_PROGRAM@
66INSTALL_SCRIPT=@INSTALL_SCRIPT@
67
68MAKEINFO = makeinfo
69MAKEINFOFLAGS =
70TEXI2DVI = texi2dvi
71TEXI2PDF = texi2pdf
72DVIPS = dvips
73
74HAVE_X11=@HAVE_X11@
75HAVE_UNIX=@HAVE_UNIX@
76
77.PHONY: clean realclean install
78
79rep_prog = $(top_builddir)/libtool --mode=execute $(top_builddir)/src/rep
80COMPILE_ENV = REPLISPDIR=$(top_builddir)/lisp \
81              REP_DL_LOAD_PATH=$(top_builddir)/src/.libexec \
82              REPDOCFILE=$(top_builddir)/DOC
83
84include $(top_srcdir)/rules.mk
85rep_LIBTOOL=@LIBTOOL@
86
87# Rule for ``normal'' C objects
88%.o : %.c
89        $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
90
91# Rule for ``normal'' executables
92% : %.c
93        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
94
95# Rule for libtool controlled C objects
96%.lo : %.c
97        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
98
99# Rule for dlopen'able C objects
100%.la : %.c
101        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
102        $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo
103
104# Build dependancy files from C source files.
105.%.d : %.c
106        $(SHELL) -ec '$(MAKEDEP) $(CPPFLAGS) $< \
107        | sed '\''s/$*\.o/& $*.lo .$*\.d/g'\'' > $@'
Note: See TracBrowser for help on using the repository browser.