~ubuntu-branches/ubuntu/hoary/cdrtools/hoary

« back to all changes in this revision

Viewing changes to RULES/local.cnf

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2002-04-09 10:03:06 UTC
  • Revision ID: james.westby@ubuntu.com-20020409100306-t4hagiv7gm0fhggv
Tags: upstream-1.10
ImportĀ upstreamĀ versionĀ 1.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ident @(#)local.cnf    1.3 01/02/25 
 
2
###########################################################################
 
3
# Written 1998 by J. Schilling
 
4
###########################################################################
 
5
#
 
6
# Make Rules for local dynamic configuration
 
7
#
 
8
###########################################################################
 
9
# This program is free software; you can redistribute it and/or modify
 
10
# it under the terms of the GNU General Public License as published by
 
11
# the Free Software Foundation; either version 2, or (at your option)
 
12
# any later version.
 
13
#
 
14
# This program is distributed in the hope that it will be useful,
 
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
# GNU General Public License for more details.
 
18
#
 
19
# You should have received a copy of the GNU General Public License
 
20
# along with this program; see the file COPYING.  If not, write to
 
21
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
22
###########################################################################
 
23
 
 
24
#config: $(ARCHDIR)/local.cnf
 
25
 
 
26
$(ARCHDIR)/Inull:
 
27
        $(MKDIR) -p $(ARCHDIR)
 
28
        @echo > $@
 
29
 
 
30
$(ARCHDIR)/local.cnf $(ARCHDIR)/lconfig.h: $(ARCHDIR)/Inull \
 
31
                                                configure local.cnf.in lconfig.h.in
 
32
        $(RUL_LCONF)
 
33
 
 
34
###########################################################################
 
35
RUL_LCONF=      @echo " ==> CONFIGURING LOCAL RULES \"$@\""; $(RM_F) $@; \
 
36
                cd $(ARCHDIR); \
 
37
                CONFIG_NOFAIL=TRUE CC="$(XCCCOM)" CFLAGS="$(CFLAGS)" sh ../../configure $(CONFFLAGS)
 
38
###########################################################################
 
39
include $(ARCHDIR)/Inull
 
40
include $(ARCHDIR)/local.cnf
 
41
###########################################################################