Cross Reference: Makefile
xref
: /
solaris-x11-s11
/
open-src
/
lib
/
DPS
/
sun-src
/
libdpstk
/
Makefile
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1339
N/A
##############################################################################
824
N/A
#
824
N/A
# libdpstk Makefile
824
N/A
#
1339
N/A
# Copyright (c) 2009, 2013, Oracle
and
/
or
its affiliates. All rights reserved.
824
N/A
#
824
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.
824
N/A
#
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
965
N/A
DPSTKLIBS
=
$(
LDPRELIB
)
-
ldps
-
lX11
-
lm
-
lc
965
N/A
DPSTKXMLIBS
=
$(
LDPRELIB
)
-
ldpstk
-
lpsres
-
ldps
-
L
/
usr
/
dt
/
lib
-
lXm
-
lXt
$(
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
CPPFLAGS
+=
$(
DEFINES
)
-I ../
include
$(
INCLUDES
)
824
N/A
CFLAGS
+= -
Kpic
833
N/A
SHLIBLDFLAGS
= -G -z
defs
$(
LDFLAGS
)
-R
$(
libdir
)
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
1206
N/A
all
::
$(
SRCS
)
$(
MOTIFSRCS
)
$(
DERIVED_FILES
)
824
N/A
824
N/A
.
SUFFIXES
: .
psw
824
N/A
824
N/A
.psw.c
:
1206
N/A
$(
V_PSWRAP
)
$(
PSWRAP
)
-o $*.c -a -f $*.h $<
824
N/A
1206
N/A
.psw.h
:
1206
N/A
$(
V_PSWRAP
)
$(
PSWRAP
)
-h $*.h -a -f $*.h $< > /
dev
/
null
1206
N/A
1206
N/A
.c.o
: $*.h
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
833
N/A
$(
V_CC
)
$(
CC
)
$(
CDEBUGFLAGS
)
-o $@ -h $@
$(
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
833
N/A
$(
V_CC
)
$(
CC
)
$(
CDEBUGFLAGS
)
-o $@ -h $@
$(
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
963
N/A
$(
INSTALL
)
-m
0444
ColorSelect.ad
\
963
N/A
$(
DESTDIR
)
$(
datadir
)
/
X11
/
app-defaults
/
ColorSelect
963
N/A
$(
INSTALL
)
-m
0444
FontSelect.ad
\
963
N/A
$(
DESTDIR
)
$(
datadir
)
/
X11
/
app-defaults
/
FontSelect
1206
N/A
1222
N/A
ColorSB.o
:
CSBwraps.h
1222
N/A
CSBwraps.o
:
CSBwraps.h
1222
N/A
DPSScrollW.o
:
DSWwraps.h
1222
N/A
DSWwraps.o
:
DSWwraps.h
1222
N/A
FontCreato.o
:
FSBwraps.h
1222
N/A
FontSample.o
:
FSBwraps.h
1222
N/A
FontSB.o
:
FSBwraps.h
1222
N/A
FSBWraps.o
:
FSBwraps.h
1222
N/A
XDPSpreview.o
:
XDPSpwraps.h
1222
N/A
XDPSpwraps.o
:
XDPSpwraps.h
1222
N/A
XDPSshare.o
:
XDPSswraps.h
1222
N/A
XDPSswraps.o
:
XDPSswraps.h
1339
N/A
1339
N/A
.
NO_PARALLEL
:
$(
DERIVED_FILES
)
$(
MOTIFOBJS
)
$(
OBJS
)