Changeset 91
- Timestamp:
- 10/02/06 11:28:16 (2 years ago)
- Location:
- trunk
- Files:
-
- 4 modified
-
Makefile (modified) (11 diffs)
-
Makefile_i386 (modified) (15 diffs)
-
Makefile_light (modified) (14 diffs)
-
Makefile_light_i386 (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r89 r91 66 66 rm -f package-pcscd_autostart 67 67 rm -rf compiled-pcscd_autostart 68 rm -f build-pcscd_autostart package-pcscd_autostart 68 rm -f build-pcscd_autostart package-pcscd_autostart 69 69 70 70 clean-opensc_tokend: … … 76 76 rm -f sca-$(SCAVERSION).dmg* 77 77 rm -rf sca.mpkg 78 78 79 79 clean-i386: 80 80 rm -rf compiled-*-i386 … … 105 105 # curl -O http://www.opensc-project.org/files/opensc/snapshots/$@ 106 106 # curl -O http://www.opensc-project.org/files/opensc/testing/$@ 107 107 108 108 libp11-$(LIBP11VERSION).tar.gz: 109 109 curl -O http://www.opensc-project.org/files/libp11/$@ … … 287 287 build-tokend-end: 288 288 hdiutil detach $(TOKEND_IMAGE_NAME) 289 289 290 290 build-pcscd_autostart: 291 291 mkdir compiled-pcscd_autostart 292 292 cp -R pcscd_autostart/files/* compiled-pcscd_autostart 293 293 touch $@ 294 294 295 295 lipo: lipo-openssl lipo-opensc lipo-engine lipo-libp11 lipo-openssh lipo-libusb lipo-ifd-egate 296 296 297 297 lipo-openssl: compiled-openssl-i386 298 298 cd compiled-openssl/Library/OpenSC/bin/ && \ … … 338 338 lipo -create libubsec.so ../../../../../compiled-openssl-i386/Library/OpenSC/lib/engines/libubsec.so -output libubsec_univ.so && \ 339 339 mv -f libubsec_univ.so libubsec.so 340 touch lipo-openssl340 touch $@ 341 341 342 342 lipo-opensc: compiled-opensc-i386 … … 404 404 lipo -create pkcs11-spy.a ../../../../compiled-opensc-i386/Library/OpenSC/lib/pkcs11-spy.a -output pkcs11-spy_univ.a && \ 405 405 mv -f pkcs11-spy_univ.a pkcs11-spy.a 406 touch lipo-opensc407 406 touch $@ 407 408 408 lipo-engine: compiled-engine-i386 409 409 cd compiled-engine/Library/OpenSC/lib/engines/ && \ … … 413 413 lipo -create engine_pkcs11.so ../../../../../compiled-engine-i386/Library/OpenSC/lib/engines/engine_pkcs11.so -output engine_pkcs11-univ.so && \ 414 414 mv -f engine_pkcs11-univ.so engine_pkcs11.so 415 touch lipo-engine416 415 touch $@ 416 417 417 lipo-libp11: compiled-libp11-i386 418 418 cd compiled-libp11/Library/OpenSC/lib/ && \ … … 422 422 lipo -create libp11.a ../../../../compiled-libp11-i386/Library/OpenSC/lib/libp11.a -output libp11-univ.a && \ 423 423 mv -f libp11-univ.a libp11.a 424 touch lipo-libp11425 424 touch $@ 425 426 426 lipo-openssh: compiled-openssh-i386 427 427 cd compiled-openssh/Library/OpenSC/bin/ && \ … … 437 437 lipo -create scssh-keygen ../../../../compiled-openssh-i386/Library/OpenSC/bin/scssh-keygen -output scssh-keygen_univ && \ 438 438 mv -f scssh-keygen_univ scssh-keygen 439 touch lipo-openssh440 439 touch $@ 440 441 441 lipo-libusb: compiled-libusb-i386 442 442 cd compiled-libusb/Library/OpenSC/lib/ && \ … … 452 452 lipo -create libusbpp.a ../../../../compiled-libusb-i386/Library/OpenSC/lib/libusbpp.a -output libusbpp-univ.a && \ 453 453 mv -f libusbpp-univ.a libusbpp.a 454 touch lipo-libusb454 touch $@ 455 455 456 456 lipo-ifd-egate: compiled-ifd-egate-i386 … … 458 458 lipo -create libifd_egate.dylib ../../../../../../../../compiled-ifd-egate-i386/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/MacOS/libifd_egate.dylib -output libifd_egate-univ.dylib && \ 459 459 mv -f libifd_egate-univ.dylib libifd_egate.dylib 460 touch lipo-ifd-egate460 touch $@ 461 461 462 462 install: -
trunk/Makefile_i386
r87 r91 33 33 rm -rf compiled-engine-i386 34 34 rm -f fetch-engine build-engine 35 35 36 36 clean-openssh: 37 37 rm -rf openssh 38 38 rm -rf compiled-openssh-i386 39 39 rm -f fetch-openssh build-openssh 40 40 41 41 clean-libusb: 42 42 rm -rf libusb … … 52 52 curl -O http://www.openssl.org/source/$@ 53 53 #curl -O http://mirrors.usc.edu/pub/openssl/snapshot/$@ 54 54 55 55 opensc-$(OPENSCVERSION).tar.gz: 56 56 curl -O http://www.opensc-project.org/files/opensc/$@ 57 57 # curl -O http://www.opensc-project.org/files/opensc/snapshots/$@ 58 58 # curl -O http://www.opensc-project.org/files/opensc/testing/$@ 59 59 60 60 libp11-$(LIBP11VERSION).tar.gz: 61 61 curl -O http://www.opensc-project.org/files/libp11/$@ … … 77 77 tar xzvf $^ 78 78 mv openssl-$(OPENSSLVERSION) openssl 79 touch fetch-openssl80 79 touch $@ 80 81 81 fetch-opensc: opensc-$(OPENSCVERSION).tar.gz 82 82 rm -rf opensc 83 83 tar xzvf $^ 84 84 mv opensc-$(OPENSCVERSION) opensc 85 touch fetch-opensc85 touch $@ 86 86 87 87 fetch-libp11: libp11-$(LIBP11VERSION).tar.gz … … 89 89 tar xzvf $^ 90 90 mv libp11-$(LIBP11VERSION) libp11 91 touch fetch-libp1191 touch $@ 92 92 93 93 fetch-engine: engine_pkcs11-$(ENGINEVERSION).tar.gz … … 95 95 tar xzvf $^ 96 96 mv engine_pkcs11-$(ENGINEVERSION) engine_pkcs11 97 touch fetch-engine97 touch $@ 98 98 99 99 fetch-openssh: openssh-$(OPENSSHVERSION).tar.gz … … 102 102 mv openssh-$(OPENSSHVERSION) openssh 103 103 cd openssh && patch -p1 <../opensc/src/openssh/ask-for-pin.diff 104 touch fetch-openssh104 touch $@ 105 105 106 106 fetch-libusb: libusb-$(LIBUSBVERSION).tar.gz … … 108 108 tar xzvf $^ 109 109 mv libusb-$(LIBUSBVERSION) libusb 110 touch fetch-libusb110 touch $@ 111 111 112 112 fetch-ifd-egate: ifd-egate-$(IFDEGATEVERSION)-patched.tar.gz … … 114 114 tar xzvf $^ 115 115 mv ifd-egate-$(IFDEGATEVERSION) ifd-egate 116 touch fetch-ifd-egate116 touch $@ 117 117 118 118 build-openssl: fetch-openssl … … 122 122 make INSTALL_PREFIX=$(BUILDHOME)/compiled-openssl-i386 install 123 123 rm -f $(BUILDHOME)/compiled-openssl-i386/Library/OpenSC/bin/openssl_fips_fingerprint 124 touch build-openssl125 124 touch $@ 125 126 126 build-opensc: fetch-opensc 127 127 cd opensc && \ … … 131 131 make && \ 132 132 make install prefix=$(BUILDHOME)/compiled-opensc-i386/Library/OpenSC 133 touch build-opensc134 133 touch $@ 134 135 135 build-libp11: fetch-libp11 136 136 cd libp11 && \ … … 140 140 make && \ 141 141 make install prefix=$(BUILDHOME)/compiled-libp11-i386/Library/OpenSC 142 touch build-libp11142 touch $@ 143 143 144 144 build-engine: fetch-engine … … 149 149 make && \ 150 150 make install prefix=$(BUILDHOME)/compiled-engine-i386/Library/OpenSC 151 touch build-engine151 touch $@ 152 152 153 153 build-openssh: fetch-openssh … … 186 186 cd $(BUILDHOME)/compiled-openssh-i386/Library/OpenSC/man/man1/ && ln -s ./scssh.1 scslogin.1 187 187 mv $(BUILDHOME)/compiled-openssh-i386/Library/OpenSC/man/man5/ssh_config.5 $(BUILDHOME)/compiled-openssh-i386/Library/OpenSC/man/man5/scssh_config.5 188 touch build-openssh188 touch $@ 189 189 190 190 build-libusb: fetch-libusb … … 193 193 make && \ 194 194 make install prefix=$(BUILDHOME)/compiled-libusb-i386/Library/OpenSC 195 touch build-libusb195 touch $@ 196 196 197 197 build-ifd-egate: fetch-ifd-egate … … 203 203 cp ifd-egate/Info.plist-OSX $(BUILDHOME)/compiled-ifd-egate-i386/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/Info.plist 204 204 cp ifd-egate/libifd_egate.dylib $(BUILDHOME)/compiled-ifd-egate-i386/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/MacOS 205 touch build-ifd-egate205 touch $@ -
trunk/Makefile_light
r90 r91 37 37 rm -f package-pcscd_autostart 38 38 rm -rf compiled-pcscd_autostart 39 rm -f build-pcscd_autostart package-pcscd_autostart 39 rm -f build-pcscd_autostart package-pcscd_autostart 40 40 41 41 clean-opensc_tokend: … … 49 49 rm -rf sca_light.mpkg 50 50 rm -rf reader_light.mpkg 51 51 52 52 clean-i386: 53 53 rm -rf compiled-*-i386 … … 77 77 # curl -O http://www.opensc-project.org/files/opensc/snapshots/$@ 78 78 # curl -O http://www.opensc-project.org/files/opensc/testing/$@ 79 79 80 80 ifd-egate-$(IFDEGATEVERSION)-patched.tar.gz: 81 81 curl -O http://www.luusa.org/~wbx/sc/$@ … … 90 90 tar xzvf $^ 91 91 mv opensc-$(OPENSCVERSION) opensc 92 touch fetch-opensc92 touch $@ 93 93 94 94 fetch-libusb: libusb-$(LIBUSBVERSION).tar.gz … … 96 96 tar xzvf $^ 97 97 mv libusb-$(LIBUSBVERSION) libusb 98 touch fetch-libusb98 touch $@ 99 99 100 100 fetch-ifd-egate: ifd-egate-$(IFDEGATEVERSION)-patched.tar.gz … … 102 102 tar xzvf $^ 103 103 mv ifd-egate-$(IFDEGATEVERSION) ifd-egate 104 touch fetch-ifd-egate104 touch $@ 105 105 106 106 build: build-opensc build-libusb build-ifd-egate build-tokend \ … … 114 114 make && \ 115 115 make install prefix=$(BUILDHOME)/compiled-opensc/Library/OpenSC 116 touch build-opensc116 touch $@ 117 117 118 118 build-libusb: fetch-libusb … … 121 121 make && \ 122 122 make install prefix=$(BUILDHOME)/compiled-libusb/Library/OpenSC 123 touch build-libusb123 touch $@ 124 124 125 125 build-ifd-egate: fetch-ifd-egate … … 131 131 cp ifd-egate/Info.plist-OSX $(BUILDHOME)/compiled-ifd-egate/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/Info.plist 132 132 cp ifd-egate/libifd_egate.dylib $(BUILDHOME)/compiled-ifd-egate/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/MacOS 133 touch build-ifd-egate133 touch $@ 134 134 135 135 build-tokend: … … 150 150 $(BUILDHOME)/compiled-opensc_tokend/System/Library/Security/tokend/OpenSC.tokend/Contents/MacOS/OpenSC \ 151 151 -create -output $(BUILDHOME)/compiled-opensc_tokend/System/Library/Security/tokend/OpenSC.tokend/Contents/MacOS/OpenSC 152 touch build-tokend152 touch $@ 153 153 154 154 build-tokend-end: 155 155 hdiutil detach $(TOKEND_IMAGE_NAME) 156 156 157 157 build-pcscd_autostart: 158 158 mkdir compiled-pcscd_autostart 159 159 cp -R pcscd_autostart/files/* compiled-pcscd_autostart 160 touch build-pcscd_autostart161 160 touch $@ 161 162 162 lipo: lipo-opensc lipo-libusb lipo-ifd-egate 163 163 164 164 lipo-opensc: compiled-opensc-i386 165 165 cd compiled-opensc/Library/OpenSC/bin/ && \ … … 226 226 lipo -create pkcs11-spy.a ../../../../compiled-opensc-i386/Library/OpenSC/lib/pkcs11-spy.a -output pkcs11-spy_univ.a && \ 227 227 mv -f pkcs11-spy_univ.a pkcs11-spy.a 228 touch lipo-opensc229 228 touch $@ 229 230 230 lipo-libusb: compiled-libusb-i386 231 231 cd compiled-libusb/Library/OpenSC/lib/ && \ … … 241 241 lipo -create libusbpp.a ../../../../compiled-libusb-i386/Library/OpenSC/lib/libusbpp.a -output libusbpp-univ.a && \ 242 242 mv -f libusbpp-univ.a libusbpp.a 243 touch lipo-libusb243 touch $@ 244 244 245 245 lipo-ifd-egate: compiled-ifd-egate-i386 … … 247 247 lipo -create libifd_egate.dylib ../../../../../../../../compiled-ifd-egate-i386/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/MacOS/libifd_egate.dylib -output libifd_egate-univ.dylib && \ 248 248 mv -f libifd_egate-univ.dylib libifd_egate.dylib 249 touch lipo-ifd-egate249 touch $@ 250 250 251 251 install: … … 271 271 cp opensc-pack/InstallationCheck.strings OpenSC.pkg/Contents/Resources/English.lproj 272 272 cp opensc-pack/InstallationCheck.strings OpenSC.pkg/Contents/Resources 273 touch package-opensc273 touch $@ 274 274 275 275 package-libusb: build-libusb 276 276 $(PACKAGEMAKER) -build -p libusb.pkg -f compiled-libusb -v -ds \ 277 277 -i libusb-pack/Info.plist -d libusb-pack/Description.plist 278 touch package-libusb278 touch $@ 279 279 280 280 package-ifd-egate: build-ifd-egate 281 281 $(PACKAGEMAKER) -build -p ifd-egate.pkg -f compiled-ifd-egate -v -ds \ 282 282 -i ifd-egate-pack/Info.plist -d ifd-egate-pack/Description.plist 283 touch package-ifd-egate283 touch $@ 284 284 285 285 package-pcscd_autostart: build-pcscd_autostart 286 286 $(PACKAGEMAKER) -build -p pcscd_autostart.pkg -f compiled-pcscd_autostart -v -ds \ 287 287 -i pcscd_autostart/Info.plist -r pcscd_autostart/resources -d pcscd_autostart/Description.plist 288 touch package-pcscd_autostart288 touch $@ 289 289 290 290 package-opensc_tokend: build-tokend 291 291 $(PACKAGEMAKER) -build -p opensc_tokend.pkg -f compiled-opensc_tokend -v -ds \ 292 292 -i opensc_tokend-pack/Info.plist -d opensc_tokend-pack/Description.plist 293 touch package-opensc_tokend293 touch $@ 294 294 295 295 uninstall-all: uninstall-pcscd_autostart uninstall -
trunk/Makefile_light_i386
r72 r91 29 29 # curl -O http://www.opensc-project.org/files/opensc/snapshots/$@ 30 30 # curl -O http://www.opensc-project.org/files/opensc/testing/$@ 31 31 32 32 ifd-egate-$(IFDEGATEVERSION)-patched.tar.gz: 33 33 curl -O http://www.luusa.org/~wbx/sc/$@ … … 40 40 tar xzvf $^ 41 41 mv opensc-$(OPENSCVERSION) opensc 42 touch fetch-opensc42 touch $@ 43 43 44 44 fetch-libusb: libusb-$(LIBUSBVERSION).tar.gz … … 46 46 tar xzvf $^ 47 47 mv libusb-$(LIBUSBVERSION) libusb 48 touch fetch-libusb48 touch $@ 49 49 50 50 fetch-ifd-egate: ifd-egate-$(IFDEGATEVERSION)-patched.tar.gz … … 52 52 tar xzvf $^ 53 53 mv ifd-egate-$(IFDEGATEVERSION) ifd-egate 54 touch fetch-ifd-egate54 touch $@ 55 55 56 56 build-opensc: fetch-opensc … … 61 61 make && \ 62 62 make install prefix=$(BUILDHOME)/compiled-opensc-i386/Library/OpenSC 63 touch build-opensc64 63 touch $@ 64 65 65 build-libusb: fetch-libusb 66 66 cd libusb && \ … … 68 68 make && \ 69 69 make install prefix=$(BUILDHOME)/compiled-libusb-i386/Library/OpenSC 70 touch build-libusb70 touch $@ 71 71 72 72 build-ifd-egate: fetch-ifd-egate … … 78 78 cp ifd-egate/Info.plist-OSX $(BUILDHOME)/compiled-ifd-egate-i386/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/Info.plist 79 79 cp ifd-egate/libifd_egate.dylib $(BUILDHOME)/compiled-ifd-egate-i386/usr/libexec/SmartCardServices/drivers/ifd-egate.bundle/Contents/MacOS 80 touch build-ifd-egate80 touch $@
