open-src/lib/libXaw/Makefile
changeset 761 9a43833314f0
parent 606 068c11b419c9
child 810 6f94d3da0552
equal deleted inserted replaced
760:7c47c7633a24 761:9a43833314f0
     1 ###############################################################################
     1 ###############################################################################
     2 #
     2 #
     3 # Xaw Makefile
     3 # Xaw Makefile
     4 #
     4 #
     5 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     5 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     6 # Use subject to license terms.
     6 # Use is subject to license terms.
     7 #
     7 #
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     9 # copy of this software and associated documentation files (the
     9 # copy of this software and associated documentation files (the
    10 # "Software"), to deal in the Software without restriction, including
    10 # "Software"), to deal in the Software without restriction, including
    11 # without limitation the rights to use, copy, modify, merge, publish,
    11 # without limitation the rights to use, copy, modify, merge, publish,
    28 # Except as contained in this notice, the name of a copyright holder
    28 # Except as contained in this notice, the name of a copyright holder
    29 # shall not be used in advertising or otherwise to promote the sale, use
    29 # shall not be used in advertising or otherwise to promote the sale, use
    30 # or other dealings in this Software without prior written authorization
    30 # or other dealings in this Software without prior written authorization
    31 # of the copyright holder.
    31 # of the copyright holder.
    32 #
    32 #
    33 # @(#)Makefile	1.5	09/01/14
    33 # @(#)Makefile	1.6	09/07/31
    34 #
    34 #
    35 
    35 
    36 # Package name used in tarballs
    36 # Package name used in tarballs
    37 MODULE_NAME=libXaw
    37 MODULE_NAME=libXaw
    38 
    38 
    39 # Version number (used in path names)
    39 # Version number (used in path names)
    40 MODULE_VERSION=1.0.4
    40 MODULE_VERSION=1.0.6
    41 
    41 
    42 # Patches to apply to source after unpacking, in order
    42 # Patches to apply to source after unpacking, in order
    43 SOURCE_PATCHES=
    43 SOURCE_PATCHES=
    44 
    44 
    45 # Library name
    45 # Library name
    56 
    56 
    57 # pkg-config files that need to have -R added
    57 # pkg-config files that need to have -R added
    58 FIX_PC_FILES=xaw7.pc.in
    58 FIX_PC_FILES=xaw7.pc.in
    59 
    59 
    60 # Additional arguments to pass to configure
    60 # Additional arguments to pass to configure
    61 # We only ship libXaw.so.7 right now, since we don't need to maintain binary
    61 # We only ship libXaw.so.7, since we don't need to maintain binary
    62 # compatibility with the libXaw.so.6 version we never shipped, and never
    62 # compatibility with the libXaw.so.6 version we never shipped, and never
    63 # started shipping the now-dropped-by-X.Org libXaw.so.8 (Xaw + Xprint)
    63 # started shipping the now-dropped-by-X.Org libXaw.so.8 (Xaw + Xprint)
    64 MODULE_CONFIG_OPTS= --disable-xaw6 --disable-xaw8
    64 MODULE_CONFIG_OPTS= --disable-xaw6
       
    65 
       
    66 # Remove existing Xaw headers from proto area before build to avoid conflicts
       
    67 MODULE_BUILD_DEPS = remove-old-headers
    65 
    68 
    66 include ../Makefile.inc
    69 include ../Makefile.inc
    67 
    70 
       
    71 remove-old-headers:
       
    72 	rm -rf $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xaw