equal
deleted
inserted
replaced
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.11 09/01/14 |
31 # @(#)Makefile 1.12 09/03/04 |
32 # |
32 # |
33 |
33 |
34 # Package name used in tarballs |
34 # Package name used in tarballs |
35 MODULE_NAME=MesaDemos |
35 MODULE_NAME=MesaDemos |
36 |
36 |
81 ### Rules specific to this directory: |
81 ### Rules specific to this directory: |
82 |
82 |
83 # Only care about building X demos |
83 # Only care about building X demos |
84 DEMOS_DIR=$(SOURCE_DIR)/progs/xdemos |
84 DEMOS_DIR=$(SOURCE_DIR)/progs/xdemos |
85 |
85 |
|
86 DEMO_LDFLAGS=$(PROG_LDFLAGS) -L$(PROTODIR)$(X11_DIR)/lib$(ARCHLIBSUBDIR) |
|
87 |
|
88 # Workaround 6724478 libc printf should not SEGV when passed NULL for %s format |
|
89 DEMO_LDFLAGS += /usr/lib$(ARCHLIBSUBDIR)/[email protected] |
|
90 |
86 # Flags passed on make command line when building |
91 # Flags passed on make command line when building |
87 MODULE_BUILD_MAKEFLAGS = \ |
92 MODULE_BUILD_MAKEFLAGS = LDFLAGS="$(DEMO_LDFLAGS)" |
88 LDFLAGS="$(PROG_LDFLAGS) -L$(PROTODIR)$(X11_DIR)/lib$(ARCHLIBSUBDIR)" |
|
89 |
93 |
90 # Use configuration generated by Mesa library build |
94 # Use configuration generated by Mesa library build |
91 $(SOURCE_DIR)/configs/current: $(UNPACK_TARGET) |
95 $(SOURCE_DIR)/configs/current: $(UNPACK_TARGET) |
92 mkdir -p $(SOURCE_DIR)/configs |
96 mkdir -p $(SOURCE_DIR)/configs |
93 (cd $(SOURCE_DIR)/configs && \ |
97 (cd $(SOURCE_DIR)/configs && \ |