equal
deleted
inserted
replaced
1 # -*- Makefile -*- rules common to most X.Org font modules |
1 # -*- Makefile -*- rules common to most X.Org font modules |
2 # |
2 # |
3 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. |
4 # |
4 # |
5 # Permission is hereby granted, free of charge, to any person obtaining a |
5 # Permission is hereby granted, free of charge, to any person obtaining a |
6 # copy of this software and associated documentation files (the "Software"), |
6 # copy of this software and associated documentation files (the "Software"), |
7 # to deal in the Software without restriction, including without limitation |
7 # to deal in the Software without restriction, including without limitation |
8 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
8 # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
57 MODTYPE_CONFIG_OPTS += $(MODULE_FONTDIR:%=--with-fontdir="%") |
57 MODTYPE_CONFIG_OPTS += $(MODULE_FONTDIR:%=--with-fontdir="%") |
58 |
58 |
59 # Disable compression of pcf fonts |
59 # Disable compression of pcf fonts |
60 MODTYPE_CONFIG_OPTS += --without-compression |
60 MODTYPE_CONFIG_OPTS += --without-compression |
61 |
61 |
|
62 # Avoid races between modules that install to the same directory by not |
|
63 # running mkfontdir at build time, but waiting for later (either in the |
|
64 # sun-aliases module or during packaging in generate_font_metadata.pl). |
|
65 MODTYPE_CONFIG_OPTS += MKFONTDIR=/usr/bin/true |
|
66 |
62 # Most font modules have nothing to build, for those that do, use lib flags |
67 # Most font modules have nothing to build, for those that do, use lib flags |
63 MODTYPE_CFLAGS=$(LIB_CFLAGS) |
68 MODTYPE_CFLAGS=$(LIB_CFLAGS) |
64 MODTYPE_LDFLAGS=$(LIB_LDFLAGS) |
69 MODTYPE_LDFLAGS=$(LIB_LDFLAGS) |
65 MODTYPE_LD_OPTIONS= |
70 MODTYPE_LD_OPTIONS= |
66 |
71 |