equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 include ../../make-rules/shared-macros.mk |
24 include ../../make-rules/shared-macros.mk |
25 |
25 |
26 COMPONENT_NAME= trousers |
26 COMPONENT_NAME= trousers |
40 |
40 |
41 PATCH_LEVEL=0 |
41 PATCH_LEVEL=0 |
42 |
42 |
43 LIBS=-lnsl -lsocket -lgen |
43 LIBS=-lnsl -lsocket -lgen |
44 |
44 |
|
45 CONFIGURE_OPTIONS += --sbindir=/usr/lib |
45 CONFIGURE_OPTIONS += --with-gui=openssl |
46 CONFIGURE_OPTIONS += --with-gui=openssl |
46 CONFIGURE_OPTIONS += CC="$(CC)" |
47 CONFIGURE_OPTIONS += CC="$(CC)" |
47 CONFIGURE_OPTIONS += LD="$(CC)" |
48 CONFIGURE_OPTIONS += LD="$(CC)" |
48 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
49 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
49 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" |
50 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) -lpthread -lbsm -lscf -lresolv" |
50 CONFIGURE_OPTIONS += LIBS="$(LIBS)" |
51 CONFIGURE_OPTIONS += LIBS="$(LIBS)" |
|
52 |
|
53 # Enable ASLR for this component |
|
54 ASLR_MODE = $(ASLR_ENABLE) |
51 |
55 |
52 COMPONENT_POST_CONFIGURE_ACTION = (cd $(COMPONENT_SRC); \ |
56 COMPONENT_POST_CONFIGURE_ACTION = (cd $(COMPONENT_SRC); \ |
53 for f in `ls src/include/tss/*.h` ; do \ |
57 for f in `ls src/include/tss/*.h` ; do \ |
54 /usr/bin/dos2unix $$f $$f; \ |
58 /usr/bin/dos2unix $$f $$f; \ |
55 done; \ |
59 done; \ |