~ubuntu-branches/ubuntu/utopic/cdrdao/utopic

« back to all changes in this revision

Viewing changes to scsilib/RULES/rules.inc

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Suffield
  • Date: 2004-06-24 22:33:16 UTC
  • Revision ID: james.westby@ubuntu.com-20040624223316-534onzugaeeyq61j
Tags: upstream-1.1.9
ImportĀ upstreamĀ versionĀ 1.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ident @(#)rules.inc    1.3 04/01/23 
 
2
###########################################################################
 
3
# Written 1999 by J. Schilling
 
4
###########################################################################
 
5
#
 
6
# Rules for creating include files (usually found in .../incs/machdir)
 
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 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
###########################################################################
 
25
 
 
26
PTARGET=        $(OINCSDIR)/$(TARGET)
 
27
PTARGETC=       $(ARCHDIR)/$(TARGETC)
 
28
 
 
29
_INSMODEI=      $(_UNIQ)$(INSMODE)
 
30
__INSMODEI=     $(_INSMODEI:$(_UNIQ)=$(INSMODEF))
 
31
INSMODEI=       $(__INSMODEI:$(_UNIQ)%=%)
 
32
 
 
33
all:            $(PTARGETC) $(PTARGET)
 
34
 
 
35
$(PTARGETC):    $(OFILES) $(SRCLIBS)
 
36
                $(LDCC) -o $@ $(POFILES) $(LDFLAGS) $(LDLIBS)
 
37
 
 
38
$(PTARGET):     $(OINCSDIR) $(PTARGETC)
 
39
                @echo " ==> GENERATING include file \"$@\""; $(PTARGETC) > $@
 
40
 
 
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
###########################################################################