Cross Reference: Makefile
xref
: /
solaris-x11-s11
/
open-src
/
lib
/
DPS
/
sun-src
/
libdpstk
/
Makefile
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
Makefile revision 824
824
N/A
###############################################################################
824
N/A
#
824
N/A
# libdpstk Makefile
824
N/A
#
824
N/A
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
824
N/A
# Use is subject to license terms.
824
N/A
#
824
N/A
# Permission is hereby granted, free of charge, to any person obtaining a
824
N/A
# copy of this software and associated documentation files (the
824
N/A
# "Software"), to deal in the Software without restriction, including
824
N/A
# without limitation the rights to use, copy, modify, merge, publish,
824
N/A
# distribute,
and
/
or
sell copies of the Software, and to permit persons
824
N/A
# to whom the Software is furnished to do so, provided that the above
824
N/A
# copyright notice(s) and this permission notice appear in all copies of
824
N/A
# the Software and that both the above copyright notice(s) and this
824
N/A
# permission notice appear in supporting documentation.
824
N/A
#
824
N/A
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
824
N/A
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
824
N/A
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
824
N/A
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
824
N/A
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
824
N/A
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
824
N/A
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
824
N/A
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
824
N/A
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
824
N/A
#
824
N/A
# Except as contained in this notice, the name of a copyright holder
824
N/A
# shall not be used in advertising or otherwise to promote the sale, use
824
N/A
# or other dealings in this Software without prior written authorization
824
N/A
# of the copyright holder.
824
N/A
#
824
N/A
#ident "@(#)Makefile 1.1 09/11/09 SMI"
824
N/A
#
824
N/A
824
N/A
# Manual conversion of the X11R6.9
xc
/
lib
/
dpstk
/
Imakefile
824
N/A
824
N/A
LDPRELIB
= -L . -L ../
libdps
-L ../
libpsres
824
N/A
DPSTKLIBS
=
$(
LDPRELIB
)
-
ldps
-
lXt
-
lX11
-
lm
-
lc
824
N/A
DPSTKXMLIBS
=
$(
LDPRELIB
)
-
ldpstk
-
lpsres
-
ldps
-
L
/
usr
/
dt
/
lib
-
lXm
$(
DPSTKLIBS
)
824
N/A
824
N/A
PSWRAP
= ../
pswrap
/
pswrap
824
N/A
824
N/A
INCLUDES
=
$(
MOTIFINCLUDES
)
824
N/A
824
N/A
MOTIFSRCS
=
FSBwraps.c
FontSample.c
FontSB.c
FontCreato.c
\
824
N/A
CSBwraps.c
ColorSB.c
DSWwraps.c
DPSScrollW.c
824
N/A
MOTIFOBJS
=
FSBwraps.o
FontSample.o
FontSB.o
FontCreato.o
\
824
N/A
CSBwraps.o
ColorSB.o
DSWwraps.o
DPSScrollW.o
824
N/A
824
N/A
RESPATH
=
NULL
824
N/A
DEFINES
= -
DDEFAULT_RESOURCE_PATH
=\"${
RESPATH
}\"
824
N/A
824
N/A
DERIVED_FILES
=
FSBwraps.c
FSBwraps.h
XDPSpwraps.c
XDPSpwraps.h
\
824
N/A
XDPSswraps.c
XDPSswraps.h
CSBwraps.c
CSBwraps.h
\
824
N/A
DSWwraps.c
DSWwraps.h
824
N/A
824
N/A
SRCS
=
XDPSpwraps.c
XDPSswraps.c
XDPSshare.c
XDPSpreview.c
\
824
N/A
XDPSuserpath.c
824
N/A
824
N/A
OBJS
=
XDPSpwraps.o
XDPSswraps.o
XDPSshare.o
XDPSpreview.o
\
824
N/A
XDPSuserpath.o
824
N/A
824
N/A
CC
=
cc
824
N/A
CPPFLAGS
+=
$(
DEFINES
)
-I ../
include
$(
INCLUDES
)
824
N/A
CFLAGS
+= -
Kpic
824
N/A
SHLIBLDFLAGS
= -G -z
defs
$(
LDFLAGS
)
824
N/A
824
N/A
# Inspired by automake 1.11 silent rules - hides details by default
824
N/A
# Run make V=1 to show details
824
N/A
DEFAULT_V
=
0
824
N/A
V_CC
=
$(
V_CC_
$(V)
)
824
N/A
V_CC_
=
$(
V_CC_
$(
DEFAULT_V
)
)
824
N/A
V_CC_0
= @
echo
" CC "
$@;
824
N/A
V_PSWRAP
=
$(
V_PSWRAP_
$(V)
)
824
N/A
V_PSWRAP_
=
$(
V_PSWRAP_
$(
DEFAULT_V
)
)
824
N/A
V_PSWRAP_0
= @
echo
" PSWRAP"
$@;
824
N/A
824
N/A
all
::
$(
SRCS
)
$(
MOTIFSRCS
)
824
N/A
824
N/A
.
SUFFIXES
: .
psw
824
N/A
824
N/A
.psw.c
:
824
N/A
$(
V_PSWRAP
)
$(
PSWRAP
)
-o $*.c -a -f $*.h -h $*.h $<
824
N/A
824
N/A
.c.o
:
824
N/A
$(
V_CC
)
$(
CC
)
$(
CFLAGS
)
$(
CPPFLAGS
)
-c
$(
OUTPUT_OPTION
)
$<
824
N/A
824
N/A
all
::
libdpstk.so
.
5
libdpstk.so
824
N/A
824
N/A
libdpstk.so
.
5
:
$(
SRCS
)
$(
OBJS
)
mapfile-vers.dpstk
824
N/A
$(
V_CC
)
$(
CC
)
$(
CDEBUGFLAGS
)
-o $@
$(
SHLIBLDFLAGS
)
-M
mapfile-vers.dpstk
$(
OBJS
)
$(
DPSTKLIBS
)
824
N/A
824
N/A
libdpstk.so
:
libdpstk.so
.
5
824
N/A
-${
RM
}
libdpstk.so
824
N/A
ln
-s
libdpstk.so
.
5
libdpstk.so
824
N/A
824
N/A
all
::
libdpstkXm.so
.
5
libdpstkXm.so
824
N/A
824
N/A
libdpstkXm.so
.
5
:
libdpstk.so
$(
MOTIFSRCS
)
$(
MOTIFOBJS
)
mapfile-vers.dpstkXm
824
N/A
$(
V_CC
)
$(
CC
)
$(
CDEBUGFLAGS
)
-o $@
$(
SHLIBLDFLAGS
)
-M
mapfile-vers.dpstkXm
$(
MOTIFOBJS
)
$(
DPSTKXMLIBS
)
824
N/A
824
N/A
libdpstkXm.so
:
libdpstkXm.so
.
5
824
N/A
-${
RM
}
libdpstkXm.so
824
N/A
ln
-s
libdpstkXm.so
.
5
libdpstkXm.so
824
N/A
824
N/A
clean
::
824
N/A
${
RM
}
$(
DERIVED_FILES
)
$(
MOTIFOBJS
)
$(
OBJS
)
824
N/A
824
N/A
install
:
all
824
N/A
$(
INSTALL
)
libdpstk.so
.
5
$(
DESTDIR
)
$(
libdir
)
/
libdpstk.so
.
5
824
N/A
$(
INSTALL
)
libdpstkXm.so
.
5
$(
DESTDIR
)
$(
libdir
)
/
libdpstkXm.so
.
5
824
N/A
$(
INSTALL
)
ColorSelect.ad
$(
DESTDIR
)
$(
libdir
)
/
X11
/
app-defaults
/
ColorSelect
824
N/A
$(
INSTALL
)
FontSelect.ad
$(
DESTDIR
)
$(
libdir
)
/
X11
/
app-defaults
/
FontSelect