gcc-6: don't ship info pages
[unleashed-userland.git] / components / trousers / Makefile
blob4c8c30fc8e49bde8dbc6f1a9babc25f94d1b625b
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2012-2013, Igor Kozhukhov <ikozhukhov@gmail.com>. All rights reserved.
22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
25 include ../../make-rules/shared-macros.mk
27 COMPONENT_NAME= trousers
28 COMPONENT_VERSION= 0.3.11.2
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
31 COMPONENT_PROJECT_URL= http://sourceforge.net/projects/trousers/files/trousers/
32 COMPONENT_ARCHIVE_HASH= \
33 sha256:8a96f924836187e406161f797b709ea52ade6c89ceffe489f7254b51088938d5
34 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)0.3.11/$(COMPONENT_ARCHIVE)
36 include ../../make-rules/prep.mk
37 include ../../make-rules/configure.mk
38 include ../../make-rules/ips.mk
40 LIBS = -lnsl -lsocket -lgen
41 CFLAGS += -DSOLARIS -DBI_OPENSSL -D_REENTRANT
43 LDFLAGS += $(CC_BITS)
45 CONFIGURE_OPTIONS += --with-gui=openssl
46 CONFIGURE_OPTIONS += LD="$(CC)"
47 CONFIGURE_OPTIONS += LIBS="$(LIBS)"
49 COMPONENT_POST_CONFIGURE_ACTION = (cd $(COMPONENT_SRC); \
50 for f in `ls src/include/tss/*.h` ; do \
51 /usr/bin/dos2unix $$f $$f; \
52 done; \
53 for f in `ls src/include/trousers/*.h` ; do \
54 /usr/bin/dos2unix $$f $$f; \
55 done; \
56 for f in `ls src/include/*.h` ; do \
57 /usr/bin/dos2unix $$f $$f; \
58 done; \
59 /usr/bin/libtoolize -f; \
60 $(ACLOCAL); \
61 $(AUTOMAKE) src/tspi/Makefile; \
62 $(AUTOCONF))
64 COMPONENT_TEST_TARGETS =
66 COMPONENT_BUILD_TARGETS = all
68 # common targets
69 build: $(BUILD_32_and_64)
71 install: $(INSTALL_32_and_64)
73 test: $(NO_TESTS)
75 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
77 include ../../make-rules/depend.mk