6758301 Hexedit to be included into SFW consolidation

   1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # ident "@(#)Makefile   1.141   08/10/16 SMI"
  27 #
  28 
  29 #
  30 # pkgdefs/Makefile
  31 #
  32 
  33 include $(SRC)/Makefile.master
  34 
  35 sparc_SUBDIRS=
  36 
  37 i386_SUBDIRS= 
  38 
  39 COMMON_SUBDIRS= \
  40         SUNW0sfw \
  41         SUNWa2psr \
  42         SUNWa2psu \
  43         SUNWaconf \
  44         SUNWapchd \
  45         SUNWapchr \
  46         SUNWapchu \
  47         SUNWapr13lib \
  48         SUNWapr13dev \
  49         SUNWapr13doc \
  50         SUNWapu13lib \
  51         SUNWapu13dev \
  52         SUNWapu13doc \
  53         SUNWapu13dbd-mysql \
  54         SUNWapu13dbd-pgsql \
  55         SUNWapu13dbd-sqlite \
  56         SUNWapu13-ldap \
  57         SUNWapch22d \
  58         SUNWapch22r \
  59         SUNWapch22u \
  60         SUNWapch22m-php52 \
  61         SUNWapch22r-php52 \
  62         SUNWapch22m-fcgid \
  63         SUNWapch22r-fcgid \
  64         SUNWapch22m-jk \
  65         SUNWapch22r-jk \
  66         SUNWapch22m-security \
  67         SUNWapch22r-security \
  68         SUNWapch22m-dtrace \
  69         SUNWapch22r-dtrace \
  70         SUNWant \
  71         SUNWbash \
  72         SUNWbcc \
  73         SUNWbinutils \
  74         SUNWbison \
  75         SUNWbzip \
  76         SUNWcupsr \
  77         SUNWcupsu \
  78         SUNWcurl \
  79         SUNWcvs \
  80         SUNWerlang \
  81         SUNWerlang-doc \
  82         SUNWexpect \
  83         SUNWunzip \
  84         SUNWdvdrw \
  85         SUNWfetchmail \
  86         SUNWffiltersr \
  87         SUNWffiltersu \
  88         SUNWflexlex \
  89         SUNWflexruntime \
  90         SUNWfppd \
  91         SUNWgawk \
  92         SUNWgcc \
  93         SUNWgccruntime \
  94         SUNWgcmn \
  95         SUNWgdb \
  96         SUNWgd2 \
  97         SUNWghostscriptr \
  98         SUNWghostscriptu \
  99         SUNWgimpprint \
 100         SUNWgpch \
 101         SUNWggrp \
 102         SUNWgm4 \
 103         SUNWgmake \
 104         SUNWgnu-automake-19 \
 105         SUNWgnu-automake-110 \
 106         SUNWgnu-coreutils \
 107         SUNWgnu-diffutils \
 108         SUNWgnu-emacs \
 109         SUNWgnu-emacs-el \
 110         SUNWgnu-emacs-gtk \
 111         SUNWgnu-emacs-nox \
 112         SUNWgnu-emacs-x \
 113         SUNWgnu-gettext \
 114         SUNWgnu-idn \
 115         SUNWgnu-mc \
 116         SUNWgnu-gperf \
 117         SUNWgnu-which \
 118         SUNWgsed \
 119         SUNWgsfot \
 120         SUNWgsfst \
 121         SUNWgtar \
 122         SUNWGlib \
 123         SUNWGtkr \
 124         SUNWGtku \
 125         SUNWgzip \
 126         SUNWhexedit \
 127         SUNWhpijs \
 128         SUNWilmbase \
 129         SUNWimagick \
 130         SUNWipmi \
 131         SUNWipmir \
 132         SUNWircii \
 133         SUNWjruby \
 134         SUNWlcms \
 135         SUNWless \
 136         SUNWlexpt \
 137         SUNWlftpr \
 138         SUNWlftpu \
 139         SUNWlibevent \
 140         SUNWlibmemcached \
 141         SUNWlibmng \
 142         SUNWlibnet \
 143         SUNWlibopenusb \
 144         SUNWlibpcap \
 145         SUNWlibrsync \
 146         SUNWlibtool \
 147         SUNWlinks \
 148         SUNWlogrotater \
 149         SUNWlogrotateu \
 150         SUNWlighttpd14r \
 151         SUNWlighttpd14u \
 152         SUNWltdl \
 153         SUNWlxml \
 154         SUNWlxmlr \
 155         SUNWlxml-devel \
 156         SUNWlxml-python \
 157         SUNWlxsl \
 158         SUNWlxsl-devel \
 159         SUNWlxsl-python \
 160         SUNWmeld \
 161         SUNWmemcached \
 162         SUNWmemcachedr \
 163         SUNWmemcached-java \
 164         SUNWmercurial \
 165         SUNWmkcd \
 166         SUNWmkcdr \
 167         SUNWmtx \
 168         SUNWmutt \
 169         SUNWmuttr \
 170         SUNWmysqlr \
 171         SUNWmysqlt \
 172         SUNWmysqlu \
 173         SUNWmysql5u     \
 174         SUNWmysql5r     \
 175         SUNWmysql5test  \
 176         SUNWmysql5jdbc \
 177         SUNWncft \
 178         SUNWneon \
 179         SUNWnethack \
 180         SUNWnethackr \
 181         SUNWnmap \
 182         SUNWopenexr \
 183         SUNWp7zip \
 184         SUNWpampkcs11r \
 185         SUNWpampkcs11u \
 186         SUNWpampkcs11-docs \
 187         SUNWpcre \
 188         SUNWpgadmin3 \
 189         SUNWpgbouncer-pg83-config \
 190         SUNWpgbouncer-pg83-server \
 191         SUNWphp52d \
 192         SUNWphp52u \
 193         SUNWphp52r \
 194         SUNWphp52u-mysql \
 195         SUNWphp52r-mysql \
 196         SUNWphp52u-pear \
 197         SUNWphp52r-pear \
 198         SUNWphp52u-pgsql \
 199         SUNWphp52r-pgsql \
 200         SUNWpmdbi \
 201         SUNWpmdbdpg \
 202         SUNWpostgr \
 203         SUNWpostgr-contrib \
 204         SUNWpostgr-devel \
 205         SUNWpostgr-docs \
 206         SUNWpostgr-jdbc \
 207         SUNWpostgr-libs \
 208         SUNWpostgr-pl \
 209         SUNWpostgr-server \
 210         SUNWpostgr-server-data \
 211         SUNWpostgr-tcl \
 212         SUNWpostgr-82-client \
 213         SUNWpostgr-82-contrib \
 214         SUNWpostgr-82-devel \
 215         SUNWpostgr-82-docs \
 216         SUNWpostgr-82-libs \
 217         SUNWpostgr-82-pl \
 218         SUNWpostgr-82-server \
 219         SUNWpostgr-82-server-data-root \
 220         SUNWpostgr-82-jdbc \
 221         SUNWpostgr-82-tcl \
 222         SUNWpostgr-83-client \
 223         SUNWpostgr-83-contrib \
 224         SUNWpostgr-83-devel \
 225         SUNWpostgr-83-docs \
 226         SUNWpostgr-83-libs \
 227         SUNWpostgr-83-pl \
 228         SUNWpostgr-83-server \
 229         SUNWpostgr-83-server-data-root \
 230         SUNWpostgr-83-tcl \
 231         SUNWpostgr-83-tests \
 232         SUNWpostgr-upgrade \
 233         SUNWprivoxyr \
 234         SUNWprivoxyu \
 235         SUNWprocmail \
 236         SUNWpsutils \
 237         SUNWpycups \
 238         SUNWrpm \
 239         SUNWrsync \
 240         SUNWruby18u \
 241         SUNWruby18r \
 242         SUNWsane-backendr \
 243         SUNWsane-backendu \
 244         SUNWsane-frontend \
 245         SUNWscreen \
 246         SUNWscreenrc \
 247         SUNWserr \
 248         SUNWseru \
 249         SUNWserweb \
 250         SUNWsfdoc \
 251         SUNWsfinf \
 252         SUNWsfman \
 253         SUNWsfwdemo \
 254         SUNWsfwhea \
 255         SUNWslang \
 256         SUNWslangr \
 257         SUNWsmbar \
 258         SUNWsmbau \
 259         SUNWsnack \
 260         SUNWsqlite3 \
 261         SUNWsqlite3docs \
 262         SUNWsqlite3tcl \
 263         SUNWsquidr \
 264         SUNWsquidu \
 265         SUNWstunnelr \
 266         SUNWstunnelu \
 267         SUNWsudor \
 268         SUNWsudou \
 269         SUNWsvn \
 270         SUNWsvn-java \
 271         SUNWsvn-perl \
 272         SUNWsvn-python \
 273         SUNWswig \
 274         SUNWTcl \
 275         SUNWtcltls \
 276         SUNWtcatr \
 277         SUNWtcatu \
 278         SUNWtcsh \
 279         SUNWtexi \
 280         SUNWtidy \
 281         SUNWTk \
 282         SUNWtop \
 283         SUNWvim \
 284         SUNWwgetr \
 285         SUNWwgetu \
 286         SUNWzlib \
 287         SUNWzlibr \
 288         SUNWzip \
 289         SUNWzsh \
 290         SUNWsmmgr \
 291         SUNWsmagt \
 292         SUNWsmdoc \
 293         SUNWsmcmd \
 294         SUNWlibusb \
 295         SUNWlibusbugen \
 296         SUNWquaggar \
 297         SUNWquaggau \
 298         SUNWbind \
 299         SUNWbindr \
 300         SUNWslib \
 301         SUNWwebminu \
 302         SUNWwebminr \
 303         SUNWwxwidgets \
 304         SUNWwxwidgets-devel \
 305         SUNWusbccid \
 306         SUNWdiffstat
 307 
 308 # STUB_ON_SUBDIRS are directories that are placeholder stubs
 309 # for packages delivered by the ON consolidation. These directories
 310 # provide enough information about the files delivered by the real
 311 # package to allow protocmp to properly validate such dependencies.
 312 # However, no corresponding package is delivered.
 313 #
 314 # At the current time, this feature is used to allow use of
 315 # /usr/lib/isaexec from sfw.
 316 STUB_ON_SUBDIRS= \
 317         SUNWcsu
 318 
 319 SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) $(STUB_ON_SUBDIRS)
 320 
 321 all :=          TARGET= all
 322 install :=      TARGET= install
 323 install_h :=    TARGET= install_h
 324 clean :=        TARGET= clean
 325 clobber :=      TARGET= clobber
 326 
 327 %: %.ksh
 328         $(RM) $@
 329         cp $< $@
 330         chmod +x $@
 331 
 332 .KEEP_STATE:
 333 
 334 .PARALLEL: $(SUBDIRS)
 335 
 336 all: awk_pkginfo audit_pkg $(SUBDIRS)
 337 
 338 install: awk_pkginfo audit_pkg $(SUBDIRS) $(SFW_RUN_CHECK_DEPS) check_deps
 339 
 340 check_deps:
 341         @echo "\n==== Checking package dependencies ====\n"
 342         @if [ ! -d "$(SFW_PKGDB)" ]; then \
 343                 echo "error: SFW_PKGDB must be set"; \
 344         else ; \
 345                 echo $(SFW_CHECK_DEPS) $(SUBDIRS); \
 346                 $(SFW_CHECK_DEPS) $(SUBDIRS); \
 347         fi
 348 
 349 clean clobber: $(SUBDIRS)
 350         $(RM) awk_pkginfo bld_awk_pkginfo
 351 
 352 $(SUBDIRS): FRC
 353         @cd $@; pwd; $(MAKE) $(TARGET)
 354 
 355 awk_pkginfo: bld_awk_pkginfo
 356         ./bld_awk_pkginfo -m $(MACH) -p "$(SFWRELEASE)/$(SFWVERSION)" -o $@ \
 357         -v $(SFWVERS)
 358 
 359 
 360 FRC:
--- EOF ---