41 # Testing libcoolkey... DONE. Status = 0 |
41 # Testing libcoolkey... DONE. Status = 0 |
42 # then you have a finished test and results. |
42 # then you have a finished test and results. |
43 # Search for "failed" in testoutput.log to see the actual failures, then |
43 # Search for "failed" in testoutput.log to see the actual failures, then |
44 # review any failed messages to determine if the test ran successfully or not. |
44 # review any failed messages to determine if the test ran successfully or not. |
45 |
45 |
46 BUILD_BITS= 64 |
46 BUILD_BITS= 64_and_32 |
47 include ../../make-rules/shared-macros.mk |
47 include ../../make-rules/shared-macros.mk |
48 |
48 |
49 COMPONENT_NAME= coolkey |
49 COMPONENT_NAME= coolkey |
50 COMPONENT_VERSION= 1.1.0 |
50 COMPONENT_VERSION= 1.1.0 |
51 COMPONENT_PROJECT_URL= http://pki.fedoraproject.org/wiki/CoolKey |
51 COMPONENT_PROJECT_URL= http://pki.fedoraproject.org/wiki/CoolKey |
57 TPNO = 25487 |
57 TPNO = 25487 |
58 |
58 |
59 include $(WS_MAKE_RULES)/common.mk |
59 include $(WS_MAKE_RULES)/common.mk |
60 |
60 |
61 # configuration related patch needs aclocal to be regenerated |
61 # configuration related patch needs aclocal to be regenerated |
62 COMPONENT_PREP_ACTION +=(cd $(@D); autoconf); |
62 COMPONENT_PREP_ACTION += (cd $(@D); autoconf); |
63 |
63 |
64 # do not add the SUNWspro area to the RUNPATH |
64 # Do not add the SUNWspro area to the RUNPATH. Follow exactly what CC does. |
65 LD_UNSET += "-R$(SPRO_VROOT)/lib/$(MACH64)" |
65 LD_UNSET.32.i386 = -R$(SPRO_VROOT)/lib |
66 COMPONENT_BUILD_ENV += LD_UNSET="$(LD_UNSET)" |
66 LD_UNSET.32.sparc = -R$(SPRO_VROOT)/lib/$(MACH):$(SPRO_VROOT)/lib |
67 COMPONENT_INSTALL_ENV += LD_UNSET="$(LD_UNSET)" |
67 LD_UNSET.32 = $(LD_UNSET.32.$(MACH)) |
|
68 LD_UNSET.64 = -R$(SPRO_VROOT)/lib/$(MACH64) |
|
69 LD_UNSET += $(LD_UNSET.$(BITS)) |
|
70 COMPONENT_BUILD_ENV += LD_UNSET="$(LD_UNSET)" |
|
71 COMPONENT_INSTALL_ENV += LD_UNSET="$(LD_UNSET)" |
|
72 |
|
73 # Propagate correct LDFLAGS to the linking phase. |
|
74 LDFLAGS += $(CC_BITS) |
|
75 COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)" |
|
76 COMPONENT_INSTALL_ARGS += LDFLAGS="$(LDFLAGS)" |
68 |
77 |
69 # requires PC/SC headers and library |
78 # requires PC/SC headers and library |
70 CONFIGURE_ENV += PCSC_CFLAGS="-I$(USRINCDIR)/PCSC" |
79 CONFIGURE_ENV += PCSC_CFLAGS="-I$(USRINCDIR)/PCSC" |
71 CONFIGURE_ENV += PCSC_LIBS="-lpcsclite" |
80 CONFIGURE_ENV += PCSC_LIBS="-lpcsclite" |
72 |
81 |