36 TPNO= 17705 |
36 TPNO= 17705 |
37 |
37 |
38 TEST_TARGET= $(NO_TESTS) |
38 TEST_TARGET= $(NO_TESTS) |
39 include $(WS_MAKE_RULES)/common.mk |
39 include $(WS_MAKE_RULES)/common.mk |
40 |
40 |
|
41 # Ensure CC-based linking does not embed runpaths. |
|
42 LDFLAGS += $(studio_NORUNPATH) |
|
43 |
41 # don't use LD_Z_IGNORE: causes linker problems |
44 # don't use LD_Z_IGNORE: causes linker problems |
42 LD_Z_IGNORE= |
45 LD_Z_IGNORE= |
43 |
46 |
44 # cups has an unusual hybrid-build system to support 32-bit and 64-bit |
47 # cups has an unusual hybrid-build system to support 32-bit and 64-bit |
45 # libraries in a single build; avoid confusing it by stripping $(CC_BITS) from |
48 # libraries in a single build; avoid confusing it by stripping $(CC_BITS) from |
49 CFLAGS.stripped := $(patsubst -m32,,$(CFLAGS)) |
52 CFLAGS.stripped := $(patsubst -m32,,$(CFLAGS)) |
50 CFLAGS= $(CFLAGS.stripped) |
53 CFLAGS= $(CFLAGS.stripped) |
51 CXXFLAGS.stripped := $(patsubst -m32,,$(CXXFLAGS)) |
54 CXXFLAGS.stripped := $(patsubst -m32,,$(CXXFLAGS)) |
52 CXXFLAGS= $(CXXFLAGS.stripped) |
55 CXXFLAGS= $(CXXFLAGS.stripped) |
53 |
56 |
|
57 CONFIGURE_ENV += "ac_cv_search_getifaddrs=no" |
|
58 CONFIGURE_ENV += "ac_cv_func_statfs=no" |
|
59 # Ensure dynamic shared objects are linked using same LDFLAGS as executables. |
|
60 CONFIGURE_ENV += DSOFLAGS="$(LDFLAGS)" |
|
61 |
54 CONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR) |
62 CONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR) |
55 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
63 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
56 CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
64 CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
57 CONFIGURE_OPTIONS += --with-fontpath=/usr/openwin/lib |
65 CONFIGURE_OPTIONS += --with-fontpath=$(USRSHAREFONTSDIR) |
58 CONFIGURE_OPTIONS += --with-logdir=$(VARDIR)/log/cups |
66 CONFIGURE_OPTIONS += --with-logdir=$(VARDIR)/log/cups |
59 CONFIGURE_OPTIONS += --with-domainsocket=$(VARDIR)/run/cups-socket |
67 CONFIGURE_OPTIONS += --with-domainsocket=$(VARDIR)/run/cups-socket |
60 CONFIGURE_OPTIONS += --with-smfmanifestdir=$(LIBDIR)/svc/manifest/application |
68 CONFIGURE_OPTIONS += --with-smfmanifestdir=$(LIBDIR)/svc/manifest/application |
61 CONFIGURE_OPTIONS += --with-printcap=$(ETCDIR)/printers.conf |
69 CONFIGURE_OPTIONS += --with-printcap=$(ETCDIR)/printers.conf |
62 CONFIGURE_OPTIONS += --with-cups-user=lp |
70 CONFIGURE_OPTIONS += --with-cups-user=lp |
69 CONFIGURE_OPTIONS += --enable-dbus |
77 CONFIGURE_OPTIONS += --enable-dbus |
70 CONFIGURE_OPTIONS += --enable-threads |
78 CONFIGURE_OPTIONS += --enable-threads |
71 CONFIGURE_OPTIONS += --enable-64bit |
79 CONFIGURE_OPTIONS += --enable-64bit |
72 CONFIGURE_OPTIONS += --enable-auditing |
80 CONFIGURE_OPTIONS += --enable-auditing |
73 CONFIGURE_OPTIONS += --without-php |
81 CONFIGURE_OPTIONS += --without-php |
74 |
|
75 CONFIGURE_OPTIONS += ARCH64FLAGS=-m64 |
|
76 CONFIGURE_OPTIONS += DSO64FLAGS="$(LDLIBS) -G" |
|
77 CONFIGURE_OPTIONS += "ac_cv_search_getifaddrs=no" |
|
78 CONFIGURE_OPTIONS += "ac_cv_func_statfs=no" |
|
79 |
82 |
80 $(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)" |
83 $(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)" |
81 |
84 |
82 PATCH_LEVEL = 0 |
85 PATCH_LEVEL = 0 |
83 |
86 |