1
#ident @(#)rules.inc 1.3 04/01/23
2
###########################################################################
3
# Written 1999 by J. Schilling
4
###########################################################################
6
# Rules for creating include files (usually found in .../incs/machdir)
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)
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.
19
# You should have received a copy of the GNU General Public License along with
20
# this program; see the file COPYING. If not, write to the Free Software
21
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
###########################################################################
23
include $(SRCROOT)/$(RULESDIR)/rules.obj
24
###########################################################################
26
PTARGET= $(OINCSDIR)/$(TARGET)
27
PTARGETC= $(ARCHDIR)/$(TARGETC)
29
_INSMODEI= $(_UNIQ)$(INSMODE)
30
__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF))
31
INSMODEI= $(__INSMODEI:$(_UNIQ)%=%)
33
all: $(PTARGETC) $(PTARGET)
35
$(PTARGETC): $(OFILES) $(SRCLIBS)
36
$(LDCC) -o $@ $(POFILES) $(LDFLAGS) $(LDLIBS)
38
$(PTARGET): $(OINCSDIR) $(PTARGETC)
39
@echo " ==> GENERATING include file \"$@\""; $(PTARGETC) > $@
41
###########################################################################
42
include $(SRCROOT)/$(RULESDIR)/rules.clr
43
include $(SRCROOT)/$(RULESDIR)/rules.ins
44
include $(SRCROOT)/$(RULESDIR)/rules.tag
45
include $(SRCROOT)/$(RULESDIR)/rules.hlp
46
include $(SRCROOT)/$(RULESDIR)/rules.dep
47
###########################################################################