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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685
|
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.89 94/08/12 00:45:51 gildea Exp $
# -----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and </tmp/IIf.zPaaYF>
# $XConsortium: Imake.tmpl,v 1.219 94/05/13 15:58:31 matt Exp $
# $SunSoft: @(#)Imake.tmpl 1.1 01/13/97 16:16:22 $
#
# **************************************************************************
# NOTE:
#
# If the user does not define DESTDIR and/or BINDIR in the local Imakefile,
# 'make install' will install the resultant binaries in /usr/openwin/bin.
# This usually fails because of lack of write permission in that directory
# for non-root users.
#
# The reason is that the default definition of ProjectRoot is /usr/openwin.
# This value determines all other definitions, e.g. the binary, library and
# manual page directories, etc. The destination directory, DESTDIR, is not
# defined and BINDIR is defined as $(ProjectRoot)/bin in Project.tmpl.
#
# Care must be taken when changing ProjectRoot. It affects the inclusion
# path of 'imake' in finding the *.cf, *.def, *.tmpl and *.rules files,
# which are in /usr/openwin/lib/X11/config/, and the default inclusion path
# of X11 header files and libraries. Therefore, if ProjectRoot is changed
# not only these configuration files need to be copied to a proper location,
# defined by IRULESRC, so 'make Makefile' can work properly, the header file
# inclusion path, /usr/openwin/include, and the library search path,
# /usr/openwin/lib, also need to be defined properly either in the local
# Imakefile or one of the configuration files to avoid compilation errors
# for programs that use X11 header files or libraries.
#
# Please refer to Project.tmpl, Imake.tmpl, site.def, etc. in
# /usr/openwin/lib/X11/config/ for details.
# **************************************************************************
.SUFFIXES: .i
# $XConsortium: Imake.cf,v 1.12 94/03/29 15:42:08 gildea Exp $
# $SunSoft: @(#)Imake.cf 1.1 01/13/97 16:16:21 $
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.sample,v 1.11 94/06/03 19:50:12 matt Exp $
# site: $SunSoft: @(#)site.def 1.1 01/13/97 16:16:27$
# -----------------------------------------------------------------------
# platform-specific configuration parameters - edit sun.cf to change
# platform: $XConsortium: sun.cf,v 1.133 94/07/08 12:23:12 gildea Exp $
# platform: $SunSoft: @(#)sun.cf 1.5 08/25/99 12:27:05 $
# operating system: SunOS 5.8
# SUNSOFT SUNSOFT_LOADABLE
# $XConsortium: svr4.cf,v 1.6 94/04/08 18:56:33 rws Exp $
# $SunSoft: @(#)svr4.cf 1.1 01/13/97 16:16:29 $
# $XConsortium: sv4Lib.rules,v 1.14 94/04/09 12:00:10 rws Exp $
# $SunSoft: @(#)sv4Lib.rules 1.1 01/13/97 16:16:28 $
# SUNSOFT SUNSOFT_LOADABLE
TROFFTOPS = /usr/lib/lp/postscript/dpost | /usr/lib/lp/postscript/postreverse -r
# -----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.sample,v 1.11 94/06/03 19:50:12 matt Exp $
# site: $SunSoft: @(#)site.def 1.1 01/13/97 16:16:27$
# -----------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.193 94/04/10 17:39:55 rws Exp $
# rules: $SunSoft: @(#)Imake.rules 1.1 01/13/97 16:16:21 $
# SUNSOFT SUNSOFT_LOADABLE
PATHSEP = /
SHELL = /bin/sh
TOP = ..
CURRENT_DIR = snp
IMAKE = imake
DEPEND = makedepend
MKDIRHIER = mkdirhier
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/makedepend
IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx
IXX = ixx
IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf
IXXINCLUDES = -i '<X11/Fresco/enter-scope.h>'
INCROOT = /usr/openwin/include
USRLIBDIR = /usr/openwin/lib
SHLIBDIR = /usr/openwin/lib
LINTLIBDIR = $(USRLIBDIR)
MANPATH = /usr/openwin/share/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)1
LIBMANDIR = $(MANSOURCEPATH)3
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)
AR = /usr/ccs/bin/ar cq
BOOTSTRAPCFLAGS = -DSVR4
CC = gcc -fpcc-struct-return
AS = /usr/ccs/bin/as
.SUFFIXES: .cxx
CXX = CC
CXXDEBUGFLAGS = -O2
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXIDL_INCLUDES = -I$(TOP)/include
CXXSTD_DEFINES = -Dsun -Dsparc -DSVR4 -DSYSV
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) $(CXXIDL_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
COMPRESS = compress
CPP = /usr/ccs/lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fpcc-struct-return -E $(STD_CPP_DEFINES)
INSTALL = /usr/ucb/install
INSTALLFLAGS = -c
LD = /usr/ccs/bin/ld
LEX = /usr/ccs/bin/lex
LEXLIB = -ll
YACC = /usr/ccs/bin/yacc
CCYACC = /usr/ccs/bin/yacc
LINT = lint
LINTLIBFLAG = -o
LINTOPTS = -b -h -Xc
LN = ln -s
MAKE = /usr/ccs/bin/make
MV = mv
CP = cp
RM = rm -f
MANSUFFIX = 1
LIBMANSUFFIX = 3
FILEMANSUFFIX = 4
TROFF = troff -t -Tpost
MSMACROS = -ms
TBL = tbl
EQN = eqn
DVIPS = dvips
LATEX = latex
STD_INCLUDES =
STD_CPP_DEFINES = -Dsun -Dsparc -DSVR4 -DSYSV
STD_DEFINES = -Dsun -Dsparc -DSVR4 -DSYSV
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES = -lsocket -lnsl
TAGS = ctags
SHAREDCODEDEF =
SHLIBDEF =
SHLIBLDFLAGS = -G -z text -M mapfile
PICFLAGS = -Kpic
CXXPICFLAGS = -K PIC
PROTO_DEFINES =
INSTPGMFLAGS =
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0644
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -g sys -m 2755
PROJECTROOT = /usr/openwin
TOP_INCLUDES = -I$(INCROOT)
CDEBUGFLAGS = -O2
CCOPTIONS =
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = -L$(USRLIBDIR)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
CCENVSETUP = LD_RUN_PATH=$(USRLIBDIR)
CCLINK = $(CCENVSETUP) $(CC)
CXXENVSETUP = LD_RUN_PATH=$(USRLIBDIR)
CXXLINK = $(CXXENVSETUP) $(CXX)
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
MACROFILE = sun.cf
RM_CMD = $(RM)
IMAKE_DEFINES =
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Project.tmpl \
$(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) \
$(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
# -----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XConsortium: Project.tmpl,v 1.242 94/04/13 14:58:40 rws Exp $
# $SunSoft: @(#)Project.tmpl 1.4 12/15/98 10:56:11 $
# SUNSOFT SUNSOFT_LOADABLE
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
BINDIR = /usr/openwin/bin
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
BUILDLIBDIR = $(TOP)/usrlib
BUILDLIBTOP = ..
INCDIR = $(INCROOT)/X11
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
FONTDIR = $(LIBDIR)/fonts
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
NLSDIR = $(LIBDIR)/nls
XLOCALEDIR = $(PROJECTROOT)/lib/locale
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
RGB = rgb
FONTC = bdftopcf
MKFONTDIR = mkfontdir
DOCUTILSRC = $(TOP)/doc/util
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/programs/Xserver
CONTRIBSRC = $(TOP)/../contrib
UNSUPPORTEDSRC = $(TOP)/unsupported
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(TOP)/include/fonts
EXTINCSRC = $(TOP)/include/extensions
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
# $XConsortium: sunLib.tmpl,v 1.37 95/05/23 14:31:40 matt Exp $
# $SunSoft: @(#)sunLib.tmpl 1.2 02/06/97 16:06:36 $
# $XConsortium: sv4Lib.tmpl,v 1.19 93/12/03 10:48:36 kaleb Exp $
# $SunSoft: @(#)sv4Lib.tmpl 1.1 01/13/97 16:16:29 $
XMULIBONLY = -lXmu -lm
XMULIB = -lXmu -lm
SERVERLIB = /usr/openwin/server/lib
SERVERMODULES = /usr/openwin/server/modules
SERVERETC = /usr/openwin/server/etc
SHLIBLDFLAGS = -G -z text -M mapfile
PICFLAGS = -Kpic
MAPFILE = mapfile
XLIBSRC = $(LIBSRC)/X11
SOXLIBREV = 4
DEPXONLYLIB =
XONLYLIB = -lX11
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
XLIBONLY = $(XONLYLIB)
XEXTLIBSRC = $(LIBSRC)/Xext
SOXEXTREV = 0
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
XAUTHSRC = $(LIBSRC)/Xau
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
XMUSRC = $(LIBSRC)/Xmu
SOXMUREV = 4
DEPXMULIB =
XMULIB = -lXmu
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
XMULIB = -lXmu -lm
XCONFIGSRC = $(LIBSRC)/Xconfig
SOXCONFIGREV = 0
DEPXCONFIGLIB =
XCONFIGLIB = -lXconfig
LINTXCONFIG = $(LINTLIBDIR)/llib-lXconfig.ln
DGASRC = $(LIBSRC)/dga
SODGAREV = 1
DEPDGASRCLIB =
DGASRCLIB = -ldga
LINTDGASRC = $(LINTLIBDIR)/llib-ldga.ln
MISRC = $(SERVERSRC)/mi
SOMIREV = 1
DEPMILIB =
MILIB = -lmi
LINTMI = $(LINTLIBDIR)/llib-lmi.ln
MFBSRC = $(SERVERSRC)/mfb
SOMFBREV = 1
DEPMFBLIB =
MFBLIB = -lmfb
LINTMFB = $(LINTLIBDIR)/llib-lmfb.ln
CFBSRC = $(SERVERSRC)/cfb
SOCFBREV = 1
DEPCFBLIB =
CFBLIB = -lcfb
LINTCFB = $(LINTLIBDIR)/llib-lcfb.ln
OLDXLIBSRC = $(LIBSRC)/oldX
SOOLDXREV = 6
DEPOLDXLIB =
OLDXLIB = -loldX
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
TOOLKITSRC = $(LIBSRC)/Xt
SOXTREV = 4
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
AWIDGETSRC = $(LIBSRC)/Xaw
SOXAWREV = 5
DEPXAWLIB =
XAWLIB = -lXaw
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
XTFSRC = $(TOP)/workInProgress/Xtf
SOXTFREV = 0.7
DEPXTFLIB =
XTFLIB = -lXtf
LINTXTF = $(LINTLIBDIR)/llib-lXtf.ln
FRESCOSRC = $(TOP)/workInProgress/Fresco
SOFRESCOREV = 0.7
DEPFRESCOLIB =
FRESCOLIB = -lFresco
LINTFRESCO = $(LINTLIBDIR)/llib-lFresco.ln
XILIBSRC = $(LIBSRC)/Xi
SOXINPUTREV = 5
DEPXILIB =
XILIB = -lXi
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
XTESTLIBSRC = $(LIBSRC)/Xtst
SOXTESTREV = 1
DEPXTESTLIB =
XTESTLIB = -lXtst
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
PEXLIBSRC = $(LIBSRC)/PEX5
SOPEXREV = 6
DEPPEXLIB =
PEXLIB = -lPEX5
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
SODPSREV = 5
SOSERVERDPSREV = 5
DPSLIBSRC = $(LIBSRC)/DPS
SODPSREV = 5
DEPDPSLIB =
DPSLIB = -lDPS
LINTDPS = $(LINTLIBDIR)/llib-lDPS.ln
XIELIBSRC = $(LIBSRC)/XIE
SOXIEREV = 6
DEPXIELIB =
XIELIB = -lXIE
LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln
PHIGSLIBSRC = $(LIBSRC)/PHIGS
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
ICESRC = $(LIBSRC)/ICE
SOICEREV = 6
DEPICELIB =
ICELIB = -lICE
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
SMSRC = $(LIBSRC)/SM
SOSMREV = 6
DEPSMLIB =
SMLIB = -lSM
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
FSLIBSRC = $(LIBSRC)/FS
SOFSREV = 5
DEPFSLIB =
FSLIB = -lFS
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
FONTLIBSRC = $(LIBSRC)/font
DEPFONTLIB = $(USRLIBDIR)/libfont.a
FONTLIB = -lfont
LINTFONT = $(LINTLIBDIR)/llib-lfont.ln
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
CONFIGDIR = $(LIBDIR)/config
# -----------------------------------------------------------------------
# start of Imakefile
SRCS = \
strtod.c \
snprintf.c
HEADERS = formssnp.h
LIBNAME = formssnp
XFORMSLIBREV = 1.0
XFORMSLIBDIR = /usr/local
# Wrong Way! Go Back!
OPTFLAG = -O3
OBJS = $(SRCS:.c=.o)
EXTRA_INCLUDES =
BADFLOAT = -DBad_float_h
EXTRA_DEFINES = \
$(BADFLOAT)
PICFLAGS = -fPIC
CDEBUGFLAGS = -g
CCOPTIONS =
# $XConsortium: Library.tmpl,v 1.33 95/05/05 19:31:31 kaleb Exp $
# $SunSoft: @(#)Library.tmpl 1.1 01/13/97 16:16:23 $
CC = gcc -fpcc-struct-return
CCOPTIONS =
STD_DEFINES = -Dsun -Dsparc -DSVR4 -DSYSV
CDEBUGFLAGS = -O2
LIBNAME = formssnp
all::
$(_NULLCMD_)
$(_NULLCMD_)
$(_NULLCMD_)
includes::
$(_NULLCMD_)
$(_NULLCMD_)
$(_NULLCMD_)
.c.o:
$(_NULLCMD_)
$(_NULLCMD_)
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
$(_NULLCMD_)
clean::
$(_NULLCMD_)
$(_NULLCMD_)
$(_NULLCMD_)
all:: lib$(LIBNAME).a
lib$(LIBNAME).a: $(OBJS)
$(RM) $@
$(AR) $@ $(OBJS)
$(_NULLCMD_)
$(_NULLCMD_)
install:: lib$(LIBNAME).a
@if [ -d $(DESTDIR)$(USRLIBDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(USRLIBDIR)); fi
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) lib$(LIBNAME).a $(DESTDIR)$(USRLIBDIR)
$(_NULLCMD_)
lintlib:: llib-l$(LIBNAME).ln
llib-l$(LIBNAME).ln: $(SRCS)
$(RM) $@
$(LINT) $(LINTLIBFLAG)$(LIBNAME) $(LINTFLAGS) $(SRCS)
install.ln:: llib-l$(LIBNAME).ln
@if [ -d $(DESTDIR)$(LINTLIBDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(LINTLIBDIR)); fi
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) llib-l$(LIBNAME).ln $(DESTDIR)$(LINTLIBDIR)/llib-l$(LIBNAME).ln
includes::
@if [ -d $(BUILDINCDIR)/X11 ]; then set +x; \
else (set -x; $(MKDIRHIER) $(BUILDINCDIR)/X11); fi
@(set -x; cd $(BUILDINCDIR)/X11; for i in $(HEADERS); do \
$(RM) $$i; \
$(LN) $(BUILDINCTOP)/../$(CURRENT_DIR)/$$i .; \
done)
install:: $(HEADERS)
@if [ -d $(DESTDIR)$(INCDIR)/X11 ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(INCDIR)/X11); fi
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
for i in $(HEADERS); do \
(set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTINCFLAGS) $$i $(DESTDIR)$(INCDIR)/X11); \
done
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
SHLIBDIR = /usr/local/lib
# USRLIBDIR = /usr/local/lib
INCDIR = /usr/local/include
depend::
$(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
# -----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
emptyrule::
clean::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
Makefile::
-@if [ -f Makefile ]; then set -x; \
$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
else exit 0; fi
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
man_keywords::
catman -M $(DESTDIR)$(MANPATH) -w
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
install::
@echo "install in $(CURRENT_DIR) done"
install.man::
@echo "install.man in $(CURRENT_DIR) done"
Makefiles::
includes::
depend::
# -----------------------------------------------------------------------
# dependencies generated by makedepend
|