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 965
851
N/A
###############################################################################
851
N/A
#
851
N/A
# libdpstk Makefile
851
N/A
#
1265
N/A
# Copyright (c) 2009, 2010, Oracle
and
/
or
its affiliates. All rights reserved.
851
N/A
#
851
N/A
# Permission is hereby granted, free of charge, to any person obtaining a
919
N/A
# copy of this software and associated documentation files (the "Software"),
919
N/A
# to deal in the Software without restriction, including without limitation
919
N/A
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919
N/A
#
and
/
or
sell copies of the Software, and to permit persons to whom the
919
N/A
# Software is furnished to do so, subject to the following conditions:
919
N/A
#
919
N/A
# The above copyright notice and this permission notice (including the next
919
N/A
# paragraph) shall be included in all copies or substantial portions of the
919
N/A
# Software.
919
N/A
#
919
N/A
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919
N/A
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919
N/A
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919
N/A
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919
N/A
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919
N/A
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919
N/A
# DEALINGS IN THE SOFTWARE.
851
N/A
#
851
N/A
#
851
N/A
851
N/A
# Manual conversion of the X11R6.9
xc
/
lib
/
dpstk
/
Imakefile
851
N/A
851
N/A
LDPRELIB
= -L . -L ../
libdps
-L ../
libpsres
851
N/A
DPSTKLIBS
=
$(
LDPRELIB
)
-
ldps
-
lX11
-
lm
-
lc
1276
N/A
DPSTKXMLIBS
=
$(
LDPRELIB
)
-
ldpstk
-
lpsres
-
ldps
-
L
/
usr
/
dt
/
lib
-
lXm
-
lXt
$(
DPSTKLIBS
)
851
N/A
911
N/A
PSWRAP
= ../
pswrap
/
pswrap
1276
N/A
1276
N/A
INCLUDES
=
$(
MOTIFINCLUDES
)
1276
N/A
911
N/A
MOTIFSRCS
=
FSBwraps.c
FontSample.c
FontSB.c
FontCreato.c
\
851
N/A
CSBwraps.c
ColorSB.c
DSWwraps.c
DPSScrollW.c
851
N/A
MOTIFOBJS
=
FSBwraps.o
FontSample.o
FontSB.o
FontCreato.o
\
851
N/A
CSBwraps.o
ColorSB.o
DSWwraps.o
DPSScrollW.o
851
N/A
851
N/A
RESPATH
=
NULL
1179
N/A
DEFINES
= -
DDEFAULT_RESOURCE_PATH
=\"${
RESPATH
}\"
851
N/A
851
N/A
DERIVED_FILES
=
FSBwraps.c
FSBwraps.h
XDPSpwraps.c
XDPSpwraps.h
\
1196
N/A
XDPSswraps.c
XDPSswraps.h
CSBwraps.c
CSBwraps.h
\
1196
N/A
DSWwraps.c
DSWwraps.h
1196
N/A
1196
N/A
SRCS
=
XDPSpwraps.c
XDPSswraps.c
XDPSshare.c
XDPSpreview.c
\
1196
N/A
XDPSuserpath.c
1196
N/A
1196
N/A
OBJS
=
XDPSpwraps.o
XDPSswraps.o
XDPSshare.o
XDPSpreview.o
\
851
N/A
XDPSuserpath.o
1088
N/A
1088
N/A
CC
=
cc
1088
N/A
CPPFLAGS
+=
$(
DEFINES
)
-I ../
include
$(
INCLUDES
)
1088
N/A
CFLAGS
+= -
Kpic
1088
N/A
SHLIBLDFLAGS
= -G -z
defs
$(
LDFLAGS
)
-R
$(
libdir
)
851
N/A
1097
N/A
# Inspired by automake 1.11 silent rules - hides details by default
1097
N/A
# Run make V=1 to show details
1097
N/A
DEFAULT_V
=
0
1097
N/A
V_CC
=
$(
V_CC_
$(V)
)
1097
N/A
V_CC_
=
$(
V_CC_
$(
DEFAULT_V
)
)
851
N/A
V_CC_0
= @
echo
" CC "
$@;
851
N/A
V_PSWRAP
=
$(
V_PSWRAP_
$(V)
)
1088
N/A
V_PSWRAP_
=
$(
V_PSWRAP_
$(
DEFAULT_V
)
)
1088
N/A
V_PSWRAP_0
= @
echo
" PSWRAP"
$@;
1088
N/A
1088
N/A
all
::
$(
SRCS
)
$(
MOTIFSRCS
)
1088
N/A
1088
N/A
.
SUFFIXES
: .
psw
1088
N/A
1088
N/A
.psw.c
:
$(
V_PSWRAP
)
$(
PSWRAP
)
-o $*.c -a -f $*.h -h $*.h $<
.c.o
:
$(
V_CC
)
$(
CC
)
$(
CFLAGS
)
$(
CPPFLAGS
)
-c
$(
OUTPUT_OPTION
)
$<
all
::
libdpstk.so
.
5
libdpstk.so
libdpstk.so
.
5
:
$(
SRCS
)
$(
OBJS
)
mapfile-vers.dpstk
$(
V_CC
)
$(
CC
)
$(
CDEBUGFLAGS
)
-o $@ -h $@
$(
SHLIBLDFLAGS
)
-M
mapfile-vers.dpstk
$(
OBJS
)
$(
DPSTKLIBS
)
libdpstk.so
:
libdpstk.so
.
5
-${
RM
}
libdpstk.so
ln
-s
libdpstk.so
.
5
libdpstk.so
all
::
libdpstkXm.so
.
5
libdpstkXm.so
libdpstkXm.so
.
5
:
libdpstk.so
$(
MOTIFSRCS
)
$(
MOTIFOBJS
)
mapfile-vers.dpstkXm
$(
V_CC
)
$(
CC
)
$(
CDEBUGFLAGS
)
-o $@ -h $@
$(
SHLIBLDFLAGS
)
-M
mapfile-vers.dpstkXm
$(
MOTIFOBJS
)
$(
DPSTKXMLIBS
)
libdpstkXm.so
:
libdpstkXm.so
.
5
-${
RM
}
libdpstkXm.so
ln
-s
libdpstkXm.so
.
5
libdpstkXm.so
clean
::
${
RM
}
$(
DERIVED_FILES
)
$(
MOTIFOBJS
)
$(
OBJS
)
install
:
all
$(
INSTALL
)
libdpstk.so
.
5
$(
DESTDIR
)
$(
libdir
)
/
libdpstk.so
.
5
$(
INSTALL
)
libdpstkXm.so
.
5
$(
DESTDIR
)
$(
libdir
)
/
libdpstkXm.so
.
5
$(
INSTALL
)
-m
0444
ColorSelect.ad
\
$(
DESTDIR
)
$(
datadir
)
/
X11
/
app-defaults
/
ColorSelect
$(
INSTALL
)
-m
0444
FontSelect.ad
\
$(
DESTDIR
)
$(
datadir
)
/
X11
/
app-defaults
/
FontSelect