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

Revision 18391, 2.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18390, which included commits to RCS files with non-trunk default branches.
RevLine 
[15282]1# Makedefs.in -- input for the common Makefile definitions
2# Copyright (C) 1998 John Harper <john@dcs.warwick.ac.uk>
[18390]3# $Id: Makedefs.in,v 1.1.1.4 2003-01-05 00:23:54 ghudson Exp $
[15282]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@
[17361]40emacssitelispdir=@emacssitelispdir@
[15282]41
42host_type=@host@
43repdir=@repdir@
44replispdir=@replispdir@
45repexecdir=@repexecdir@
46repcommonexecdir=@repcommonexecdir@
47repdocfile=@repdocfile@
48
49CC=@CC@
50LIBTOOL=@LIBTOOL@
51MAKEDEP=@MAKEDEP@
52CPPFLAGS=-DHAVE_CONFIG_H -I. -I$(top_srcdir)/src -I.. @CPPFLAGS@
53CFLAGS=@CFLAGS@
54LDFLAGS=@LDFLAGS@
55LIBS=@LIBS@
56LIBOBJS=@LIBOBJS@
57EXTRA_LIBOBJS=@EXTRA_LIBOBJS@
58READLINE_LIBS=@READLINE_LIBS@
59GMP_LIBS=@GMP_LIBS@
60GDBM_LIBS=@GDBM_LIBS@
61ALLOCA=@ALLOCA@
62
63DESTDIR=
64INSTALL=@INSTALL@
65INSTALL_DATA=@INSTALL_DATA@
66INSTALL_PROGRAM=@INSTALL_PROGRAM@
67INSTALL_SCRIPT=@INSTALL_SCRIPT@
68
69MAKEINFO = makeinfo
70MAKEINFOFLAGS =
71TEXI2DVI = texi2dvi
72TEXI2PDF = texi2pdf
73DVIPS = dvips
74
75HAVE_X11=@HAVE_X11@
76HAVE_UNIX=@HAVE_UNIX@
77
78.PHONY: clean realclean install
79
[18390]80rep_prog = $(top_builddir)/src/rep
[15282]81COMPILE_ENV = REPLISPDIR=$(top_builddir)/lisp \
82              REP_DL_LOAD_PATH=$(top_builddir)/src/.libexec \
83              REPDOCFILE=$(top_builddir)/DOC
84
[15761]85include $(top_srcdir)/rules.mk
86rep_LIBTOOL=@LIBTOOL@
87
[15282]88# Rule for ``normal'' C objects
89%.o : %.c
90        $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
91
92# Rule for ``normal'' executables
93% : %.c
94        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
95
96# Rule for libtool controlled C objects
97%.lo : %.c
98        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
99
100# Rule for dlopen'able C objects
101%.la : %.c
102        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
[15761]103        $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo
[15282]104
105# Build dependancy files from C source files.
106.%.d : %.c
107        $(SHELL) -ec '$(MAKEDEP) $(CPPFLAGS) $< \
108        | sed '\''s/$*\.o/& $*.lo .$*\.d/g'\'' > $@'
Note: See TracBrowser for help on using the repository browser.