source: trunk/third/sawfish/Makedefs.in @ 18414

Revision 18414, 2.8 KB checked in by ghudson, 22 years ago (diff)
Merge with sawfish 1.2-gtk2.
Line 
1# Makedefs.in -- input for the common Makefile definitions
2# $Id: Makedefs.in,v 1.5 2003-01-05 00:47:59 ghudson Exp $
3#
4# Copyright (C) 1999 John Harper <john@dcs.warwick.ac.uk>
5#
6# This file is part of sawmill.
7#
8# sawmill is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2, or (at your option)
11# any later version.
12#
13# sawmill is distributed in the hope that it will be useful, but
14# WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with sawmill; see the file COPYING.  If not, write to
20# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21
22version=@version@
23subversion=@subversion@
24rep_version=@REP_VERSION@
25SHELL=/bin/sh
26
27prefix=@prefix@
28exec_prefix=@exec_prefix@
29datadir=@datadir@
30bindir=@bindir@
31includedir=@includedir@
32infodir=@infodir@
33libdir=@libdir@
34libexecdir=@libexecdir@
35localstatedir=@localstatedir@
36mandir=@mandir@
37sharedstatedir=@sharedstatedir@
38
39sawfishdir=@sawfishdir@
40lispdir=@lispdir@
41nokogiridir=@nokogiridir@
42localedir=@localedir@
43sawfishexecdir=@sawfishexecdir@
44host_type=@host@
45GNOMEDIR=/usr/athena
46
47CC=@CC@
48MAKEDEP=@MAKEDEP@
49CPPFLAGS=-DHAVE_CONFIG_H -DSAWFISH -I. -I.. @CPPFLAGS@
50CFLAGS=@CFLAGS@
51LDFLAGS=@LDFLAGS@
52LIBS=@LIBS@
53#LIBOBJS=@LIBOBJS@
54LIBOBJS=
55X11_CFLAGS=@X_CFLAGS@ @XFT_CFLAGS@
56X11_LIBS=@X_PRE_LIBS@ -lX11 @X_LIBS@ @X_EXTRA_LIBS@
57EXTRA_X11_LIBS=@XINERAMA_LIBS@ @XFT_LIBS@ -lXext
58IMLIB_CFLAGS=@IMLIB_CFLAGS@
59IMLIB_LIBS=@IMLIB_LIBS@
60GDK_PIXBUF_CFLAGS=@GDK_PIXBUF_CFLAGS@
61GDK_PIXBUF_LIBS=@GDK_PIXBUF_LIBS@
62IMAGE_LIBS=@IMAGE_LIBS@
63IMAGE_CFLAGS=@IMAGE_CFLAGS@
64GTK_CFLAGS=@GTK_CFLAGS@
65GTK_LIBS=@GTK_LIBS@
66REP_CFLAGS=@REP_CFLAGS@
67REP_LIBS=@REP_LIBS@
68AUDIOFILE_CFLAGS=@AUDIOFILE_CFLAGS@
69AUDIOFILE_LIBS=@AUDIOFILE_LIBS@
70ESD_CFLAGS=@ESD_CFLAGS@
71ESD_LIBS=@ESD_LIBS@
72LINGUAS=@LINGUAS@
73INTL_LIBS=@INTL_LIBS@
74
75DESTDIR=
76INSTALL=@INSTALL@
77INSTALL_DATA=@INSTALL_DATA@
78INSTALL_PROGRAM=@INSTALL_PROGRAM@
79INSTALL_SCRIPT=@INSTALL_SCRIPT@
80
81.PHONY: clean realclean install
82
83repexecdir=@REP_EXECDIR@
84include $(repexecdir)/rules.mk
85
86%.o : %.c
87        $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
88
89% : %.c
90        $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
91
92# This rule builds dependancy files from C source files.
93.%.d : %.c
94        $(SHELL) -ec '$(MAKEDEP) $(CPPFLAGS) $(CFLAGS) $< \
95        | sed '\''s/$*\.o/& $*.lo .$*\.d/g'\'' > $@'
96
97# Always use GNU gettext implementation
98REP_MSGFMT=@REP_MSGFMT@
99
100# used when compiling/running lisp code
101REP_ENVIRON=REP_DL_LOAD_PATH=$(top_builddir)/src/.libexec \
102            REP_GTK_DONT_INITIALIZE=1
103
104%.mo : %.po
105        $(REP_MSGFMT) $(MSGFMTFLAGS) -o $@ $<
Note: See TracBrowser for help on using the repository browser.