Cross Reference: /illumos-gate/usr/src/cmd/rpld/Makefile
Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# CDDL HEADER START
a67d2c414677a2a830d09cafaab1817dcc9a1bc5vboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# The contents of this file are subject to the terms of the
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# Common Development and Distribution License (the "License").
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# You may not use this file except in compliance with the License.
56343f236d9d7c0e3d2b75e23f0f5575dc77f2e3vboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# or http://www.opensolaris.org/os/licensing.
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# See the License for the specific language governing permissions
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# and limitations under the License.
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# When distributing Covered Code, include this CDDL HEADER in each
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# If applicable, add the following below this CDDL HEADER, with the
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# CDDL HEADER END
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# Use is subject to license terms.
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync# cmd/rpld/Makefile
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync#
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
23179f1443b03947d85eccc81cbc6b5153a4abf3vboxsyncPROG= rpld
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsyncCONFILE= rpld.conf
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
a1b4fb3917412d2632d358ff8989f1ec971f2d5bvboxsyncOBJS= rpld.o llcsetup.o debug.o sighandler.o params.o \
a1b4fb3917412d2632d358ff8989f1ec971f2d5bvboxsync clientop.o rplin.o rplout.o
a1b4fb3917412d2632d358ff8989f1ec971f2d5bvboxsync
a1b4fb3917412d2632d358ff8989f1ec971f2d5bvboxsyncLIBOBJS= dl_open.o dl_bind.o dl_snd.o dl_rcv.o dl_addr.o dl_close.o \
b8fd81de50b7bb11e7556e2e509175ef81275287vboxsync dl_unbind.o dl_attach.o dl_info.o dl_error.o
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
b8fd81de50b7bb11e7556e2e509175ef81275287vboxsyncrplin.o := CFLAGS += -_gcc=-Wno-return-type
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
9c4db1ec29ae24ea273ed699cd94a8877e407624vboxsyncLIBDLA= libdla.a
9c4db1ec29ae24ea273ed699cd94a8877e407624vboxsync
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsyncLIBS= $(LIBDLA) -lsocket
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsyncARFLAGS= r
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsyncCLOBBERFILES= $(LIBDLA)
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsyncinclude ../Makefile.cmd
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
a5224d14bb71df1d2da62ff9e4b0598ed5d2d85fvboxsync$(ROOTETC)/$(CONFILE):= FILEMODE = 644
a5224d14bb71df1d2da62ff9e4b0598ed5d2d85fvboxsync
a5224d14bb71df1d2da62ff9e4b0598ed5d2d85fvboxsyncCPPFLAGS += -I.
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync
a5224d14bb71df1d2da62ff9e4b0598ed5d2d85fvboxsync.KEEP_STATE:
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsyncall: $(PROG)
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
57b49c1557a310ee615bc0ee79dd2a2e92319a1bvboxsync$(PROG): $(OBJS) $(LIBDLA)
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(LIBS)
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync $(POST_PROCESS)
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync$(LIBDLA): $(LIBOBJS)
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync $(AR) $(ARFLAGS) $(LIBDLA) $?
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync $(POST_PROCESS_A)
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsync
06067a5d98f6a5d64c908d7d9e79bfde9054d1bbvboxsyncinstall: all $(ROOTUSRSBINPROG) $(ROOTETC)/$(CONFILE)
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsyncclean:
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync $(RM) $(OBJS) $(LIBOBJS)
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsynclint: lint_PROG
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsyncinclude ../Makefile.targ
a9f530691071e3496b072915b0c5ceabd4e05ea5vboxsync