open-src/Makefile
changeset 380 bd6a6bdd1d17
parent 235 06772554f851
child 430 ea58bd4d59b0
equal deleted inserted replaced
379:eace111d21de 380:bd6a6bdd1d17
     1 # Makefile for X Consolidation Open Source bits
     1 # Makefile for X Consolidation Open Source bits
     2 #
     2 #
     3 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     3 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     4 # Use subject to license terms.
     4 # Use subject to license terms.
     5 #
     5 #
     6 # Permission is hereby granted, free of charge, to any person obtaining a
     6 # Permission is hereby granted, free of charge, to any person obtaining a
     7 # copy of this software and associated documentation files (the
     7 # copy of this software and associated documentation files (the
     8 # "Software"), to deal in the Software without restriction, including
     8 # "Software"), to deal in the Software without restriction, including
    26 # Except as contained in this notice, the name of a copyright holder
    26 # Except as contained in this notice, the name of a copyright holder
    27 # shall not be used in advertising or otherwise to promote the sale, use
    27 # shall not be used in advertising or otherwise to promote the sale, use
    28 # or other dealings in this Software without prior written authorization
    28 # or other dealings in this Software without prior written authorization
    29 # of the copyright holder.
    29 # of the copyright holder.
    30 #
    30 #
    31 # @(#)Makefile	1.18	07/10/10
    31 # @(#)Makefile	1.19	08/03/25
    32 #
    32 #
    33 ###############################################################################
    33 ###############################################################################
    34 #
    34 #
    35 # Modules in this makefile are divided into 2 sections - those that need to
    35 # Modules in this makefile are divided into 2 sections - those that need to
    36 # be built before the X11 monolithic tree (because it depends on them) and 
    36 # be built before the X11 monolithic tree (because it depends on them) and 
    89 	$(MAKE) $(MFLAGS) subdirs OS_TARGET=download OS_SUBDIRS=BEFOREX
    89 	$(MAKE) $(MFLAGS) subdirs OS_TARGET=download OS_SUBDIRS=BEFOREX
    90 
    90 
    91 afterX-download:
    91 afterX-download:
    92 	$(MAKE) $(MFLAGS) subdirs OS_TARGET=download OS_SUBDIRS=AFTERX
    92 	$(MAKE) $(MFLAGS) subdirs OS_TARGET=download OS_SUBDIRS=AFTERX
    93 
    93 
       
    94 source:
       
    95 	$(MAKE) $(MFLAGS) subdirs OS_TARGET=source OS_SUBDIRS=ALL
       
    96 
    94 subdirs:
    97 subdirs:
    95 	@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
    98 	@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
    96 	for i in $($(OS_SUBDIRS)) ;\
    99 	for i in $($(OS_SUBDIRS)) ;\
    97 	do \
   100 	do \
    98 	(cd $$i ; echo "## making" $(OS_TARGET) "in open-src/$$i..."; \
   101 	(cd $$i ; echo "## making" $(OS_TARGET) "in open-src/$$i..."; \