xref: /illumos-gate/usr/src/lib/libfru/Makefile.obj (revision d48be21240dfd051b689384ce2b23479d757f2d8)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26#
27# define all the common stuff here for all the different platforms we are
28# building on.
29#
30
31LIBRARYCCC=	libfru.a
32VERS=		.1
33
34MAINOBJS=	Parser.o \
35		PayloadReader.o \
36		libfru.o \
37		Ancestor.o
38
39YACCOBJS=	nameSyntaxYacc.o
40LEXOBJS=	nameSyntaxLex.o
41
42GENUTOBJS=	Str.o
43
44OBJECTS=	$(MAINOBJS) \
45		$(YACCOBJS) \
46		$(LEXOBJS) \
47		$(GENUTOBJS)
48
49MAINSRCS=	$(MAINOBJS:%.o=./libfru/%.cc)
50YACCSRCS=	$(YACCOBJS:%.o=./libfru/%.y)
51LEXSRCS=	$(LEXOBJS:%.o=./libfru/%.l)
52GENUTSRCS=	$(GENUTOBJS:%.o=./libgenutil/%.cc)
53
54SRCS=		$(MAINSRCS) \
55		$(YACCSRCS) \
56		$(LEXSRCS) \
57		$(GENUTSRCS)
58
59# include common Makefiles
60include ../../Makefile.lib
61
62# There should be a mapfile here
63MAPFILES =
64