1
#ident "@(#)rules.lib 1.6 04/01/23 "
2
###########################################################################
3
# Written 1996 by J. Schilling
4
###########################################################################
6
# Rules for traditional libraries (libxxx.a)
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
###########################################################################
25
TARGET= $(LIB_PREFIX)$(TARGETLIB)$(LIB_SUFFIX)
26
TARGET_PATH= $(OLIBSDIR)
27
PTARGET= $(OLIBSDIR)/$(TARGET)
29
_INSMODEI= $(_UNIQ)$(INSMODE)
30
__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF))
31
INSMODEI= $(__INSMODEI:$(_UNIQ)%=%)
33
all: $(TARGET_PATH) $(PTARGET)
39
$(AR) $(ARFLAGS) $@ `$(LORDER) $(POFILES) | $(TSORT)`
42
###########################################################################
43
include $(SRCROOT)/$(RULESDIR)/rules.clr
44
include $(SRCROOT)/$(RULESDIR)/rules.ins
45
include $(SRCROOT)/$(RULESDIR)/rules.tag
46
include $(SRCROOT)/$(RULESDIR)/rules.hlp
47
include $(SRCROOT)/$(RULESDIR)/rules.dep
48
###########################################################################