Changeset 3716


Ignore:
Timestamp:
10/25/10 10:02:55 (13 years ago)
Author:
cogsi
Message:

revert r3715

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r3715 r3716  
    1 # CMAKE generated file: DO NOT EDIT!
    2 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
    3 
    4 # Default target executed when no arguments are given to make.
    5 default_target: all
    6 .PHONY : default_target
    7 
    8 #=============================================================================
    9 # Special targets provided by cmake.
    10 
    11 # Disable implicit rules so canoncical targets will work.
    12 .SUFFIXES:
    13 
    14 # Remove some rules from gmake that .SUFFIXES does not remove.
    15 SUFFIXES =
    16 
    17 .SUFFIXES: .hpux_make_needs_suffix_list
    18 
    19 # Suppress display of executed commands.
    20 $(VERBOSE).SILENT:
    21 
    22 # A target that is always out of date.
    23 cmake_force:
    24 .PHONY : cmake_force
    25 
    26 #=============================================================================
    27 # Set environment variables for the build.
    28 
    29 # The shell in which to execute make rules.
    30 SHELL = /bin/sh
    31 
    32 # The CMake executable.
    33 CMAKE_COMMAND = /usr/bin/cmake
    34 
    35 # The command to remove a file.
    36 RM = /usr/bin/cmake -E remove -f
    37 
    38 # The top-level source directory on which CMake was run.
    39 CMAKE_SOURCE_DIR = /home/cogsi/code/oscam-svn
    40 
    41 # The top-level build directory on which CMake was run.
    42 CMAKE_BINARY_DIR = /home/cogsi/code/oscam-svn
    43 
    44 #=============================================================================
    45 # Targets provided globally by CMake.
    46 
    47 # Special rule for the target edit_cache
    48 edit_cache:
    49     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
    50     /usr/bin/cmake -i .
    51 .PHONY : edit_cache
    52 
    53 # Special rule for the target edit_cache
    54 edit_cache/fast: edit_cache
    55 .PHONY : edit_cache/fast
    56 
    57 # Special rule for the target install
    58 install: preinstall
    59     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
    60     /usr/bin/cmake -P cmake_install.cmake
    61 .PHONY : install
    62 
    63 # Special rule for the target install
    64 install/fast: preinstall/fast
    65     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
    66     /usr/bin/cmake -P cmake_install.cmake
    67 .PHONY : install/fast
    68 
    69 # Special rule for the target install/local
    70 install/local: preinstall
    71     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
    72     /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
    73 .PHONY : install/local
    74 
    75 # Special rule for the target install/local
    76 install/local/fast: install/local
    77 .PHONY : install/local/fast
    78 
    79 # Special rule for the target install/strip
    80 install/strip: preinstall
    81     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
    82     /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
    83 .PHONY : install/strip
    84 
    85 # Special rule for the target install/strip
    86 install/strip/fast: install/strip
    87 .PHONY : install/strip/fast
    88 
    89 # Special rule for the target list_install_components
    90 list_install_components:
    91     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"bin\" \"doc\""
    92 .PHONY : list_install_components
    93 
    94 # Special rule for the target list_install_components
    95 list_install_components/fast: list_install_components
    96 .PHONY : list_install_components/fast
    97 
    98 # Special rule for the target package
    99 package: preinstall
    100     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
    101     /usr/bin/cpack --config ./CPackConfig.cmake
    102 .PHONY : package
    103 
    104 # Special rule for the target package
    105 package/fast: package
    106 .PHONY : package/fast
    107 
    108 # Special rule for the target package_source
    109 package_source:
    110     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
    111     /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/cogsi/code/oscam-svn/CPackSourceConfig.cmake
    112 .PHONY : package_source
    113 
    114 # Special rule for the target package_source
    115 package_source/fast: package_source
    116 .PHONY : package_source/fast
    117 
    118 # Special rule for the target rebuild_cache
    119 rebuild_cache:
    120     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
    121     /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
    122 .PHONY : rebuild_cache
    123 
    124 # Special rule for the target rebuild_cache
    125 rebuild_cache/fast: rebuild_cache
    126 .PHONY : rebuild_cache/fast
    127 
    128 # The main all target
    129 all: cmake_check_build_system
    130     $(CMAKE_COMMAND) -E cmake_progress_start /home/cogsi/code/oscam-svn/CMakeFiles /home/cogsi/code/oscam-svn/CMakeFiles/progress.marks
    131     $(MAKE) -f CMakeFiles/Makefile2 all
    132     $(CMAKE_COMMAND) -E cmake_progress_start /home/cogsi/code/oscam-svn/CMakeFiles 0
    133 .PHONY : all
    134 
    135 # The main clean target
     1SHELL   = /bin/sh
     2
     3VER = $(subst ",,$(filter-out \#define CS_VERSION,$(shell grep CS_VERSION globals.h)))$(shell test -f `which svnversion` && svnversion -n . | awk 'BEGIN {FS = ":"} {print $$1}' | sed 's/[MS]$$//' | sed 's/exported/0/' || echo -n 0 )
     4SVN_REV=""$(shell test -f `which svnversion` && svnversion -n . | awk 'BEGIN {FS = ":"} {print $$1}' | sed 's/[MS]$$//' | sed 's/exported/0/' || echo -n 0 )""
     5
     6CS_CONFDIR = '\"/usr/local/etc\"'
     7
     8export VER
     9
     10linux:  i386-pc-linux
     11linux-pcsc: i386-pc-linux-pcsc
     12freebsd:    i386-pc-freebsd
     13tuxbox: cross-powerpc-tuxbox-linux
     14tripledragon: cross-powerpc-405-linux
     15win:    cross-i386-pc-cygwin
     16cygwin: i386-pc-cygwin
     17macosx: macosx-native
     18
     19std:    linux \
     20    macosx \
     21    cross-i386-pc-cygwin \
     22    cross-powerpc-tuxbox-linux \
     23    cross-powerpc-405-linux \
     24    cross-i386-pc-freebsd \
     25    cross-arm-nslu2-linux \
     26    cross-mipsel-router-linux-uclibc927 \
     27    cross-mipsel-router-linux-uclibc928 \
     28    cross-mipsel-router-linux-uclibc929 \
     29    cross-mipsel-router-linux-uclibc929-static \
     30    cross-mipsel-tuxbox-linux-glibc \
     31    cross-mipsel-fonera2 \
     32    cross-sh4-linux
     33
     34all:    \
     35    cross-sparc-sun-solaris2.7 \
     36    cross-rs6000-ibm-aix4.2 \
     37    cross-mips-sgi-irix6.5
     38
     39
     40dist:   std
     41    @cd Distribution && tar cvf "../oscam$(VER).tar" *
     42    @bzip2 -9f "oscam$(VER).tar"
     43
     44extra:  all
     45    @cd Distribution && tar cvf "../oscam$(VER)-extra.tar" *
     46    @bzip2 -9f "oscam$(VER)-extra.tar"
     47
    13648clean:
    137     $(MAKE) -f CMakeFiles/Makefile2 clean
    138 .PHONY : clean
    139 
    140 # The main clean target
    141 clean/fast: clean
    142 .PHONY : clean/fast
    143 
    144 # Prepare targets for installation.
    145 preinstall: all
    146     $(MAKE) -f CMakeFiles/Makefile2 preinstall
    147 .PHONY : preinstall
    148 
    149 # Prepare targets for installation.
    150 preinstall/fast:
    151     $(MAKE) -f CMakeFiles/Makefile2 preinstall
    152 .PHONY : preinstall/fast
    153 
    154 # clear depends
    155 depend:
    156     $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
    157 .PHONY : depend
    158 
    159 #=============================================================================
    160 # Target rules for targets named csmodules
    161 
    162 # Build rule for target.
    163 csmodules: cmake_check_build_system
    164     $(MAKE) -f CMakeFiles/Makefile2 csmodules
    165 .PHONY : csmodules
    166 
    167 # fast build rule for target.
    168 csmodules/fast:
    169     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/build
    170 .PHONY : csmodules/fast
    171 
    172 #=============================================================================
    173 # Target rules for targets named csoscam
    174 
    175 # Build rule for target.
    176 csoscam: cmake_check_build_system
    177     $(MAKE) -f CMakeFiles/Makefile2 csoscam
    178 .PHONY : csoscam
    179 
    180 # fast build rule for target.
    181 csoscam/fast:
    182     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/build
    183 .PHONY : csoscam/fast
    184 
    185 #=============================================================================
    186 # Target rules for targets named csreaders
    187 
    188 # Build rule for target.
    189 csreaders: cmake_check_build_system
    190     $(MAKE) -f CMakeFiles/Makefile2 csreaders
    191 .PHONY : csreaders
    192 
    193 # fast build rule for target.
    194 csreaders/fast:
    195     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/build
    196 .PHONY : csreaders/fast
    197 
    198 #=============================================================================
    199 # Target rules for targets named oscam
    200 
    201 # Build rule for target.
    202 oscam: cmake_check_build_system
    203     $(MAKE) -f CMakeFiles/Makefile2 oscam
    204 .PHONY : oscam
    205 
    206 # fast build rule for target.
    207 oscam/fast:
    208     $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/build
    209 .PHONY : oscam/fast
    210 
    211 #=============================================================================
    212 # Target rules for targets named svnversion
    213 
    214 # Build rule for target.
    215 svnversion: cmake_check_build_system
    216     $(MAKE) -f CMakeFiles/Makefile2 svnversion
    217 .PHONY : svnversion
    218 
    219 # fast build rule for target.
    220 svnversion/fast:
    221     $(MAKE) -f CMakeFiles/svnversion.dir/build.make CMakeFiles/svnversion.dir/build
    222 .PHONY : svnversion/fast
    223 
    224 #=============================================================================
    225 # Target rules for targets named svnversion-log
    226 
    227 # Build rule for target.
    228 svnversion-log: cmake_check_build_system
    229     $(MAKE) -f CMakeFiles/Makefile2 svnversion-log
    230 .PHONY : svnversion-log
    231 
    232 # fast build rule for target.
    233 svnversion-log/fast:
    234     $(MAKE) -f CMakeFiles/svnversion-log.dir/build.make CMakeFiles/svnversion-log.dir/build
    235 .PHONY : svnversion-log/fast
    236 
    237 #=============================================================================
    238 # Target rules for targets named csctapi
    239 
    240 # Build rule for target.
    241 csctapi: cmake_check_build_system
    242     $(MAKE) -f CMakeFiles/Makefile2 csctapi
    243 .PHONY : csctapi
    244 
    245 # fast build rule for target.
    246 csctapi/fast:
    247     $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/build
    248 .PHONY : csctapi/fast
    249 
    250 #=============================================================================
    251 # Target rules for targets named cscrypt
    252 
    253 # Build rule for target.
    254 cscrypt: cmake_check_build_system
    255     $(MAKE) -f CMakeFiles/Makefile2 cscrypt
    256 .PHONY : cscrypt
    257 
    258 # fast build rule for target.
    259 cscrypt/fast:
    260     $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/build
    261 .PHONY : cscrypt/fast
    262 
    263 # target to build an object file
    264 module-camd33.o:
    265     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd33.o
    266 .PHONY : module-camd33.o
    267 
    268 # target to preprocess a source file
    269 module-camd33.i:
    270     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd33.i
    271 .PHONY : module-camd33.i
    272 
    273 # target to generate assembly for a file
    274 module-camd33.s:
    275     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd33.s
    276 .PHONY : module-camd33.s
    277 
    278 # target to build an object file
    279 module-camd35.o:
    280     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd35.o
    281 .PHONY : module-camd35.o
    282 
    283 # target to preprocess a source file
    284 module-camd35.i:
    285     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd35.i
    286 .PHONY : module-camd35.i
    287 
    288 # target to generate assembly for a file
    289 module-camd35.s:
    290     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd35.s
    291 .PHONY : module-camd35.s
    292 
    293 # target to build an object file
    294 module-cccam.o:
    295     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-cccam.o
    296 .PHONY : module-cccam.o
    297 
    298 # target to preprocess a source file
    299 module-cccam.i:
    300     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-cccam.i
    301 .PHONY : module-cccam.i
    302 
    303 # target to generate assembly for a file
    304 module-cccam.s:
    305     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-cccam.s
    306 .PHONY : module-cccam.s
    307 
    308 # target to build an object file
    309 module-constcw.o:
    310     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-constcw.o
    311 .PHONY : module-constcw.o
    312 
    313 # target to preprocess a source file
    314 module-constcw.i:
    315     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-constcw.i
    316 .PHONY : module-constcw.i
    317 
    318 # target to generate assembly for a file
    319 module-constcw.s:
    320     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-constcw.s
    321 .PHONY : module-constcw.s
    322 
    323 # target to build an object file
    324 module-datastruct-llist.o:
    325     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-datastruct-llist.o
    326 .PHONY : module-datastruct-llist.o
    327 
    328 # target to preprocess a source file
    329 module-datastruct-llist.i:
    330     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-datastruct-llist.i
    331 .PHONY : module-datastruct-llist.i
    332 
    333 # target to generate assembly for a file
    334 module-datastruct-llist.s:
    335     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-datastruct-llist.s
    336 .PHONY : module-datastruct-llist.s
    337 
    338 # target to build an object file
    339 module-dvbapi.o:
    340     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-dvbapi.o
    341 .PHONY : module-dvbapi.o
    342 
    343 # target to preprocess a source file
    344 module-dvbapi.i:
    345     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-dvbapi.i
    346 .PHONY : module-dvbapi.i
    347 
    348 # target to generate assembly for a file
    349 module-dvbapi.s:
    350     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-dvbapi.s
    351 .PHONY : module-dvbapi.s
    352 
    353 # target to build an object file
    354 module-monitor.o:
    355     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-monitor.o
    356 .PHONY : module-monitor.o
    357 
    358 # target to preprocess a source file
    359 module-monitor.i:
    360     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-monitor.i
    361 .PHONY : module-monitor.i
    362 
    363 # target to generate assembly for a file
    364 module-monitor.s:
    365     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-monitor.s
    366 .PHONY : module-monitor.s
    367 
    368 # target to build an object file
    369 module-newcamd.o:
    370     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-newcamd.o
    371 .PHONY : module-newcamd.o
    372 
    373 # target to preprocess a source file
    374 module-newcamd.i:
    375     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-newcamd.i
    376 .PHONY : module-newcamd.i
    377 
    378 # target to generate assembly for a file
    379 module-newcamd.s:
    380     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-newcamd.s
    381 .PHONY : module-newcamd.s
    382 
    383 # target to build an object file
    384 module-obj-llist.o:
    385     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-obj-llist.o
    386 .PHONY : module-obj-llist.o
    387 
    388 # target to preprocess a source file
    389 module-obj-llist.i:
    390     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-obj-llist.i
    391 .PHONY : module-obj-llist.i
    392 
    393 # target to generate assembly for a file
    394 module-obj-llist.s:
    395     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-obj-llist.s
    396 .PHONY : module-obj-llist.s
    397 
    398 # target to build an object file
    399 module-radegast.o:
    400     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-radegast.o
    401 .PHONY : module-radegast.o
    402 
    403 # target to preprocess a source file
    404 module-radegast.i:
    405     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-radegast.i
    406 .PHONY : module-radegast.i
    407 
    408 # target to generate assembly for a file
    409 module-radegast.s:
    410     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-radegast.s
    411 .PHONY : module-radegast.s
    412 
    413 # target to build an object file
    414 module-serial.o:
    415     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-serial.o
    416 .PHONY : module-serial.o
    417 
    418 # target to preprocess a source file
    419 module-serial.i:
    420     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-serial.i
    421 .PHONY : module-serial.i
    422 
    423 # target to generate assembly for a file
    424 module-serial.s:
    425     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-serial.s
    426 .PHONY : module-serial.s
    427 
    428 # target to build an object file
    429 module-stat.o:
    430     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-stat.o
    431 .PHONY : module-stat.o
    432 
    433 # target to preprocess a source file
    434 module-stat.i:
    435     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-stat.i
    436 .PHONY : module-stat.i
    437 
    438 # target to generate assembly for a file
    439 module-stat.s:
    440     $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-stat.s
    441 .PHONY : module-stat.s
    442 
    443 # target to build an object file
    444 oscam-ac.o:
    445     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-ac.o
    446 .PHONY : oscam-ac.o
    447 
    448 # target to preprocess a source file
    449 oscam-ac.i:
    450     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-ac.i
    451 .PHONY : oscam-ac.i
    452 
    453 # target to generate assembly for a file
    454 oscam-ac.s:
    455     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-ac.s
    456 .PHONY : oscam-ac.s
    457 
    458 # target to build an object file
    459 oscam-chk.o:
    460     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-chk.o
    461 .PHONY : oscam-chk.o
    462 
    463 # target to preprocess a source file
    464 oscam-chk.i:
    465     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-chk.i
    466 .PHONY : oscam-chk.i
    467 
    468 # target to generate assembly for a file
    469 oscam-chk.s:
    470     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-chk.s
    471 .PHONY : oscam-chk.s
    472 
    473 # target to build an object file
    474 oscam-config.o:
    475     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-config.o
    476 .PHONY : oscam-config.o
    477 
    478 # target to preprocess a source file
    479 oscam-config.i:
    480     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-config.i
    481 .PHONY : oscam-config.i
    482 
    483 # target to generate assembly for a file
    484 oscam-config.s:
    485     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-config.s
    486 .PHONY : oscam-config.s
    487 
    488 # target to build an object file
    489 oscam-http-helpers.o:
    490     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-http-helpers.o
    491 .PHONY : oscam-http-helpers.o
    492 
    493 # target to preprocess a source file
    494 oscam-http-helpers.i:
    495     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-http-helpers.i
    496 .PHONY : oscam-http-helpers.i
    497 
    498 # target to generate assembly for a file
    499 oscam-http-helpers.s:
    500     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-http-helpers.s
    501 .PHONY : oscam-http-helpers.s
    502 
    503 # target to build an object file
    504 oscam-http.o:
    505     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-http.o
    506 .PHONY : oscam-http.o
    507 
    508 # target to preprocess a source file
    509 oscam-http.i:
    510     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-http.i
    511 .PHONY : oscam-http.i
    512 
    513 # target to generate assembly for a file
    514 oscam-http.s:
    515     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-http.s
    516 .PHONY : oscam-http.s
    517 
    518 # target to build an object file
    519 oscam-log.o:
    520     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-log.o
    521 .PHONY : oscam-log.o
    522 
    523 # target to preprocess a source file
    524 oscam-log.i:
    525     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-log.i
    526 .PHONY : oscam-log.i
    527 
    528 # target to generate assembly for a file
    529 oscam-log.s:
    530     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-log.s
    531 .PHONY : oscam-log.s
    532 
    533 # target to build an object file
    534 oscam-nano.o:
    535     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-nano.o
    536 .PHONY : oscam-nano.o
    537 
    538 # target to preprocess a source file
    539 oscam-nano.i:
    540     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-nano.i
    541 .PHONY : oscam-nano.i
    542 
    543 # target to generate assembly for a file
    544 oscam-nano.s:
    545     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-nano.s
    546 .PHONY : oscam-nano.s
    547 
    548 # target to build an object file
    549 oscam-reader.o:
    550     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-reader.o
    551 .PHONY : oscam-reader.o
    552 
    553 # target to preprocess a source file
    554 oscam-reader.i:
    555     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-reader.i
    556 .PHONY : oscam-reader.i
    557 
    558 # target to generate assembly for a file
    559 oscam-reader.s:
    560     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-reader.s
    561 .PHONY : oscam-reader.s
    562 
    563 # target to build an object file
    564 oscam-simples.o:
    565     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-simples.o
    566 .PHONY : oscam-simples.o
    567 
    568 # target to preprocess a source file
    569 oscam-simples.i:
    570     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-simples.i
    571 .PHONY : oscam-simples.i
    572 
    573 # target to generate assembly for a file
    574 oscam-simples.s:
    575     $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-simples.s
    576 .PHONY : oscam-simples.s
    577 
    578 # target to build an object file
    579 oscam.o:
    580     $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/oscam.o
    581 .PHONY : oscam.o
    582 
    583 # target to preprocess a source file
    584 oscam.i:
    585     $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/oscam.i
    586 .PHONY : oscam.i
    587 
    588 # target to generate assembly for a file
    589 oscam.s:
    590     $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/oscam.s
    591 .PHONY : oscam.s
    592 
    593 # target to build an object file
    594 reader-common.o:
    595     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-common.o
    596 .PHONY : reader-common.o
    597 
    598 # target to preprocess a source file
    599 reader-common.i:
    600     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-common.i
    601 .PHONY : reader-common.i
    602 
    603 # target to generate assembly for a file
    604 reader-common.s:
    605     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-common.s
    606 .PHONY : reader-common.s
    607 
    608 # target to build an object file
    609 reader-conax.o:
    610     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-conax.o
    611 .PHONY : reader-conax.o
    612 
    613 # target to preprocess a source file
    614 reader-conax.i:
    615     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-conax.i
    616 .PHONY : reader-conax.i
    617 
    618 # target to generate assembly for a file
    619 reader-conax.s:
    620     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-conax.s
    621 .PHONY : reader-conax.s
    622 
    623 # target to build an object file
    624 reader-cryptoworks.o:
    625     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-cryptoworks.o
    626 .PHONY : reader-cryptoworks.o
    627 
    628 # target to preprocess a source file
    629 reader-cryptoworks.i:
    630     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-cryptoworks.i
    631 .PHONY : reader-cryptoworks.i
    632 
    633 # target to generate assembly for a file
    634 reader-cryptoworks.s:
    635     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-cryptoworks.s
    636 .PHONY : reader-cryptoworks.s
    637 
    638 # target to build an object file
    639 reader-dre.o:
    640     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-dre.o
    641 .PHONY : reader-dre.o
    642 
    643 # target to preprocess a source file
    644 reader-dre.i:
    645     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-dre.i
    646 .PHONY : reader-dre.i
    647 
    648 # target to generate assembly for a file
    649 reader-dre.s:
    650     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-dre.s
    651 .PHONY : reader-dre.s
    652 
    653 # target to build an object file
    654 reader-irdeto.o:
    655     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-irdeto.o
    656 .PHONY : reader-irdeto.o
    657 
    658 # target to preprocess a source file
    659 reader-irdeto.i:
    660     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-irdeto.i
    661 .PHONY : reader-irdeto.i
    662 
    663 # target to generate assembly for a file
    664 reader-irdeto.s:
    665     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-irdeto.s
    666 .PHONY : reader-irdeto.s
    667 
    668 # target to build an object file
    669 reader-nagra.o:
    670     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-nagra.o
    671 .PHONY : reader-nagra.o
    672 
    673 # target to preprocess a source file
    674 reader-nagra.i:
    675     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-nagra.i
    676 .PHONY : reader-nagra.i
    677 
    678 # target to generate assembly for a file
    679 reader-nagra.s:
    680     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-nagra.s
    681 .PHONY : reader-nagra.s
    682 
    683 # target to build an object file
    684 reader-seca.o:
    685     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-seca.o
    686 .PHONY : reader-seca.o
    687 
    688 # target to preprocess a source file
    689 reader-seca.i:
    690     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-seca.i
    691 .PHONY : reader-seca.i
    692 
    693 # target to generate assembly for a file
    694 reader-seca.s:
    695     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-seca.s
    696 .PHONY : reader-seca.s
    697 
    698 # target to build an object file
    699 reader-tongfang.o:
    700     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-tongfang.o
    701 .PHONY : reader-tongfang.o
    702 
    703 # target to preprocess a source file
    704 reader-tongfang.i:
    705     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-tongfang.i
    706 .PHONY : reader-tongfang.i
    707 
    708 # target to generate assembly for a file
    709 reader-tongfang.s:
    710     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-tongfang.s
    711 .PHONY : reader-tongfang.s
    712 
    713 # target to build an object file
    714 reader-viaccess.o:
    715     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-viaccess.o
    716 .PHONY : reader-viaccess.o
    717 
    718 # target to preprocess a source file
    719 reader-viaccess.i:
    720     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-viaccess.i
    721 .PHONY : reader-viaccess.i
    722 
    723 # target to generate assembly for a file
    724 reader-viaccess.s:
    725     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-viaccess.s
    726 .PHONY : reader-viaccess.s
    727 
    728 # target to build an object file
    729 reader-videoguard-common.o:
    730     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard-common.o
    731 .PHONY : reader-videoguard-common.o
    732 
    733 # target to preprocess a source file
    734 reader-videoguard-common.i:
    735     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard-common.i
    736 .PHONY : reader-videoguard-common.i
    737 
    738 # target to generate assembly for a file
    739 reader-videoguard-common.s:
    740     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard-common.s
    741 .PHONY : reader-videoguard-common.s
    742 
    743 # target to build an object file
    744 reader-videoguard1.o:
    745     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard1.o
    746 .PHONY : reader-videoguard1.o
    747 
    748 # target to preprocess a source file
    749 reader-videoguard1.i:
    750     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard1.i
    751 .PHONY : reader-videoguard1.i
    752 
    753 # target to generate assembly for a file
    754 reader-videoguard1.s:
    755     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard1.s
    756 .PHONY : reader-videoguard1.s
    757 
    758 # target to build an object file
    759 reader-videoguard12.o:
    760     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard12.o
    761 .PHONY : reader-videoguard12.o
    762 
    763 # target to preprocess a source file
    764 reader-videoguard12.i:
    765     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard12.i
    766 .PHONY : reader-videoguard12.i
    767 
    768 # target to generate assembly for a file
    769 reader-videoguard12.s:
    770     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard12.s
    771 .PHONY : reader-videoguard12.s
    772 
    773 # target to build an object file
    774 reader-videoguard2.o:
    775     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard2.o
    776 .PHONY : reader-videoguard2.o
    777 
    778 # target to preprocess a source file
    779 reader-videoguard2.i:
    780     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard2.i
    781 .PHONY : reader-videoguard2.i
    782 
    783 # target to generate assembly for a file
    784 reader-videoguard2.s:
    785     $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard2.s
    786 .PHONY : reader-videoguard2.s
    787 
    788 # Help Target
    789 help:
    790     @echo "The following are some of the valid targets for this Makefile:"
    791     @echo "... all (the default if no target is provided)"
    792     @echo "... clean"
    793     @echo "... depend"
    794     @echo "... csmodules"
    795     @echo "... csoscam"
    796     @echo "... csreaders"
    797     @echo "... edit_cache"
    798     @echo "... install"
    799     @echo "... install/local"
    800     @echo "... install/strip"
    801     @echo "... list_install_components"
    802     @echo "... oscam"
    803     @echo "... package"
    804     @echo "... package_source"
    805     @echo "... rebuild_cache"
    806     @echo "... svnversion"
    807     @echo "... svnversion-log"
    808     @echo "... csctapi"
    809     @echo "... cscrypt"
    810     @echo "... module-camd33.o"
    811     @echo "... module-camd33.i"
    812     @echo "... module-camd33.s"
    813     @echo "... module-camd35.o"
    814     @echo "... module-camd35.i"
    815     @echo "... module-camd35.s"
    816     @echo "... module-cccam.o"
    817     @echo "... module-cccam.i"
    818     @echo "... module-cccam.s"
    819     @echo "... module-constcw.o"
    820     @echo "... module-constcw.i"
    821     @echo "... module-constcw.s"
    822     @echo "... module-datastruct-llist.o"
    823     @echo "... module-datastruct-llist.i"
    824     @echo "... module-datastruct-llist.s"
    825     @echo "... module-dvbapi.o"
    826     @echo "... module-dvbapi.i"
    827     @echo "... module-dvbapi.s"
    828     @echo "... module-monitor.o"
    829     @echo "... module-monitor.i"
    830     @echo "... module-monitor.s"
    831     @echo "... module-newcamd.o"
    832     @echo "... module-newcamd.i"
    833     @echo "... module-newcamd.s"
    834     @echo "... module-obj-llist.o"
    835     @echo "... module-obj-llist.i"
    836     @echo "... module-obj-llist.s"
    837     @echo "... module-radegast.o"
    838     @echo "... module-radegast.i"
    839     @echo "... module-radegast.s"
    840     @echo "... module-serial.o"
    841     @echo "... module-serial.i"
    842     @echo "... module-serial.s"
    843     @echo "... module-stat.o"
    844     @echo "... module-stat.i"
    845     @echo "... module-stat.s"
    846     @echo "... oscam-ac.o"
    847     @echo "... oscam-ac.i"
    848     @echo "... oscam-ac.s"
    849     @echo "... oscam-chk.o"
    850     @echo "... oscam-chk.i"
    851     @echo "... oscam-chk.s"
    852     @echo "... oscam-config.o"
    853     @echo "... oscam-config.i"
    854     @echo "... oscam-config.s"
    855     @echo "... oscam-http-helpers.o"
    856     @echo "... oscam-http-helpers.i"
    857     @echo "... oscam-http-helpers.s"
    858     @echo "... oscam-http.o"
    859     @echo "... oscam-http.i"
    860     @echo "... oscam-http.s"
    861     @echo "... oscam-log.o"
    862     @echo "... oscam-log.i"
    863     @echo "... oscam-log.s"
    864     @echo "... oscam-nano.o"
    865     @echo "... oscam-nano.i"
    866     @echo "... oscam-nano.s"
    867     @echo "... oscam-reader.o"
    868     @echo "... oscam-reader.i"
    869     @echo "... oscam-reader.s"
    870     @echo "... oscam-simples.o"
    871     @echo "... oscam-simples.i"
    872     @echo "... oscam-simples.s"
    873     @echo "... oscam.o"
    874     @echo "... oscam.i"
    875     @echo "... oscam.s"
    876     @echo "... reader-common.o"
    877     @echo "... reader-common.i"
    878     @echo "... reader-common.s"
    879     @echo "... reader-conax.o"
    880     @echo "... reader-conax.i"
    881     @echo "... reader-conax.s"
    882     @echo "... reader-cryptoworks.o"
    883     @echo "... reader-cryptoworks.i"
    884     @echo "... reader-cryptoworks.s"
    885     @echo "... reader-dre.o"
    886     @echo "... reader-dre.i"
    887     @echo "... reader-dre.s"
    888     @echo "... reader-irdeto.o"
    889     @echo "... reader-irdeto.i"
    890     @echo "... reader-irdeto.s"
    891     @echo "... reader-nagra.o"
    892     @echo "... reader-nagra.i"
    893     @echo "... reader-nagra.s"
    894     @echo "... reader-seca.o"
    895     @echo "... reader-seca.i"
    896     @echo "... reader-seca.s"
    897     @echo "... reader-tongfang.o"
    898     @echo "... reader-tongfang.i"
    899     @echo "... reader-tongfang.s"
    900     @echo "... reader-viaccess.o"
    901     @echo "... reader-viaccess.i"
    902     @echo "... reader-viaccess.s"
    903     @echo "... reader-videoguard-common.o"
    904     @echo "... reader-videoguard-common.i"
    905     @echo "... reader-videoguard-common.s"
    906     @echo "... reader-videoguard1.o"
    907     @echo "... reader-videoguard1.i"
    908     @echo "... reader-videoguard1.s"
    909     @echo "... reader-videoguard12.o"
    910     @echo "... reader-videoguard12.i"
    911     @echo "... reader-videoguard12.s"
    912     @echo "... reader-videoguard2.o"
    913     @echo "... reader-videoguard2.i"
    914     @echo "... reader-videoguard2.s"
    915 .PHONY : help
    916 
    917 
    918 
    919 #=============================================================================
    920 # Special targets to cleanup operation of make.
    921 
    922 # Special rule to run CMake to check the build system integrity.
    923 # No rule that depends on this can have commands that come from listfiles
    924 # because they might be regenerated.
    925 cmake_check_build_system:
    926     $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
    927 .PHONY : cmake_check_build_system
    928 
     49    @-rm -rf oscam-ostype.h lib Distribution/oscam-*
     50
     51tar:    clean
     52    @tar cvf "oscam$(VER)-src.tar" Distribution Make* *.c *.h cscrypt csctapi
     53    @bzip2 -9f "oscam$(VER)-src.tar"
     54
     55nptar:  clean
     56    @tar cvf "oscam$(VER)-nonpublic-src.tar" Distribution Make* *.c *.np *.h cscrypt csctapi csgbox
     57    @bzip2 -9f "oscam$(VER)-nonpublic-src.tar"
     58
     59######################################################################
     60#
     61#   LINUX native
     62#
     63######################################################################
     64i386-pc-linux:
     65    @-$(MAKE) --no-print-directory \
     66        -f Maketype TYP=$(subst i386,$(shell uname --machine),$(subst cross-,,$@)) \
     67        OS_LIBS="-lcrypto -lm" \
     68        OS_CULI="-lncurses" \
     69        DS_OPTS="-O2 -DOS_LINUX -DCS_CONFDIR=${CS_CONFDIR} -pthread -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     70        DS_CFLAGS="-c" \
     71        DS_LDFLAGS="" \
     72        DS_ARFLAGS="-rvsl" \
     73        DS_CC=gcc \
     74        DS_AR=ar \
     75        DS_LD=ld \
     76        DS_RL=ranlib \
     77        DS_ST=strip
     78
     79i386-pc-linux-debug:
     80    @-$(MAKE) --no-print-directory \
     81        -f Maketype TYP=$(subst i386,$(shell uname --machine),$(subst cross-,,$@)) \
     82        OS_LIBS="-lcrypto -lm -lrt" \
     83        OS_CULI="-lncurses" \
     84        DS_OPTS="-O0 -ggdb -pthread -DOS_LINUX -DCS_CONFDIR=${CS_CONFDIR} -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     85        DS_CFLAGS="-c" \
     86        DS_LDFLAGS="" \
     87        DS_ARFLAGS="-rvsl" \
     88        DS_CC=gcc \
     89        DS_AR=ar \
     90        DS_LD=ld \
     91        DS_RL=ranlib
     92######################################################################
     93#
     94#   LINUX native with libusb (smartreader)
     95#
     96######################################################################
     97i386-pc-linux-libusb:
     98    @-$(MAKE) --no-print-directory \
     99        -f Maketype TYP=$(subst i386,$(shell uname --machine),$(subst cross-,,$@)) \
     100            LIBUSB="/usr/local/lib/libusb-1.0.a" \
     101        OS_LIBS="-lcrypto -lm -lrt" \
     102        OS_CULI="-lncurses" \
     103        DS_OPTS="-O2 -DOS_LINUX -DLIBUSB -DCS_CONFDIR=${CS_CONFDIR} -pthread -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="\"$(SVN_REV)\""' -I/usr/local/include" \
     104        DS_CFLAGS="-c" \
     105        DS_LDFLAGS="" \
     106        DS_ARFLAGS="-rvsl" \
     107        DS_CC=gcc \
     108        DS_AR=ar \
     109        DS_LD=ld \
     110        DS_RL=ranlib \
     111        DS_ST=strip
     112
     113######################################################################
     114#
     115#   LINUX native with PCSC
     116#
     117######################################################################
     118i386-pc-linux-pcsc:
     119    @-$(MAKE) --no-print-directory \
     120        -f Maketype TYP=$(subst i386,$(shell uname --machine),$(subst cross-,,$@)) \
     121        OS_LIBS="-lcrypto -lm" \
     122        OS_CULI="-lncurses" \
     123        OS_PTLI="-lpcsclite" \
     124        DS_OPTS="-O2 -DOS_LINUX -DCS_CONFDIR=${CS_CONFDIR} -pthread -DHAVE_PCSC=1 -I/usr/include/PCSC -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     125        DS_CFLAGS="-c" \
     126        DS_LDFLAGS="" \
     127        DS_ARFLAGS="-rvsl" \
     128        DS_CC=gcc \
     129        DS_AR=ar \
     130        DS_LD=ld \
     131        DS_RL=ranlib \
     132        DS_ST=strip
     133
     134######################################################################
     135#
     136#   LINUX native with PCSC & libusb (smartreader)
     137#
     138######################################################################
     139i386-pc-linux-pcsc-libusb:
     140    @-$(MAKE) --no-print-directory \
     141        -f Maketype TYP=$(subst i386,$(shell uname --machine),$(subst cross-,,$@)) \
     142            LIBUSB="/usr/local/lib/libusb-1.0.a" \
     143        OS_LIBS="-lcrypto -lm -lrt" \
     144        OS_CULI="-lncurses" \
     145        OS_PTLI="-lpcsclite" \
     146        DS_OPTS="-O2 -DOS_LINUX -DLIBUSB -DCS_CONFDIR=${CS_CONFDIR} -pthread -DHAVE_PCSC=1 -I/usr/include/PCSC -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="\"$(SVN_REV)\""' -I/usr/local/include" \
     147        DS_CFLAGS="-c" \
     148        DS_LDFLAGS="" \
     149        DS_ARFLAGS="-rvsl" \
     150        DS_CC=gcc \
     151        DS_AR=ar \
     152        DS_LD=ld \
     153        DS_RL=ranlib \
     154        DS_ST=strip
     155
     156######################################################################
     157#
     158#       MacOSX native
     159#
     160######################################################################
     161macosx-native:
     162    @-$(MAKE) --no-print-directory \
     163        -f Maketype TYP=$(subst cross-,,$@) \
     164        OS_LIBS="-lcrypto -lm" \
     165        OS_CULI="-lncurses" \
     166        OS_PTLI="-lpthread" \
     167        DS_OPTS="-O2 -DOS_MACOSX -DNEED_DAEMON -DHAVE_PTHREAD_H -DCS_CONFDIR=${CS_CONFDIR} -DHAVE_PCSC=1 -m32 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     168        DS_CFLAGS="-c" \
     169        DS_LDFLAGS="-framework PCSC -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk" \
     170        DS_ARFLAGS="-rvsl" \
     171        DS_CC=gcc \
     172        DS_AR=ar \
     173        DS_LD=ld \
     174        DS_RL=ranlib \
     175        DS_ST=strip
     176
     177######################################################################
     178#
     179#       MacOSX native with libusb (smartreader)
     180#
     181######################################################################
     182macosx-libusb:
     183    @-$(MAKE) --no-print-directory \
     184        -f Maketype TYP=$(subst cross-,,$@) \
     185        LIBUSB="/usr/local/lib/libusb-1.0.a" \
     186        OS_LIBS="-lcrypto -lm " \
     187        OS_CULI="-lncurses" \
     188        OS_PTLI="-lpthread" \
     189        DS_OPTS="-O2 -DOS_MACOSX -DNEED_DAEMON -DHAVE_PTHREAD_H  -DCS_CONFDIR=${CS_CONFDIR} -DHAVE_PCSC=1 -DLIBUSB -m32 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -Winline -Wall -Wextra -finline-functions -fomit-frame-pointer -D'CS_SVN_VERSION="\"$(SVN_REV)\""' -I/usr/local/include" \
     190        DS_CFLAGS="-c" \
     191        DS_LDFLAGS="-framework PCSC -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-prebind -no-undefined" \
     192        DS_ARFLAGS="-rvsl" \
     193        DS_CC=gcc \
     194        DS_AR=ar \
     195        DS_LD=ld \
     196        DS_RL=ranlib \
     197        DS_ST=strip
     198
     199
     200######################################################################
     201#
     202#   FreeBSD native
     203#
     204######################################################################
     205i386-pc-freebsd:
     206    @-$(MAKE) --no-print-directory \
     207        -f Maketype TYP=$(subst cross-,,$@) \
     208        OS_LIBS="-lm" \
     209        OS_CULI="-lncurses" \
     210        OS_PTLI="-lpthread" \
     211        DS_OPTS="-O2 -DOS_FREEBSD -DBSD_COMP  -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     212        DS_CFLAGS="-c" \
     213        DS_LDFLAGS="" \
     214        DS_ARFLAGS="-rvsl" \
     215        DS_CC=gcc \
     216        DS_AR=ar \
     217        DS_LD=ld \
     218        DS_RL=ranlib \
     219        DS_ST=strip
     220
     221######################################################################
     222#
     223#   FreeBSD 5.4 crosscompiler
     224#
     225######################################################################
     226cross-i386-pc-freebsd:
     227    @-$(MAKE) --no-print-directory \
     228        -f Maketype TYP=$(subst cross-,,$@) \
     229        OS_LIBS="-lm" \
     230        OS_CULI="-lncurses" \
     231        OS_PTLI="-lpthread" \
     232        DS_OPTS="-O2 -DOS_FREEBSD -DBSD_COMP -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     233        DS_CFLAGS="-c" \
     234        DS_LDFLAGS="" \
     235        DS_ARFLAGS="-rvsl" \
     236        DS_CC=i386-pc-freebsd5.4-gcc \
     237        DS_AR=i386-pc-freebsd5.4-ar \
     238        DS_LD=i386-pc-freebsd5.4-ld \
     239        DS_RL=i386-pc-freebsd5.4-ranlib \
     240        DS_ST=i386-pc-freebsd5.4-strip
     241
     242######################################################################
     243#
     244#   Tuxbox crosscompiler
     245#
     246######################################################################
     247cross-powerpc-tuxbox-linux:
     248    @-$(MAKE) --no-print-directory \
     249        -f Maketype TYP=$(subst cross-,,$@) \
     250        OS_LIBS="-lcrypto -ldl -lm" \
     251        OS_CULI="-lncurses" \
     252        OS_PTLI="-lpthread" \
     253        DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DPPC -DCS_CONFDIR='\"/var/tuxbox/config\"' -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     254        DS_CFLAGS="-c" \
     255        DS_LDFLAGS="" \
     256        DS_ARFLAGS="-rvsl" \
     257        DS_CC=powerpc-tuxbox-linux-gnu-gcc \
     258        DS_AR=powerpc-tuxbox-linux-gnu-ar \
     259        DS_LD=powerpc-tuxbox-linux-gnu-ld \
     260        DS_RL=powerpc-tuxbox-linux-gnu-ranlib \
     261        DS_ST=powerpc-tuxbox-linux-gnu-strip
     262
     263cross-powerpc-tuxbox-linux-uclibc:
     264    @-$(MAKE) --no-print-directory \
     265        -f Maketype TYP=$(subst cross-,,$@) \
     266        OS_LIBS="-lm" \
     267        OS_CULI="-lncurses" \
     268        OS_PTLI="-lpthread" \
     269        DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DPPC -DCS_CONFDIR='\"/var/tuxbox/config\"' -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     270        DS_CFLAGS="-c" \
     271        DS_LDFLAGS="" \
     272        DS_ARFLAGS="-rvsl" \
     273        DS_CC=powerpc-tuxbox-linux-uclibc-gcc \
     274        DS_AR=powerpc-tuxbox-linux-uclibc-ar \
     275        DS_LD=powerpc-tuxbox-linux-uclibc-ld \
     276        DS_RL=powerpc-tuxbox-linux-uclibc-ranlib \
     277        DS_ST=powerpc-tuxbox-linux-uclibc-strip
     278
     279######################################################################
     280#
     281#   TripleDragon crosscompiler
     282#
     283######################################################################
     284cross-powerpc-405-linux:
     285    @-$(MAKE) --no-print-directory \
     286        -f Maketype TYP=$(subst cross-,,$@) \
     287        OS_LIBS="-lcrypto -ldl -lm" \
     288        OS_CULI="-lncurses" \
     289        OS_PTLI="-lpthread" \
     290        DS_OPTS="-O2 -DOS_LINUX -DTRIPLEDRAGON -DCS_LOGHISTORY -DCS_ANTICASC -DSTB04SCI -DCS_CONFDIR='\"/var/tuxbox/config\"' -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     291        DS_CFLAGS="-c" \
     292        DS_LDFLAGS="" \
     293        DS_ARFLAGS="-rvsl" \
     294        DS_CC=powerpc-405-linux-gnu-gcc \
     295        DS_AR=powerpc-405-linux-gnu-ar \
     296        DS_LD=powerpc-405-linux-gnu-ld \
     297        DS_RL=powerpc-405-linux-gnu-ranlib \
     298        DS_ST=powerpc-405-linux-gnu-strip
     299
     300######################################################################
     301#
     302#   sh4 crosscompiler
     303#
     304######################################################################
     305cross-sh4-linux:
     306    @-$(MAKE) --no-print-directory \
     307        -f Maketype TYP=$(subst cross-,,$@) \
     308        OS_LIBS="-lcrypto -lm" \
     309        OS_CULI="-lncurses" \
     310        OS_PTLI="-lpthread" \
     311        DS_OPTS="-O2 -DOS_LINUX -DSH4 -DTUXBOX -DCS_CONFDIR='\"/var/tuxbox/config\"' -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     312        DS_CFLAGS="-c" \
     313        DS_LDFLAGS="" \
     314        DS_ARFLAGS="-rvsl" \
     315        DS_CC=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-gcc \
     316        DS_AR=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-ar \
     317        DS_LD=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-ld \
     318        DS_RL=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-ranlib \
     319        DS_ST=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-strip
     320
     321cross-sh4-linux-stapi:
     322    @-$(MAKE) --no-print-directory \
     323        -f Maketype TYP=$(subst cross-,,$@) \
     324        OS_LIBS="-lcrypto -lm -L./stapi -loscam_stapi" \
     325        OS_CULI="-lncurses" \
     326        OS_PTLI="-lpthread" \
     327        DS_OPTS="-O2 -DOS_LINUX -DSH4 -DWITH_STAPI -DTUXBOX -DCS_CONFDIR='\"/var/tuxbox/config\"' -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     328        DS_CFLAGS="-c" \
     329        DS_LDFLAGS="" \
     330        DS_ARFLAGS="-rvsl" \
     331        DS_CC=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-gcc \
     332        DS_AR=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-ar \
     333        DS_LD=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-ld \
     334        DS_RL=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-ranlib \
     335        DS_ST=/opt/STM/STLinux-2.3/devkit/sh4/bin/sh4-linux-strip
     336
     337######################################################################
     338#
     339#   Cygwin crosscompiler
     340#
     341######################################################################
     342cross-i386-pc-cygwin:
     343    @-$(MAKE) --no-print-directory \
     344        -f Maketype TYP=$(subst cross-,,$@) \
     345        OS_LIBS="-lcrypto -lm" \
     346        OS_CULI="-lncurses" \
     347        OS_PTLI="-lpthread" \
     348        DS_OPTS="-O2 -DOS_CYGWIN32 -DCS_CONFDIR=${CS_CONFDIR} -static -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     349        DS_CFLAGS="-c" \
     350        DS_LDFLAGS="" \
     351        DS_ARFLAGS="-rvsl" \
     352        DS_CC=i686-pc-cygwin-gcc \
     353        DS_AR=i686-pc-cygwin-ar \
     354        DS_LD=i686-pc-cygwin-ld \
     355        DS_RL=i686-pc-cygwin-ranlib \
     356        DS_ST=i686-pc-cygwin-strip
     357
     358######################################################################
     359#
     360#   Cygwin native
     361#
     362######################################################################
     363i386-pc-cygwin:
     364    @-$(MAKE) --no-print-directory \
     365        -f Maketype TYP=$(subst cross-,,$@) \
     366        OS_LIBS="-lcrypto -lm" \
     367        OS_CULI="-lncurses" \
     368        OS_PTLI="-lpthread" \
     369        DS_OPTS="-O2 -DOS_CYGWIN32 -DCS_CONFDIR=${CS_CONFDIR} -I /tmp/include -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     370        DS_CFLAGS="-c" \
     371        DS_LDFLAGS="" \
     372        DS_ARFLAGS="-rvsl" \
     373        DS_CC=gcc \
     374        DS_AR=ar \
     375        DS_LD=ld \
     376        DS_RL=ranlib \
     377        DS_ST=strip
     378
     379
     380######################################################################
     381#
     382#   Cygwin native with PCSC
     383#
     384######################################################################
     385i386-pc-cygwin-pcsc:
     386    @-$(MAKE) --no-print-directory \
     387        -f Maketype TYP=$(subst cross-,,$@) \
     388        OS_LIBS="-lcrypto -lm -lwinscard" \
     389        OS_CULI="-lncurses" \
     390        OS_PTLI="-lpthread" \
     391        DS_OPTS="-O2 -DOS_CYGWIN32 -D_WIN32 -DCS_CONFDIR=${CS_CONFDIR} -DHAVE_PCSC=1 -I /tmp/include -I ./cygwin -I/usr/include/w32api -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     392        DS_CFLAGS="-c" \
     393        DS_LDFLAGS="-L/cygdrive/c/WINDOWS/system32/" \
     394        DS_ARFLAGS="-rvsl" \
     395        DS_CC=gcc \
     396        DS_AR=ar \
     397        DS_LD=ld \
     398        DS_RL=ranlib \
     399        DS_ST=strip
     400
     401######################################################################
     402#
     403#   Cygwin native with libusb
     404#
     405#   requires Visual Studio / Visual C++ for the winscard includes
     406######################################################################
     407i386-pc-cygwin-libusb:
     408    @-$(MAKE) --no-print-directory \
     409        -f Maketype TYP=$(subst cross-,,$@) \
     410        LIBUSB="/usr/lib/libusb-1.0.a" \
     411        OS_LIBS="-lcrypto -lm -lSetupAPI -lOle32 -lshell32" \
     412        OS_CULI="-lncurses" \
     413        OS_PTLI="-lpthread" \
     414        DS_OPTS="-O2 -DOS_CYGWIN32 -D_WIN32 -DLIBUSB -DCS_CONFDIR=${CS_CONFDIR} -I /tmp/include -I ./cygwin -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     415        DS_CFLAGS="-c" \
     416        DS_LDFLAGS="" \
     417        DS_ARFLAGS="-rvsl" \
     418        DS_CC=gcc \
     419        DS_AR=ar \
     420        DS_LD=ld \
     421        DS_RL=ranlib \
     422        DS_ST=strip
     423
     424
     425######################################################################
     426#
     427#   Solaris 7 crosscompiler
     428#
     429######################################################################
     430cross-sparc-sun-solaris2.7:
     431    @-$(MAKE) --no-print-directory \
     432        -f Maketype TYP=$(subst cross-,,$@) \
     433        OS_LIBS="-lm" \
     434        OS_CULI="-lncurses" \
     435        OS_PTLI="-lpthread" \
     436        DS_OPTS="-O2 -DOS_SOLARIS -DOS_SOLARIS7 -DBSD_COMP -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     437        DS_CFLAGS="-c" \
     438        DS_LDFLAGS="-lsocket" \
     439        DS_ARFLAGS="-rvsl" \
     440        DS_CC=sparc-sun-solaris2.7-gcc \
     441        DS_AR=sparc-sun-solaris2.7-ar \
     442        DS_LD=sparc-sun-solaris2.7-ld \
     443        DS_RL=sparc-sun-solaris2.7-ranlib \
     444        DS_ST=sparc-sun-solaris2.7-strip
     445
     446######################################################################
     447#
     448#   OpenSolaris native compiler
     449#
     450######################################################################
     451opensolaris:
     452    @-$(MAKE) --no-print-directory \
     453        -f Maketype TYP=$(subst cross-,,$@) \
     454        OS_LIBS="-lcrypto -lnsl -lm" \
     455        OS_CULI="-lncurses" \
     456        OS_PTLI="-lpthread" \
     457        DS_OPTS="-O2 -DOS_SOLARIS -DOS_SOLARIS7 -DBSD_COMP -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     458        DS_CFLAGS="-c" \
     459        DS_LDFLAGS="-lsocket" \
     460        DS_ARFLAGS="-rvsl" \
     461        DS_CC=gcc \
     462        DS_AR=ar \
     463        DS_LD=ld \
     464        DS_RL=ranlib \
     465        DS_ST=strip
     466
     467######################################################################
     468#
     469#   AIX 4.2 crosscompiler
     470#
     471######################################################################
     472cross-rs6000-ibm-aix4.2:
     473    @-$(MAKE) --no-print-directory \
     474        -f Maketype TYP=$(subst cross-,,$@) \
     475        OS_LIBS="-lm" \
     476        OS_CULI="-lncurses" \
     477        OS_PTLI="-lpthreads" \
     478        DS_OPTS="-O2 -DOS_AIX -DOS_AIX42 -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     479        DS_CFLAGS="-c" \
     480        DS_LDFLAGS="" \
     481        DS_ARFLAGS="-rvsl" \
     482        DS_CC=rs6000-ibm-aix4.2-gcc \
     483        DS_AR=rs6000-ibm-aix4.2-ar \
     484        DS_LD=rs6000-ibm-aix4.2-ld \
     485        DS_RL=rs6000-ibm-aix4.2-ranlib \
     486        DS_ST=rs6000-ibm-aix4.2-strip
     487
     488######################################################################
     489#
     490#   IRIX 6.5 crosscompiler
     491#
     492######################################################################
     493cross-mips-sgi-irix6.5:
     494    @-$(MAKE) --no-print-directory \
     495        -f Maketype TYP=$(subst cross-,,$@) \
     496        OS_LIBS="-lm" \
     497        OS_CULI="-lncurses" \
     498        OS_PTLI="-lpthread" \
     499        DS_OPTS="-O2 -DOS_IRIX -DOS_IRIX65 -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     500        DS_CFLAGS="-c" \
     501        DS_LDFLAGS="" \
     502        DS_ARFLAGS="-rvsl" \
     503        DS_CC=mips-sgi-irix6.5-gcc \
     504        DS_AR=mips-sgi-irix6.5-ar \
     505        DS_LD=mips-sgi-irix6.5-ld \
     506        DS_RL=mips-sgi-irix6.5-ranlib \
     507        DS_ST=mips-sgi-irix6.5-strip
     508
     509######################################################################
     510#
     511#   Linux MIPS(LE) crosscompiler with ucLibc 0.9.27
     512#
     513######################################################################
     514cross-mipsel-router-linux-uclibc927:
     515    @-mipsel-linux-uclibc-setlib 0.9.27
     516    @-$(MAKE) --no-print-directory \
     517        -f Maketype TYP=$(subst cross-,,$@) \
     518        OS_LIBS="-lm" \
     519        OS_CULI="-lncurses" \
     520        OS_PTLI="-lpthread" \
     521        DS_OPTS="-O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DUSE_GPIO -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     522        DS_CFLAGS="-c" \
     523        DS_LDFLAGS="" \
     524        DS_ARFLAGS="-rvsl" \
     525        DS_CC=mipsel-linux-uclibc-gcc \
     526        DS_AR=mipsel-linux-uclibc-ar \
     527        DS_LD=mipsel-linux-uclibc-ld \
     528        DS_RL=mipsel-linux-uclibc-ranlib \
     529        DS_ST=mipsel-linux-uclibc-strip
     530
     531######################################################################
     532#
     533#   Linux MIPS(LE) crosscompiler with ucLibc 0.9.28
     534#
     535######################################################################
     536cross-mipsel-router-linux-uclibc928:
     537    @-mipsel-linux-uclibc-setlib 0.9.28
     538    @-$(MAKE) --no-print-directory \
     539        -f Maketype TYP=$(subst cross-,,$@) \
     540        OS_LIBS="-lcrypto -lm" \
     541        OS_CULI="-lncurses" \
     542        OS_PTLI="-lpthread" \
     543        DS_OPTS="-O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DUSE_GPIO -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     544        DS_CFLAGS="-c" \
     545        DS_LDFLAGS="" \
     546        DS_ARFLAGS="-rvsl" \
     547        DS_CC=mipsel-linux-uclibc-gcc \
     548        DS_AR=mipsel-linux-uclibc-ar \
     549        DS_LD=mipsel-linux-uclibc-ld \
     550        DS_RL=mipsel-linux-uclibc-ranlib \
     551        DS_ST=mipsel-linux-uclibc-strip
     552
     553######################################################################
     554#
     555#   Linux MIPS(LE) crosscompiler with ucLibc 0.9.29
     556#
     557######################################################################
     558cross-mipsel-router-linux-uclibc929:
     559    @-mipsel-linux-uclibc-setlib 0.9.29
     560    @-$(MAKE) --no-print-directory \
     561        -f Maketype TYP=$(subst cross-,,$@) \
     562        OS_LIBS="-lcrypto -lm" \
     563        OS_CULI="-lncurses" \
     564        OS_PTLI="-lpthread" \
     565        DS_OPTS="-O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DUSE_GPIO -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     566        DS_CFLAGS="-c" \
     567        DS_LDFLAGS="" \
     568        DS_ARFLAGS="-rvsl" \
     569        DS_CC=mipsel-linux-uclibc-gcc \
     570        DS_AR=mipsel-linux-uclibc-ar \
     571        DS_LD=mipsel-linux-uclibc-ld \
     572        DS_RL=mipsel-linux-uclibc-ranlib \
     573        DS_ST=mipsel-linux-uclibc-strip
     574
     575######################################################################
     576#
     577#   Linux MIPS(LE) crosscompiler with ucLibc 0.9.29 (static)
     578#
     579######################################################################
     580cross-mipsel-router-linux-uclibc929-static:
     581    @-mipsel-linux-uclibc-setlib 0.9.29
     582    @-$(MAKE) --no-print-directory \
     583        -f Maketype TYP=$(subst cross-,,$@) \
     584        OS_LIBS="-lcrypto -lm" \
     585        OS_CULI="-lncurses" \
     586        OS_PTLI="-lpthread" \
     587        DS_OPTS="-O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DUSE_GPIO -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     588        DS_CFLAGS="-c" \
     589        DS_LDFLAGS="-static" \
     590        DS_ARFLAGS="-rvsl" \
     591        DS_CC=mipsel-linux-uclibc-gcc \
     592        DS_AR=mipsel-linux-uclibc-ar \
     593        DS_LD=mipsel-linux-uclibc-ld \
     594        DS_RL=mipsel-linux-uclibc-ranlib \
     595        DS_ST=mipsel-linux-uclibc-strip
     596
     597######################################################################
     598#
     599#   Linux MIPS(LE) crosscompiler for La Fonera 2.0
     600#
     601######################################################################
     602cross-mipsel-fonera2:
     603    @-$(MAKE) --no-print-directory \
     604        -f Maketype TYP=$(subst cross-,,$@) \
     605        OS_LIBS="-Lopenssl-lib -lcrypto -lm" \
     606        OS_CULI="-lncurses" \
     607        OS_PTLI="-lpthread" \
     608        DS_OPTS="-Iopenssl-include -O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     609        DS_CFLAGS="-c" \
     610        DS_LDFLAGS="" \
     611        DS_ARFLAGS="-rvsl" \
     612        DS_CC=mips-linux-gcc \
     613        DS_AR=mips-linux-ar \
     614        DS_LD=mips-linux-ld \
     615        DS_RL=mips-linux-ranlib \
     616        DS_ST=mips-linux-strip
     617
     618######################################################################
     619#
     620#   Linux MIPS(LE) crosscompiler with glibc (DM7025)
     621#
     622######################################################################
     623cross-mipsel-tuxbox-linux-glibc:
     624    @-$(MAKE) --no-print-directory \
     625        -f Maketype TYP=$(subst cross-,,$@) \
     626        OS_LIBS="-lcrypto -lm" \
     627        OS_CULI="-lncurses" \
     628        OS_PTLI="-lpthread" \
     629        DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DMIPSEL -DCS_CONFDIR='\"/var/tuxbox/config\"' -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     630        DS_CFLAGS="-c" \
     631        DS_LDFLAGS="" \
     632        DS_ARFLAGS="-rvsl" \
     633        DS_CC=mipsel-linux-glibc-gcc \
     634        DS_AR=mipsel-linux-glibc-ar \
     635        DS_LD=mipsel-linux-glibc-ld \
     636        DS_RL=mipsel-linux-glibc-ranlib \
     637        DS_ST=mipsel-linux-glibc-strip
     638
     639cross-mipsel-tuxbox-linux:
     640    @-$(MAKE) --no-print-directory \
     641        -f Maketype TYP=$(subst cross-,,$@) \
     642        OS_LIBS="-lcrypto -lm" \
     643        OS_CULI="-lncurses" \
     644        OS_PTLI="-lpthread" \
     645        DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DMIPSEL -DCS_CONFDIR='\"/var/tuxbox/config\"' -static-libgcc -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     646        DS_CFLAGS="-c" \
     647        DS_LDFLAGS="" \
     648        DS_ARFLAGS="-rvsl" \
     649        DS_CC=mipsel-linux-gcc \
     650        DS_AR=mipsel-linux-ar \
     651        DS_LD=mipsel-linux-ld \
     652        DS_RL=mipsel-linux-ranlib \
     653        DS_ST=mipsel-linux-strip
     654
     655######################################################################
     656#
     657#   HP/UX 10.20 native
     658#
     659######################################################################
     660hppa1.1-hp-hpux10.20:
     661    @-$(MAKE) --no-print-directory \
     662        -f Maketype TYP=$(subst cross-,,$@) \
     663        OS_LIBS="-lm" \
     664        OS_CULI="-lncurses" \
     665        OS_PTLI="-lpthread" \
     666        DS_OPTS="-O2 -DOS_HPUX -DOS_HPUX10 -D_XOPEN_SOURCE_EXTENDED -DCS_CONFDIR=${CS_CONFDIR} -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     667        DS_CFLAGS="-c" \
     668        DS_LDFLAGS="" \
     669        DS_ARFLAGS="-rvsl" \
     670        DS_CC=gcc \
     671        DS_AR=ar \
     672        DS_LD=ld \
     673        DS_RL=ranlib \
     674        DS_ST=strip
     675
     676######################################################################
     677#
     678#   OSF5.1 native
     679#
     680######################################################################
     681alpha-dec-osf5.1:
     682    @-$(MAKE) --no-print-directory \
     683        -f Maketype TYP=$(subst cross-,,$@) \
     684        OS_LIBS="-lm" \
     685        OS_CULI="-lncurses" \
     686        OS_PTLI="-lpthread" \
     687        DS_OPTS="-O2 -DOS_OSF -DOS_OSF5 -DCS_CONFDIR=${CS_CONFDIR} -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     688        XDS_CFLAGS="-I/usr/include -c" \
     689        DS_CFLAGS="-c" \
     690        DS_LDFLAGS="" \
     691        DS_ARFLAGS="-rvsl" \
     692        DS_CC=cc \
     693        DS_AR=ar \
     694        DS_LD=ld \
     695        DS_RL=ranlib \
     696        DS_ST=strip
     697
     698######################################################################
     699#
     700#   ARM crosscompiler (big-endian)
     701#
     702######################################################################
     703cross-arm-nslu2-linux:
     704    @-$(MAKE) --no-print-directory \
     705        -f Maketype TYP="$(subst cross-,,$@)" \
     706        OS_LIBS="-lm" \
     707        OS_CULI="-lncurses" \
     708        OS_PTLI="-lpthread" \
     709        DS_OPTS="-DOS_LINUX -O2 -DARM -DALIGNMENT -DCS_CONFDIR=${CS_CONFDIR} -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     710        DS_CFLAGS="-c" \
     711        DS_LDFLAGS="" \
     712        DS_ARFLAGS="-rvsl" \
     713        DS_AWK="awk" \
     714        DS_CC="armv5b-softfloat-linux-gcc" \
     715        DS_AR="armv5b-softfloat-linux-ar" \
     716        DS_LD="armv5b-softfloat-linux-ld" \
     717        DS_RL="armv5b-softfloat-linux-ranlib" \
     718        DS_ST="armv5b-softfloat-linux-strip"
     719
     720######################################################################
     721#
     722#   ARM crosscompiler (big-endian)
     723#
     724######################################################################
     725cross-armBE-unkown-linux:
     726    -$(MAKE) --no-print-directory \
     727        -f Maketype TYP="$(subst cross-,,$@)" \
     728        OS_LIBS="-lm" \
     729        OS_CULI="-lncurses" \
     730        OS_PTLI="-lpthread" \
     731        DS_OPTS="-DOS_LINUX -O2 -DARM -DALIGNMENT -DCS_CONFDIR=${CS_CONFDIR} -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     732        DS_CFLAGS="-c" \
     733        DS_LDFLAGS="" \
     734        DS_ARFLAGS="-rvsl" \
     735        DS_AWK="awk" \
     736        DS_CC="arm-linux-gcc -mbig-endian" \
     737        DS_AR="arm-linux-ar" \
     738        DS_LD="arm-linux-ld -EB" \
     739        DS_RL="arm-linux-ranlib" \
     740        DS_ST="arm-linux-strip"
     741
     742######################################################################
     743#
     744#   ARM crosscompiler (little-endian)
     745#
     746######################################################################
     747cross-armLE-unkown-linux:
     748    -$(MAKE) --no-print-directory \
     749        -f Maketype TYP="$(subst cross-,,$@)" \
     750        OS_LIBS="-lm" \
     751        OS_CULI="-lncurses" \
     752        OS_PTLI="-lpthread" \
     753        DS_OPTS="-DOS_LINUX -O2 -DARM -DALIGNMENT -DCS_CONFDIR=${CS_CONFDIR}  -D'CS_SVN_VERSION="\"$(SVN_REV)\""'" \
     754        DS_CFLAGS="-c" \
     755        DS_LDFLAGS="" \
     756        DS_ARFLAGS="-rvsl" \
     757        DS_AWK="awk" \
     758        DS_CC="arm-linux-gcc -mlittle-endian" \
     759        DS_AR="arm-linux-ar" \
     760        DS_LD="arm-linux-ld -EL" \
     761        DS_RL="arm-linux-ranlib" \
     762        DS_ST="arm-linux-strip"
  • trunk/cscrypt/Makefile

    r3715 r3716  
    1 # CMAKE generated file: DO NOT EDIT!
    2 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
     1SHELL       = /bin/sh
    32
    4 # Default target executed when no arguments are given to make.
    5 default_target: all
    6 .PHONY : default_target
     3GENERAL     = Makefile cscrypt.h des.h bn.h
    74
    8 #=============================================================================
    9 # Special targets provided by cmake.
     5LIBDIR      = ../lib
     6LIBFILE1    = $(LIBDIR)/libcscrypt-$(TYP).a
    107
    11 # Disable implicit rules so canoncical targets will work.
    12 .SUFFIXES:
     8OBJECTS1    = $(LIBFILE1)(md5.o) \
     9          $(LIBFILE1)(crc32.o) \
     10          $(LIBFILE1)(des.o) \
     11          $(LIBFILE1)(bn_add.o) \
     12          $(LIBFILE1)(bn_asm.o) \
     13          $(LIBFILE1)(bn_ctx.o) \
     14          $(LIBFILE1)(bn_div.o) \
     15          $(LIBFILE1)(bn_exp.o) \
     16          $(LIBFILE1)(bn_lib.o) \
     17          $(LIBFILE1)(bn_mul.o) \
     18          $(LIBFILE1)(bn_print.o) \
     19          $(LIBFILE1)(bn_shift.o) \
     20          $(LIBFILE1)(bn_sqr.o) \
     21          $(LIBFILE1)(bn_word.o) \
     22          $(LIBFILE1)(i_cbc.o) \
     23          $(LIBFILE1)(i_skey.o) \
     24          $(LIBFILE1)(mem.o)
    1325
    14 # Remove some rules from gmake that .SUFFIXES does not remove.
    15 SUFFIXES =
     26all:        $(LIBFILE1)
    1627
    17 .SUFFIXES: .hpux_make_needs_suffix_list
     28$(LIBFILE1):    $(OBJECTS1)
     29        -@$(RANLIB) $@
    1830
    19 # Suppress display of executed commands.
    20 $(VERBOSE).SILENT:
     31$(OBJECTS1):    $(GENERAL)
    2132
    22 # A target that is always out of date.
    23 cmake_force:
    24 .PHONY : cmake_force
     33.c.a:
     34        $(CC) $(CFLAGS) $<
     35        $(AR) $(ARFLAGS) $@ $*.o
     36        -@rm -f $*.o
    2537
    26 #=============================================================================
    27 # Set environment variables for the build.
    28 
    29 # The shell in which to execute make rules.
    30 SHELL = /bin/sh
    31 
    32 # The CMake executable.
    33 CMAKE_COMMAND = /usr/bin/cmake
    34 
    35 # The command to remove a file.
    36 RM = /usr/bin/cmake -E remove -f
    37 
    38 # The top-level source directory on which CMake was run.
    39 CMAKE_SOURCE_DIR = /home/cogsi/code/oscam-svn
    40 
    41 # The top-level build directory on which CMake was run.
    42 CMAKE_BINARY_DIR = /home/cogsi/code/oscam-svn
    43 
    44 #=============================================================================
    45 # Targets provided globally by CMake.
    46 
    47 # Special rule for the target edit_cache
    48 edit_cache:
    49     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
    50     /usr/bin/cmake -i .
    51 .PHONY : edit_cache
    52 
    53 # Special rule for the target edit_cache
    54 edit_cache/fast: edit_cache
    55 .PHONY : edit_cache/fast
    56 
    57 # Special rule for the target install
    58 install: preinstall
    59     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
    60     /usr/bin/cmake -P cmake_install.cmake
    61 .PHONY : install
    62 
    63 # Special rule for the target install
    64 install/fast: preinstall/fast
    65     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
    66     /usr/bin/cmake -P cmake_install.cmake
    67 .PHONY : install/fast
    68 
    69 # Special rule for the target install/local
    70 install/local: preinstall
    71     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
    72     /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
    73 .PHONY : install/local
    74 
    75 # Special rule for the target install/local
    76 install/local/fast: install/local
    77 .PHONY : install/local/fast
    78 
    79 # Special rule for the target install/strip
    80 install/strip: preinstall
    81     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
    82     /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
    83 .PHONY : install/strip
    84 
    85 # Special rule for the target install/strip
    86 install/strip/fast: install/strip
    87 .PHONY : install/strip/fast
    88 
    89 # Special rule for the target list_install_components
    90 list_install_components:
    91     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"bin\" \"doc\""
    92 .PHONY : list_install_components
    93 
    94 # Special rule for the target list_install_components
    95 list_install_components/fast: list_install_components
    96 .PHONY : list_install_components/fast
    97 
    98 # Special rule for the target package
    99 package: preinstall
    100     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
    101     cd /home/cogsi/code/oscam-svn && /usr/bin/cpack --config ./CPackConfig.cmake
    102 .PHONY : package
    103 
    104 # Special rule for the target package
    105 package/fast: package
    106 .PHONY : package/fast
    107 
    108 # Special rule for the target package_source
    109 package_source:
    110     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
    111     cd /home/cogsi/code/oscam-svn && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/cogsi/code/oscam-svn/CPackSourceConfig.cmake
    112 .PHONY : package_source
    113 
    114 # Special rule for the target package_source
    115 package_source/fast: package_source
    116 .PHONY : package_source/fast
    117 
    118 # Special rule for the target rebuild_cache
    119 rebuild_cache:
    120     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
    121     /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
    122 .PHONY : rebuild_cache
    123 
    124 # Special rule for the target rebuild_cache
    125 rebuild_cache/fast: rebuild_cache
    126 .PHONY : rebuild_cache/fast
    127 
    128 # The main all target
    129 all: cmake_check_build_system
    130     cd /home/cogsi/code/oscam-svn && $(CMAKE_COMMAND) -E cmake_progress_start /home/cogsi/code/oscam-svn/CMakeFiles /home/cogsi/code/oscam-svn/cscrypt/CMakeFiles/progress.marks
    131     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 cscrypt/all
    132     $(CMAKE_COMMAND) -E cmake_progress_start /home/cogsi/code/oscam-svn/CMakeFiles 0
    133 .PHONY : all
    134 
    135 # The main clean target
    136 clean:
    137     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 cscrypt/clean
    138 .PHONY : clean
    139 
    140 # The main clean target
    141 clean/fast: clean
    142 .PHONY : clean/fast
    143 
    144 # Prepare targets for installation.
    145 preinstall: all
    146     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 cscrypt/preinstall
    147 .PHONY : preinstall
    148 
    149 # Prepare targets for installation.
    150 preinstall/fast:
    151     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 cscrypt/preinstall
    152 .PHONY : preinstall/fast
    153 
    154 # clear depends
    155 depend:
    156     cd /home/cogsi/code/oscam-svn && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
    157 .PHONY : depend
    158 
    159 # Convenience name for target.
    160 cscrypt/CMakeFiles/cscrypt.dir/rule:
    161     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 cscrypt/CMakeFiles/cscrypt.dir/rule
    162 .PHONY : cscrypt/CMakeFiles/cscrypt.dir/rule
    163 
    164 # Convenience name for target.
    165 cscrypt: cscrypt/CMakeFiles/cscrypt.dir/rule
    166 .PHONY : cscrypt
    167 
    168 # fast build rule for target.
    169 cscrypt/fast:
    170     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/build
    171 .PHONY : cscrypt/fast
    172 
    173 # target to build an object file
    174 aes/aes_core.o:
    175     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/aes/aes_core.o
    176 .PHONY : aes/aes_core.o
    177 
    178 # target to preprocess a source file
    179 aes/aes_core.i:
    180     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/aes/aes_core.i
    181 .PHONY : aes/aes_core.i
    182 
    183 # target to generate assembly for a file
    184 aes/aes_core.s:
    185     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/aes/aes_core.s
    186 .PHONY : aes/aes_core.s
    187 
    188 # target to build an object file
    189 bn_add.o:
    190     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_add.o
    191 .PHONY : bn_add.o
    192 
    193 # target to preprocess a source file
    194 bn_add.i:
    195     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_add.i
    196 .PHONY : bn_add.i
    197 
    198 # target to generate assembly for a file
    199 bn_add.s:
    200     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_add.s
    201 .PHONY : bn_add.s
    202 
    203 # target to build an object file
    204 bn_asm.o:
    205     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_asm.o
    206 .PHONY : bn_asm.o
    207 
    208 # target to preprocess a source file
    209 bn_asm.i:
    210     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_asm.i
    211 .PHONY : bn_asm.i
    212 
    213 # target to generate assembly for a file
    214 bn_asm.s:
    215     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_asm.s
    216 .PHONY : bn_asm.s
    217 
    218 # target to build an object file
    219 bn_ctx.o:
    220     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.o
    221 .PHONY : bn_ctx.o
    222 
    223 # target to preprocess a source file
    224 bn_ctx.i:
    225     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.i
    226 .PHONY : bn_ctx.i
    227 
    228 # target to generate assembly for a file
    229 bn_ctx.s:
    230     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_ctx.s
    231 .PHONY : bn_ctx.s
    232 
    233 # target to build an object file
    234 bn_div.o:
    235     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_div.o
    236 .PHONY : bn_div.o
    237 
    238 # target to preprocess a source file
    239 bn_div.i:
    240     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_div.i
    241 .PHONY : bn_div.i
    242 
    243 # target to generate assembly for a file
    244 bn_div.s:
    245     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_div.s
    246 .PHONY : bn_div.s
    247 
    248 # target to build an object file
    249 bn_exp.o:
    250     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_exp.o
    251 .PHONY : bn_exp.o
    252 
    253 # target to preprocess a source file
    254 bn_exp.i:
    255     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_exp.i
    256 .PHONY : bn_exp.i
    257 
    258 # target to generate assembly for a file
    259 bn_exp.s:
    260     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_exp.s
    261 .PHONY : bn_exp.s
    262 
    263 # target to build an object file
    264 bn_lib.o:
    265     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_lib.o
    266 .PHONY : bn_lib.o
    267 
    268 # target to preprocess a source file
    269 bn_lib.i:
    270     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_lib.i
    271 .PHONY : bn_lib.i
    272 
    273 # target to generate assembly for a file
    274 bn_lib.s:
    275     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_lib.s
    276 .PHONY : bn_lib.s
    277 
    278 # target to build an object file
    279 bn_mul.o:
    280     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_mul.o
    281 .PHONY : bn_mul.o
    282 
    283 # target to preprocess a source file
    284 bn_mul.i:
    285     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_mul.i
    286 .PHONY : bn_mul.i
    287 
    288 # target to generate assembly for a file
    289 bn_mul.s:
    290     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_mul.s
    291 .PHONY : bn_mul.s
    292 
    293 # target to build an object file
    294 bn_print.o:
    295     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_print.o
    296 .PHONY : bn_print.o
    297 
    298 # target to preprocess a source file
    299 bn_print.i:
    300     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_print.i
    301 .PHONY : bn_print.i
    302 
    303 # target to generate assembly for a file
    304 bn_print.s:
    305     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_print.s
    306 .PHONY : bn_print.s
    307 
    308 # target to build an object file
    309 bn_shift.o:
    310     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_shift.o
    311 .PHONY : bn_shift.o
    312 
    313 # target to preprocess a source file
    314 bn_shift.i:
    315     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_shift.i
    316 .PHONY : bn_shift.i
    317 
    318 # target to generate assembly for a file
    319 bn_shift.s:
    320     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_shift.s
    321 .PHONY : bn_shift.s
    322 
    323 # target to build an object file
    324 bn_sqr.o:
    325     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.o
    326 .PHONY : bn_sqr.o
    327 
    328 # target to preprocess a source file
    329 bn_sqr.i:
    330     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.i
    331 .PHONY : bn_sqr.i
    332 
    333 # target to generate assembly for a file
    334 bn_sqr.s:
    335     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_sqr.s
    336 .PHONY : bn_sqr.s
    337 
    338 # target to build an object file
    339 bn_word.o:
    340     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_word.o
    341 .PHONY : bn_word.o
    342 
    343 # target to preprocess a source file
    344 bn_word.i:
    345     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_word.i
    346 .PHONY : bn_word.i
    347 
    348 # target to generate assembly for a file
    349 bn_word.s:
    350     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/bn_word.s
    351 .PHONY : bn_word.s
    352 
    353 # target to build an object file
    354 crc32.o:
    355     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/crc32.o
    356 .PHONY : crc32.o
    357 
    358 # target to preprocess a source file
    359 crc32.i:
    360     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/crc32.i
    361 .PHONY : crc32.i
    362 
    363 # target to generate assembly for a file
    364 crc32.s:
    365     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/crc32.s
    366 .PHONY : crc32.s
    367 
    368 # target to build an object file
    369 des.o:
    370     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/des.o
    371 .PHONY : des.o
    372 
    373 # target to preprocess a source file
    374 des.i:
    375     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/des.i
    376 .PHONY : des.i
    377 
    378 # target to generate assembly for a file
    379 des.s:
    380     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/des.s
    381 .PHONY : des.s
    382 
    383 # target to build an object file
    384 i_cbc.o:
    385     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/i_cbc.o
    386 .PHONY : i_cbc.o
    387 
    388 # target to preprocess a source file
    389 i_cbc.i:
    390     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/i_cbc.i
    391 .PHONY : i_cbc.i
    392 
    393 # target to generate assembly for a file
    394 i_cbc.s:
    395     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/i_cbc.s
    396 .PHONY : i_cbc.s
    397 
    398 # target to build an object file
    399 i_skey.o:
    400     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/i_skey.o
    401 .PHONY : i_skey.o
    402 
    403 # target to preprocess a source file
    404 i_skey.i:
    405     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/i_skey.i
    406 .PHONY : i_skey.i
    407 
    408 # target to generate assembly for a file
    409 i_skey.s:
    410     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/i_skey.s
    411 .PHONY : i_skey.s
    412 
    413 # target to build an object file
    414 md5.o:
    415     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/md5.o
    416 .PHONY : md5.o
    417 
    418 # target to preprocess a source file
    419 md5.i:
    420     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/md5.i
    421 .PHONY : md5.i
    422 
    423 # target to generate assembly for a file
    424 md5.s:
    425     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/md5.s
    426 .PHONY : md5.s
    427 
    428 # target to build an object file
    429 mem.o:
    430     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/mem.o
    431 .PHONY : mem.o
    432 
    433 # target to preprocess a source file
    434 mem.i:
    435     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/mem.i
    436 .PHONY : mem.i
    437 
    438 # target to generate assembly for a file
    439 mem.s:
    440     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/mem.s
    441 .PHONY : mem.s
    442 
    443 # target to build an object file
    444 sha/sha1.o:
    445     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/sha/sha1.o
    446 .PHONY : sha/sha1.o
    447 
    448 # target to preprocess a source file
    449 sha/sha1.i:
    450     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/sha/sha1.i
    451 .PHONY : sha/sha1.i
    452 
    453 # target to generate assembly for a file
    454 sha/sha1.s:
    455     cd /home/cogsi/code/oscam-svn && $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/sha/sha1.s
    456 .PHONY : sha/sha1.s
    457 
    458 # Help Target
    459 help:
    460     @echo "The following are some of the valid targets for this Makefile:"
    461     @echo "... all (the default if no target is provided)"
    462     @echo "... clean"
    463     @echo "... depend"
    464     @echo "... cscrypt"
    465     @echo "... edit_cache"
    466     @echo "... install"
    467     @echo "... install/local"
    468     @echo "... install/strip"
    469     @echo "... list_install_components"
    470     @echo "... package"
    471     @echo "... package_source"
    472     @echo "... rebuild_cache"
    473     @echo "... aes/aes_core.o"
    474     @echo "... aes/aes_core.i"
    475     @echo "... aes/aes_core.s"
    476     @echo "... bn_add.o"
    477     @echo "... bn_add.i"
    478     @echo "... bn_add.s"
    479     @echo "... bn_asm.o"
    480     @echo "... bn_asm.i"
    481     @echo "... bn_asm.s"
    482     @echo "... bn_ctx.o"
    483     @echo "... bn_ctx.i"
    484     @echo "... bn_ctx.s"
    485     @echo "... bn_div.o"
    486     @echo "... bn_div.i"
    487     @echo "... bn_div.s"
    488     @echo "... bn_exp.o"
    489     @echo "... bn_exp.i"
    490     @echo "... bn_exp.s"
    491     @echo "... bn_lib.o"
    492     @echo "... bn_lib.i"
    493     @echo "... bn_lib.s"
    494     @echo "... bn_mul.o"
    495     @echo "... bn_mul.i"
    496     @echo "... bn_mul.s"
    497     @echo "... bn_print.o"
    498     @echo "... bn_print.i"
    499     @echo "... bn_print.s"
    500     @echo "... bn_shift.o"
    501     @echo "... bn_shift.i"
    502     @echo "... bn_shift.s"
    503     @echo "... bn_sqr.o"
    504     @echo "... bn_sqr.i"
    505     @echo "... bn_sqr.s"
    506     @echo "... bn_word.o"
    507     @echo "... bn_word.i"
    508     @echo "... bn_word.s"
    509     @echo "... crc32.o"
    510     @echo "... crc32.i"
    511     @echo "... crc32.s"
    512     @echo "... des.o"
    513     @echo "... des.i"
    514     @echo "... des.s"
    515     @echo "... i_cbc.o"
    516     @echo "... i_cbc.i"
    517     @echo "... i_cbc.s"
    518     @echo "... i_skey.o"
    519     @echo "... i_skey.i"
    520     @echo "... i_skey.s"
    521     @echo "... md5.o"
    522     @echo "... md5.i"
    523     @echo "... md5.s"
    524     @echo "... mem.o"
    525     @echo "... mem.i"
    526     @echo "... mem.s"
    527     @echo "... sha/sha1.o"
    528     @echo "... sha/sha1.i"
    529     @echo "... sha/sha1.s"
    530 .PHONY : help
    531 
    532 
    533 
    534 #=============================================================================
    535 # Special targets to cleanup operation of make.
    536 
    537 # Special rule to run CMake to check the build system integrity.
    538 # No rule that depends on this can have commands that come from listfiles
    539 # because they might be regenerated.
    540 cmake_check_build_system:
    541     cd /home/cogsi/code/oscam-svn && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
    542 .PHONY : cmake_check_build_system
    543 
     38.SUFFIXES:  .o .c .a
  • trunk/csctapi/Makefile

    r3715 r3716  
    1 # CMAKE generated file: DO NOT EDIT!
    2 # Generated by "Unix Makefiles" Generator, CMake Version 2.8
     1SHELL       = /bin/sh
    32
    4 # Default target executed when no arguments are given to make.
    5 default_target: all
    6 .PHONY : default_target
     3GENERAL     = Makefile
    74
    8 #=============================================================================
    9 # Special targets provided by cmake.
     5LIBDIR      = ../lib
     6LIBFILE1    = $(LIBDIR)/libcsctapi-$(TYP).a
    107
    11 # Disable implicit rules so canoncical targets will work.
    12 .SUFFIXES:
     8OBJECTS1    = $(LIBFILE1)(atr.o) \
     9          $(LIBFILE1)(icc_async.o) \
     10          $(LIBFILE1)(ifd_cool.o) \
     11          $(LIBFILE1)(ifd_sci.o) \
     12          $(LIBFILE1)(ifd_phoenix.o) \
     13          $(LIBFILE1)(ifd_sc8in1.o) \
     14          $(LIBFILE1)(ifd_mp35.o) \
     15          $(LIBFILE1)(ifd_pcsc.o) \
     16          $(LIBFILE1)(io_serial.o) \
     17          $(LIBFILE1)(protocol_t0.o) \
     18          $(LIBFILE1)(protocol_t1.o) \
     19          $(LIBFILE1)(t1_block.o) \
     20          $(LIBFILE1)(ifd_smartreader.o)
    1321
    14 # Remove some rules from gmake that .SUFFIXES does not remove.
    15 SUFFIXES =
     22all:        $(LIBFILE1)
    1623
    17 .SUFFIXES: .hpux_make_needs_suffix_list
     24$(LIBFILE1):    $(OBJECTS1)
     25        -@$(RANLIB) $@
    1826
    19 # Suppress display of executed commands.
    20 $(VERBOSE).SILENT:
     27$(OBJECTS1):    $(GENERAL)
    2128
    22 # A target that is always out of date.
    23 cmake_force:
    24 .PHONY : cmake_force
     29.c.a:
     30        $(CC) $(CFLAGS) $<
     31        $(AR) $(ARFLAGS) $@ $*.o
     32        -@rm -f $*.o
    2533
    26 #=============================================================================
    27 # Set environment variables for the build.
    28 
    29 # The shell in which to execute make rules.
    30 SHELL = /bin/sh
    31 
    32 # The CMake executable.
    33 CMAKE_COMMAND = /usr/bin/cmake
    34 
    35 # The command to remove a file.
    36 RM = /usr/bin/cmake -E remove -f
    37 
    38 # The top-level source directory on which CMake was run.
    39 CMAKE_SOURCE_DIR = /home/cogsi/code/oscam-svn
    40 
    41 # The top-level build directory on which CMake was run.
    42 CMAKE_BINARY_DIR = /home/cogsi/code/oscam-svn
    43 
    44 #=============================================================================
    45 # Targets provided globally by CMake.
    46 
    47 # Special rule for the target edit_cache
    48 edit_cache:
    49     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
    50     /usr/bin/cmake -i .
    51 .PHONY : edit_cache
    52 
    53 # Special rule for the target edit_cache
    54 edit_cache/fast: edit_cache
    55 .PHONY : edit_cache/fast
    56 
    57 # Special rule for the target install
    58 install: preinstall
    59     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
    60     /usr/bin/cmake -P cmake_install.cmake
    61 .PHONY : install
    62 
    63 # Special rule for the target install
    64 install/fast: preinstall/fast
    65     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
    66     /usr/bin/cmake -P cmake_install.cmake
    67 .PHONY : install/fast
    68 
    69 # Special rule for the target install/local
    70 install/local: preinstall
    71     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
    72     /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
    73 .PHONY : install/local
    74 
    75 # Special rule for the target install/local
    76 install/local/fast: install/local
    77 .PHONY : install/local/fast
    78 
    79 # Special rule for the target install/strip
    80 install/strip: preinstall
    81     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
    82     /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
    83 .PHONY : install/strip
    84 
    85 # Special rule for the target install/strip
    86 install/strip/fast: install/strip
    87 .PHONY : install/strip/fast
    88 
    89 # Special rule for the target list_install_components
    90 list_install_components:
    91     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"bin\" \"doc\""
    92 .PHONY : list_install_components
    93 
    94 # Special rule for the target list_install_components
    95 list_install_components/fast: list_install_components
    96 .PHONY : list_install_components/fast
    97 
    98 # Special rule for the target package
    99 package: preinstall
    100     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
    101     cd /home/cogsi/code/oscam-svn && /usr/bin/cpack --config ./CPackConfig.cmake
    102 .PHONY : package
    103 
    104 # Special rule for the target package
    105 package/fast: package
    106 .PHONY : package/fast
    107 
    108 # Special rule for the target package_source
    109 package_source:
    110     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
    111     cd /home/cogsi/code/oscam-svn && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/cogsi/code/oscam-svn/CPackSourceConfig.cmake
    112 .PHONY : package_source
    113 
    114 # Special rule for the target package_source
    115 package_source/fast: package_source
    116 .PHONY : package_source/fast
    117 
    118 # Special rule for the target rebuild_cache
    119 rebuild_cache:
    120     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
    121     /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
    122 .PHONY : rebuild_cache
    123 
    124 # Special rule for the target rebuild_cache
    125 rebuild_cache/fast: rebuild_cache
    126 .PHONY : rebuild_cache/fast
    127 
    128 # The main all target
    129 all: cmake_check_build_system
    130     cd /home/cogsi/code/oscam-svn && $(CMAKE_COMMAND) -E cmake_progress_start /home/cogsi/code/oscam-svn/CMakeFiles /home/cogsi/code/oscam-svn/csctapi/CMakeFiles/progress.marks
    131     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 csctapi/all
    132     $(CMAKE_COMMAND) -E cmake_progress_start /home/cogsi/code/oscam-svn/CMakeFiles 0
    133 .PHONY : all
    134 
    135 # The main clean target
    136 clean:
    137     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 csctapi/clean
    138 .PHONY : clean
    139 
    140 # The main clean target
    141 clean/fast: clean
    142 .PHONY : clean/fast
    143 
    144 # Prepare targets for installation.
    145 preinstall: all
    146     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 csctapi/preinstall
    147 .PHONY : preinstall
    148 
    149 # Prepare targets for installation.
    150 preinstall/fast:
    151     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 csctapi/preinstall
    152 .PHONY : preinstall/fast
    153 
    154 # clear depends
    155 depend:
    156     cd /home/cogsi/code/oscam-svn && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
    157 .PHONY : depend
    158 
    159 # Convenience name for target.
    160 csctapi/CMakeFiles/csctapi.dir/rule:
    161     cd /home/cogsi/code/oscam-svn && $(MAKE) -f CMakeFiles/Makefile2 csctapi/CMakeFiles/csctapi.dir/rule
    162 .PHONY : csctapi/CMakeFiles/csctapi.dir/rule
    163 
    164 # Convenience name for target.
    165 csctapi: csctapi/CMakeFiles/csctapi.dir/rule
    166 .PHONY : csctapi
    167 
    168 # fast build rule for target.
    169 csctapi/fast:
    170     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/build
    171 .PHONY : csctapi/fast
    172 
    173 # target to build an object file
    174 atr.o:
    175     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/atr.o
    176 .PHONY : atr.o
    177 
    178 # target to preprocess a source file
    179 atr.i:
    180     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/atr.i
    181 .PHONY : atr.i
    182 
    183 # target to generate assembly for a file
    184 atr.s:
    185     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/atr.s
    186 .PHONY : atr.s
    187 
    188 # target to build an object file
    189 icc_async.o:
    190     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/icc_async.o
    191 .PHONY : icc_async.o
    192 
    193 # target to preprocess a source file
    194 icc_async.i:
    195     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/icc_async.i
    196 .PHONY : icc_async.i
    197 
    198 # target to generate assembly for a file
    199 icc_async.s:
    200     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/icc_async.s
    201 .PHONY : icc_async.s
    202 
    203 # target to build an object file
    204 ifd_azbox.o:
    205     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_azbox.o
    206 .PHONY : ifd_azbox.o
    207 
    208 # target to preprocess a source file
    209 ifd_azbox.i:
    210     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_azbox.i
    211 .PHONY : ifd_azbox.i
    212 
    213 # target to generate assembly for a file
    214 ifd_azbox.s:
    215     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_azbox.s
    216 .PHONY : ifd_azbox.s
    217 
    218 # target to build an object file
    219 ifd_cool.o:
    220     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_cool.o
    221 .PHONY : ifd_cool.o
    222 
    223 # target to preprocess a source file
    224 ifd_cool.i:
    225     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_cool.i
    226 .PHONY : ifd_cool.i
    227 
    228 # target to generate assembly for a file
    229 ifd_cool.s:
    230     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_cool.s
    231 .PHONY : ifd_cool.s
    232 
    233 # target to build an object file
    234 ifd_mp35.o:
    235     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_mp35.o
    236 .PHONY : ifd_mp35.o
    237 
    238 # target to preprocess a source file
    239 ifd_mp35.i:
    240     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_mp35.i
    241 .PHONY : ifd_mp35.i
    242 
    243 # target to generate assembly for a file
    244 ifd_mp35.s:
    245     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_mp35.s
    246 .PHONY : ifd_mp35.s
    247 
    248 # target to build an object file
    249 ifd_pcsc.o:
    250     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.o
    251 .PHONY : ifd_pcsc.o
    252 
    253 # target to preprocess a source file
    254 ifd_pcsc.i:
    255     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.i
    256 .PHONY : ifd_pcsc.i
    257 
    258 # target to generate assembly for a file
    259 ifd_pcsc.s:
    260     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_pcsc.s
    261 .PHONY : ifd_pcsc.s
    262 
    263 # target to build an object file
    264 ifd_phoenix.o:
    265     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.o
    266 .PHONY : ifd_phoenix.o
    267 
    268 # target to preprocess a source file
    269 ifd_phoenix.i:
    270     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.i
    271 .PHONY : ifd_phoenix.i
    272 
    273 # target to generate assembly for a file
    274 ifd_phoenix.s:
    275     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_phoenix.s
    276 .PHONY : ifd_phoenix.s
    277 
    278 # target to build an object file
    279 ifd_sc8in1.o:
    280     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.o
    281 .PHONY : ifd_sc8in1.o
    282 
    283 # target to preprocess a source file
    284 ifd_sc8in1.i:
    285     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.i
    286 .PHONY : ifd_sc8in1.i
    287 
    288 # target to generate assembly for a file
    289 ifd_sc8in1.s:
    290     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_sc8in1.s
    291 .PHONY : ifd_sc8in1.s
    292 
    293 # target to build an object file
    294 ifd_sci.o:
    295     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_sci.o
    296 .PHONY : ifd_sci.o
    297 
    298 # target to preprocess a source file
    299 ifd_sci.i:
    300     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_sci.i
    301 .PHONY : ifd_sci.i
    302 
    303 # target to generate assembly for a file
    304 ifd_sci.s:
    305     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_sci.s
    306 .PHONY : ifd_sci.s
    307 
    308 # target to build an object file
    309 ifd_smartreader.o:
    310     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.o
    311 .PHONY : ifd_smartreader.o
    312 
    313 # target to preprocess a source file
    314 ifd_smartreader.i:
    315     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.i
    316 .PHONY : ifd_smartreader.i
    317 
    318 # target to generate assembly for a file
    319 ifd_smartreader.s:
    320     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/ifd_smartreader.s
    321 .PHONY : ifd_smartreader.s
    322 
    323 # target to build an object file
    324 io_serial.o:
    325     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/io_serial.o
    326 .PHONY : io_serial.o
    327 
    328 # target to preprocess a source file
    329 io_serial.i:
    330     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/io_serial.i
    331 .PHONY : io_serial.i
    332 
    333 # target to generate assembly for a file
    334 io_serial.s:
    335     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/io_serial.s
    336 .PHONY : io_serial.s
    337 
    338 # target to build an object file
    339 protocol_t0.o:
    340     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/protocol_t0.o
    341 .PHONY : protocol_t0.o
    342 
    343 # target to preprocess a source file
    344 protocol_t0.i:
    345     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/protocol_t0.i
    346 .PHONY : protocol_t0.i
    347 
    348 # target to generate assembly for a file
    349 protocol_t0.s:
    350     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/protocol_t0.s
    351 .PHONY : protocol_t0.s
    352 
    353 # target to build an object file
    354 protocol_t1.o:
    355     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/protocol_t1.o
    356 .PHONY : protocol_t1.o
    357 
    358 # target to preprocess a source file
    359 protocol_t1.i:
    360     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/protocol_t1.i
    361 .PHONY : protocol_t1.i
    362 
    363 # target to generate assembly for a file
    364 protocol_t1.s:
    365     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/protocol_t1.s
    366 .PHONY : protocol_t1.s
    367 
    368 # target to build an object file
    369 t1_block.o:
    370     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/t1_block.o
    371 .PHONY : t1_block.o
    372 
    373 # target to preprocess a source file
    374 t1_block.i:
    375     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/t1_block.i
    376 .PHONY : t1_block.i
    377 
    378 # target to generate assembly for a file
    379 t1_block.s:
    380     cd /home/cogsi/code/oscam-svn && $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/t1_block.s
    381 .PHONY : t1_block.s
    382 
    383 # Help Target
    384 help:
    385     @echo "The following are some of the valid targets for this Makefile:"
    386     @echo "... all (the default if no target is provided)"
    387     @echo "... clean"
    388     @echo "... depend"
    389     @echo "... csctapi"
    390     @echo "... edit_cache"
    391     @echo "... install"
    392     @echo "... install/local"
    393     @echo "... install/strip"
    394     @echo "... list_install_components"
    395     @echo "... package"
    396     @echo "... package_source"
    397     @echo "... rebuild_cache"
    398     @echo "... atr.o"
    399     @echo "... atr.i"
    400     @echo "... atr.s"
    401     @echo "... icc_async.o"
    402     @echo "... icc_async.i"
    403     @echo "... icc_async.s"
    404     @echo "... ifd_azbox.o"
    405     @echo "... ifd_azbox.i"
    406     @echo "... ifd_azbox.s"
    407     @echo "... ifd_cool.o"
    408     @echo "... ifd_cool.i"
    409     @echo "... ifd_cool.s"
    410     @echo "... ifd_mp35.o"
    411     @echo "... ifd_mp35.i"
    412     @echo "... ifd_mp35.s"
    413     @echo "... ifd_pcsc.o"
    414     @echo "... ifd_pcsc.i"
    415     @echo "... ifd_pcsc.s"
    416     @echo "... ifd_phoenix.o"
    417     @echo "... ifd_phoenix.i"
    418     @echo "... ifd_phoenix.s"
    419     @echo "... ifd_sc8in1.o"
    420     @echo "... ifd_sc8in1.i"
    421     @echo "... ifd_sc8in1.s"
    422     @echo "... ifd_sci.o"
    423     @echo "... ifd_sci.i"
    424     @echo "... ifd_sci.s"
    425     @echo "... ifd_smartreader.o"
    426     @echo "... ifd_smartreader.i"
    427     @echo "... ifd_smartreader.s"
    428     @echo "... io_serial.o"
    429     @echo "... io_serial.i"
    430     @echo "... io_serial.s"
    431     @echo "... protocol_t0.o"
    432     @echo "... protocol_t0.i"
    433     @echo "... protocol_t0.s"
    434     @echo "... protocol_t1.o"
    435     @echo "... protocol_t1.i"
    436     @echo "... protocol_t1.s"
    437     @echo "... t1_block.o"
    438     @echo "... t1_block.i"
    439     @echo "... t1_block.s"
    440 .PHONY : help
    441 
    442 
    443 
    444 #=============================================================================
    445 # Special targets to cleanup operation of make.
    446 
    447 # Special rule to run CMake to check the build system integrity.
    448 # No rule that depends on this can have commands that come from listfiles
    449 # because they might be regenerated.
    450 cmake_check_build_system:
    451     cd /home/cogsi/code/oscam-svn && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
    452 .PHONY : cmake_check_build_system
    453 
     34.SUFFIXES:  .o .c .a
  • trunk/csctapi/ifd_pcsc.c

    r3715 r3716  
    157157   
    158158   
    159     cs_log("PCSC getting ATR for card in (%s) %d", pcsc_reader->pcsc_name, pcsc_reader->hCard);
     159    cs_debug("PCSC getting ATR for card in (%s)", pcsc_reader->pcsc_name);
    160160    rv = SCardStatus(pcsc_reader->hCard,NULL, &dwReaderLen, &dwState, &pcsc_reader->dwActiveProtocol, pbAtr, &dwAtrLen);
    161161    if ( rv == SCARD_S_SUCCESS ) {
     
    195195            pcsc_reader->pcsc_has_card=0;
    196196            if(pcsc_reader->hCard) {
    197 //                //SCardDisconnect(pcsc_reader->hCard,SCARD_RESET_CARD);
     197                SCardDisconnect(pcsc_reader->hCard,SCARD_RESET_CARD);
    198198                pcsc_reader->hCard=0;
    199199            }
     
    227227    }
    228228    else {
    229         //SCardDisconnect(pcsc_reader->hCard,SCARD_RESET_CARD);
     229        SCardDisconnect(pcsc_reader->hCard,SCARD_RESET_CARD);
    230230        pcsc_reader->hCard=0;
    231231        pcsc_reader->pcsc_has_card=0;
     
    238238{
    239239    cs_debug_mask (D_IFD, "PCSC : Closing device %s", pcsc_reader->device);
    240     //SCardDisconnect(pcsc_reader->hCard,SCARD_RESET_CARD);
     240    SCardDisconnect(pcsc_reader->hCard,SCARD_RESET_CARD);
    241241    SCardReleaseContext(pcsc_reader->hContext);
    242242    pcsc_reader->hCard=0;
  • trunk/oscam.c

    r3715 r3716  
    922922        pthread_attr_t attr;
    923923        pthread_attr_init(&attr);
    924 #if !defined(TUXBOX) && !defined(HAVE_PCSC)
    925         /* pcsc doesn't like this either - causes segfault on x86, x86_64 */
     924#ifndef TUXBOX
    926925        pthread_attr_setstacksize(&attr, PTHREAD_STACK_SIZE);
    927926#endif
Note: See TracChangeset for help on using the changeset viewer.