Changeset 639
- Timestamp:
- 12/02/09 22:30:02 (14 years ago)
- Location:
- branches/smartreader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/CMakeLists.txt
r581 r639 160 160 set (exe_name "oscam") 161 161 add_executable (${exe_name} ${exe_srcs} ${exe_hdrs}) 162 target_link_libraries (${exe_name} ${csoscam} ${csmodules} ${csreaders} csctapi cscrypt pthread )162 target_link_libraries (${exe_name} ${csoscam} ${csmodules} ${csreaders} csctapi cscrypt pthread m) 163 163 if (HAVE_AES) 164 164 target_link_libraries (${exe_name} crypto) -
branches/smartreader/Makefile
r581 r639 60 60 @-$(MAKE) --no-print-directory \ 61 61 -f Maketype TYP=$(subst i386,$(shell uname --machine),$(subst cross-,,$@)) \ 62 OS_LIBS="-lcrypto " \62 OS_LIBS="-lcrypto -lm" \ 63 63 OS_CULI="-lncurses" \ 64 64 OS_PTLI="-lpthread" \ … … 81 81 @-$(MAKE) --no-print-directory \ 82 82 -f Maketype TYP=$(subst cross-,,$@) \ 83 OS_LIBS="-lcrypto " \83 OS_LIBS="-lcrypto -lm" \ 84 84 OS_CULI="-lncurses" \ 85 85 OS_PTLI="-lpthread" \ … … 103 103 @-$(MAKE) --no-print-directory \ 104 104 -f Maketype TYP=$(subst cross-,,$@) \ 105 OS_LIBS=" " \105 OS_LIBS="-lm" \ 106 106 OS_CULI="-lncurses" \ 107 107 OS_PTLI="-lpthread" \ … … 124 124 @-$(MAKE) --no-print-directory \ 125 125 -f Maketype TYP=$(subst cross-,,$@) \ 126 OS_LIBS=" " \126 OS_LIBS="-lm" \ 127 127 OS_CULI="-lncurses" \ 128 128 OS_PTLI="-lpthread" \ … … 145 145 @-$(MAKE) --no-print-directory \ 146 146 -f Maketype TYP=$(subst cross-,,$@) \ 147 OS_LIBS="-lcrypto -ldl " \147 OS_LIBS="-lcrypto -ldl -lm" \ 148 148 OS_CULI="-lncurses" \ 149 149 OS_PTLI="-lpthread" \ … … 161 161 @-$(MAKE) --no-print-directory \ 162 162 -f Maketype TYP=$(subst cross-,,$@) \ 163 OS_LIBS=" " \163 OS_LIBS="-lm" \ 164 164 OS_CULI="-lncurses" \ 165 165 OS_PTLI="-lpthread" \ … … 183 183 @-$(MAKE) --no-print-directory \ 184 184 -f Maketype TYP=$(subst cross-,,$@) \ 185 OS_LIBS="-lcrypto " \185 OS_LIBS="-lcrypto -lm" \ 186 186 OS_CULI="-lncurses" \ 187 187 OS_PTLI="-lpthread" \ … … 204 204 @-$(MAKE) --no-print-directory \ 205 205 -f Maketype TYP=$(subst cross-,,$@) \ 206 OS_LIBS="-lcrypto " \206 OS_LIBS="-lcrypto -lm" \ 207 207 OS_CULI="-lncurses" \ 208 208 OS_PTLI="-lpthread" \ … … 225 225 @-$(MAKE) --no-print-directory \ 226 226 -f Maketype TYP=$(subst cross-,,$@) \ 227 OS_LIBS="-lcrypto " \227 OS_LIBS="-lcrypto -lm" \ 228 228 OS_CULI="-lncurses" \ 229 229 OS_PTLI="-lpthread" \ … … 246 246 @-$(MAKE) --no-print-directory \ 247 247 -f Maketype TYP=$(subst cross-,,$@) \ 248 OS_LIBS=" " \248 OS_LIBS="-lm" \ 249 249 OS_CULI="-lncurses" \ 250 250 OS_PTLI="-lpthread" \ … … 267 267 @-$(MAKE) --no-print-directory \ 268 268 -f Maketype TYP=$(subst cross-,,$@) \ 269 OS_LIBS="-lcrypto -lnsl " \269 OS_LIBS="-lcrypto -lnsl -lm" \ 270 270 OS_CULI="-lncurses" \ 271 271 OS_PTLI="-lpthread" \ … … 288 288 @-$(MAKE) --no-print-directory \ 289 289 -f Maketype TYP=$(subst cross-,,$@) \ 290 OS_LIBS=" " \290 OS_LIBS="-lm" \ 291 291 OS_CULI="-lncurses" \ 292 292 OS_PTLI="-lpthreads" \ … … 309 309 @-$(MAKE) --no-print-directory \ 310 310 -f Maketype TYP=$(subst cross-,,$@) \ 311 OS_LIBS=" " \311 OS_LIBS="-lm" \ 312 312 OS_CULI="-lncurses" \ 313 313 OS_PTLI="-lpthread" \ … … 332 332 @-$(MAKE) --no-print-directory \ 333 333 -f Maketype TYP=$(subst cross-,,$@) \ 334 OS_LIBS=" " \334 OS_LIBS="-lm" \ 335 335 OS_CULI="-lncurses" \ 336 336 OS_PTLI="-lpthread" \ … … 354 354 @-$(MAKE) --no-print-directory \ 355 355 -f Maketype TYP=$(subst cross-,,$@) \ 356 OS_LIBS=" " \356 OS_LIBS="-lm" \ 357 357 OS_CULI="-lncurses" \ 358 358 OS_PTLI="-lpthread" \ … … 376 376 @-$(MAKE) --no-print-directory \ 377 377 -f Maketype TYP=$(subst cross-,,$@) \ 378 OS_LIBS="-lcrypto " \378 OS_LIBS="-lcrypto -lm" \ 379 379 OS_CULI="-lncurses" \ 380 380 OS_PTLI="-lpthread" \ … … 398 398 @-$(MAKE) --no-print-directory \ 399 399 -f Maketype TYP=$(subst cross-,,$@) \ 400 OS_LIBS="-lcrypto " \400 OS_LIBS="-lcrypto -lm" \ 401 401 OS_CULI="-lncurses" \ 402 402 OS_PTLI="-lpthread" \ … … 419 419 @-$(MAKE) --no-print-directory \ 420 420 -f Maketype TYP=$(subst cross-,,$@) \ 421 OS_LIBS="-Lopenssl-lib -lcrypto " \421 OS_LIBS="-Lopenssl-lib -lcrypto -lm" \ 422 422 OS_CULI="-lncurses" \ 423 423 OS_PTLI="-lpthread" \ … … 440 440 @-$(MAKE) --no-print-directory \ 441 441 -f Maketype TYP=$(subst cross-,,$@) \ 442 OS_LIBS="-lcrypto " \442 OS_LIBS="-lcrypto -lm" \ 443 443 OS_CULI="-lncurses" \ 444 444 OS_PTLI="-lpthread" \ … … 456 456 @-$(MAKE) --no-print-directory \ 457 457 -f Maketype TYP=$(subst cross-,,$@) \ 458 OS_LIBS="-lcrypto " \458 OS_LIBS="-lcrypto -lm" \ 459 459 OS_CULI="-lncurses" \ 460 460 OS_PTLI="-lpthread" \ … … 477 477 @-$(MAKE) --no-print-directory \ 478 478 -f Maketype TYP=$(subst cross-,,$@) \ 479 OS_LIBS=" " \479 OS_LIBS="-lm" \ 480 480 OS_CULI="-lncurses" \ 481 481 OS_PTLI="-lpthread" \ … … 498 498 @-$(MAKE) --no-print-directory \ 499 499 -f Maketype TYP=$(subst cross-,,$@) \ 500 OS_LIBS=" " \500 OS_LIBS="-lm" \ 501 501 OS_CULI="-lncurses" \ 502 502 OS_PTLI="-lpthread" \ … … 520 520 @-$(MAKE) --no-print-directory \ 521 521 -f Maketype TYP="$(subst cross-,,$@)" \ 522 OS_LIBS=" " \522 OS_LIBS="-lm" \ 523 523 OS_CULI="-lncurses" \ 524 524 OS_PTLI="-lpthread" \ … … 542 542 -$(MAKE) --no-print-directory \ 543 543 -f Maketype TYP="$(subst cross-,,$@)" \ 544 OS_LIBS=" " \544 OS_LIBS="-lm" \ 545 545 OS_CULI="-lncurses" \ 546 546 OS_PTLI="-lpthread" \ … … 564 564 -$(MAKE) --no-print-directory \ 565 565 -f Maketype TYP="$(subst cross-,,$@)" \ 566 OS_LIBS=" " \566 OS_LIBS="-lm" \ 567 567 OS_CULI="-lncurses" \ 568 568 OS_PTLI="-lpthread" \
Note:
See TracChangeset
for help on using the changeset viewer.