49 lines
2.0 KiB
INI
49 lines
2.0 KiB
INI
#ident @(#)local.cnf 1.12 15/11/10
|
|
###########################################################################
|
|
# Written 1998-2014 by J. Schilling
|
|
###########################################################################
|
|
#
|
|
# Make Rules for local dynamic configuration
|
|
#
|
|
###########################################################################
|
|
# Copyright (c) J. Schilling
|
|
###########################################################################
|
|
# The contents of this file are subject to the terms of the
|
|
# Common Development and Distribution License, Version 1.0 only
|
|
# (the "License"). You may not use this file except in compliance
|
|
# with the License.
|
|
#
|
|
# See the file CDDL.Schily.txt in this distribution for details.
|
|
# A copy of the CDDL is also available via the Internet at
|
|
# http://www.opensource.org/licenses/cddl1.txt
|
|
#
|
|
# When distributing Covered Code, include this CDDL HEADER in each
|
|
# file and include the License file CDDL.Schily.txt from this distribution.
|
|
###########################################################################
|
|
|
|
configure: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 aclocal.m4 \
|
|
local.cnf.in lconfig.h.in
|
|
@echo " ==> AUTOCONFIGURING LOCAL \"$@\""; sh ./autoconf
|
|
|
|
#config: $(ARCHDIR)/local.cnf
|
|
|
|
$(ARCHDIR)/Inull:
|
|
$(MKDIR) -p $(ARCHDIR)
|
|
@echo > $@
|
|
|
|
$(ARCHDIR)/local.cnf $(ARCHDIR)/lconfig.h: $(LCONFIG_DEP) $(ARCHDIR)/Inull \
|
|
configure local.cnf.in lconfig.h.in
|
|
$(RUL_LCONF)
|
|
|
|
###########################################################################
|
|
RUL_LCONF= @echo " ==> CONFIGURING LOCAL RULES \"$@\""; \
|
|
$(RM_F) $(ARCHDIR)/local.cnf $(ARCHDIR)/lconfig.h; \
|
|
cd $(ARCHDIR); \
|
|
CONFIG_NOFAIL=TRUE CC="$(XCC_COM)" CFLAGS="$(CFLAGS)" \
|
|
CXXFLAGS="$(C++FLAGS)" CPPFLAGS="$(OS_DEFS)" \
|
|
LDFLAGS="$(LDOPTS)" sh $(INVERSE_SUBARCHDIR)../../configure $(CONFFLAGS)
|
|
###########################################################################
|
|
include $(ARCHDIR)/Inull
|
|
include $(ARCHDIR)/local.cnf
|
|
###########################################################################
|