1#ident @(#)Makefile	1.6 07/10/24
2###########################################################################
3# Written 1998 by J. Schilling
4###########################################################################
5# Makefile for local dynamic configuration
6###########################################################################
7# Copyright (c) J. Schilling
8###########################################################################
9# The contents of this file are subject to the terms of the
10# Common Development and Distribution License, Version 1.0 only
11# (the "License").  You may not use this file except in compliance
12# with the License.
13#
14# See the file CDDL.Schily.txt in this distribution for details.
15# A copy of the CDDL is also available via the Internet at
16# http://www.opensource.org/licenses/cddl1.txt
17#
18# When distributing Covered Code, include this CDDL HEADER in each
19# file and include the License file CDDL.Schily.txt from this distribution.
20###########################################################################
21SRCROOT=	..
22RULESDIR=	RULES
23include		$(SRCROOT)/$(RULESDIR)/rules.top
24###########################################################################
25
26CONFFILES=	Inull rules.cnf xconfig.h
27
28PCONFFILES=	$(CONFFILES:%=$(OINCSDIR)/%)
29
30_INSMODEI=	$(_UNIQ)$(INSMODE)
31__INSMODEI=	$(_INSMODEI:$(_UNIQ)=$(INSMODEF))
32INSMODEI=	$(__INSMODEI:$(_UNIQ)%=%)
33
34INSDIR=		include/schily/$(OARCH)
35TARGET=		xconfig.h
36PTARGET=	../incs/$(OARCH)/xconfig.h
37
38all: config
39
40clobber:
41	$(RM_F) $(PCONFFILES)
42
43distclean:
44		$(RM) $(RM_RF)		$(PCONFFILES) \
45						.vedtmp* *.bak OBJ/* \
46						$(SRCROOT)/libs/* $(SRCROOT)/incs/*
47
48XMK_FILE=	xconfig.mk
49
50###########################################################################
51# Now done in rules.top
52#include		$(SRCROOT)/$(RULESDIR)/rules.cnf
53include		$(SRCROOT)/$(RULESDIR)/rules.ins
54###########################################################################
55
56OTHERTARGETS=	clean ibins depend rmdep \
57		TAGS tags rmtarget relink
58
59$(OTHERTARGETS):
60	@echo "$@: nothing to make"
61