Changeset 470


Ignore:
Timestamp:
10/23/09 17:40:45 (11 years ago)
Author:
dingo35
Message:

Several small bugfixes, amongst others fixing incorrect protocol=mouse warning

Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r463 r470  
    1 SHELL   = /bin/sh
    2 
    3 VER = $(subst ",,$(filter-out \#define CS_VERSION,$(shell grep CS_VERSION globals.h)))
    4 CS_CONFDIR = '\"/usr/local/etc\"'
    5 
    6 export VER
    7 
    8 linux:  i386-pc-linux
    9 freebsd:    i386-pc-freebsd
    10 tuxbox: cross-powerpc-tuxbox-linux
    11 win:    cross-i386-pc-cygwin
    12 cygwin: i386-pc-cygwin
    13 macosx: macosx-native
    14 
    15 std:    linux \
    16    macosx \
    17     cross-i386-pc-cygwin \
    18     cross-powerpc-tuxbox-linux \
    19     cross-i386-pc-freebsd \
    20     cross-arm-nslu2-linux \
    21     cross-mipsel-router-linux-uclibc927 \
    22     cross-mipsel-router-linux-uclibc928 \
    23     cross-mipsel-tuxbox-linux-glibc \
    24     cross-mipsel-fonera2 \
    25     cross-sh4-linux
    26 
    27 all:    \
    28     cross-sparc-sun-solaris2.7 \
    29     cross-rs6000-ibm-aix4.2 \
    30     cross-mips-sgi-irix6.5
    31 
    32 
    33 dist:   std
    34     @cd Distribution && tar cvf "../oscam$(VER).tar" *
    35     @bzip2 -9f "oscam$(VER).tar"
    36 
    37 extra:  all
    38     @cd Distribution && tar cvf "../oscam$(VER)-extra.tar" *
    39     @bzip2 -9f "oscam$(VER)-extra.tar"
    40 
     1# CMAKE generated file: DO NOT EDIT!
     2# Generated by "Unix Makefiles" Generator, CMake Version 2.6
     3
     4# Default target executed when no arguments are given to make.
     5default_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.
     15SUFFIXES =
     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.
     23cmake_force:
     24.PHONY : cmake_force
     25
     26#=============================================================================
     27# Set environment variables for the build.
     28
     29# The shell in which to execute make rules.
     30SHELL = /bin/sh
     31
     32# The CMake executable.
     33CMAKE_COMMAND = /usr/bin/cmake
     34
     35# The command to remove a file.
     36RM = /usr/bin/cmake -E remove -f
     37
     38# The program to use to edit the cache.
     39CMAKE_EDIT_COMMAND = /usr/bin/ccmake
     40
     41# The top-level source directory on which CMake was run.
     42CMAKE_SOURCE_DIR = /tmp/trunk4
     43
     44# The top-level build directory on which CMake was run.
     45CMAKE_BINARY_DIR = /tmp/trunk4
     46
     47#=============================================================================
     48# Targets provided globally by CMake.
     49
     50# Special rule for the target edit_cache
     51edit_cache:
     52    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
     53    /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
     54.PHONY : edit_cache
     55
     56# Special rule for the target edit_cache
     57edit_cache/fast: edit_cache
     58.PHONY : edit_cache/fast
     59
     60# Special rule for the target install
     61install: preinstall
     62    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
     63    /usr/bin/cmake -P cmake_install.cmake
     64.PHONY : install
     65
     66# Special rule for the target install
     67install/fast: preinstall/fast
     68    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
     69    /usr/bin/cmake -P cmake_install.cmake
     70.PHONY : install/fast
     71
     72# Special rule for the target install/local
     73install/local: preinstall
     74    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
     75    /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
     76.PHONY : install/local
     77
     78# Special rule for the target install/local
     79install/local/fast: install/local
     80.PHONY : install/local/fast
     81
     82# Special rule for the target install/strip
     83install/strip: preinstall
     84    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
     85    /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
     86.PHONY : install/strip
     87
     88# Special rule for the target install/strip
     89install/strip/fast: install/strip
     90.PHONY : install/strip/fast
     91
     92# Special rule for the target list_install_components
     93list_install_components:
     94    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"bin\" \"doc\""
     95.PHONY : list_install_components
     96
     97# Special rule for the target list_install_components
     98list_install_components/fast: list_install_components
     99.PHONY : list_install_components/fast
     100
     101# Special rule for the target package
     102package: preinstall
     103    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
     104    /usr/bin/cpack --config ./CPackConfig.cmake
     105.PHONY : package
     106
     107# Special rule for the target package
     108package/fast: package
     109.PHONY : package/fast
     110
     111# Special rule for the target package_source
     112package_source:
     113    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
     114    /usr/bin/cpack --config ./CPackSourceConfig.cmake /tmp/trunk4/CPackSourceConfig.cmake
     115.PHONY : package_source
     116
     117# Special rule for the target package_source
     118package_source/fast: package_source
     119.PHONY : package_source/fast
     120
     121# Special rule for the target rebuild_cache
     122rebuild_cache:
     123    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
     124    /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
     125.PHONY : rebuild_cache
     126
     127# Special rule for the target rebuild_cache
     128rebuild_cache/fast: rebuild_cache
     129.PHONY : rebuild_cache/fast
     130
     131# The main all target
     132all: cmake_check_build_system
     133    $(CMAKE_COMMAND) -E cmake_progress_start /tmp/trunk4/CMakeFiles /tmp/trunk4/CMakeFiles/progress.make
     134    $(MAKE) -f CMakeFiles/Makefile2 all
     135    $(CMAKE_COMMAND) -E cmake_progress_start /tmp/trunk4/CMakeFiles 0
     136.PHONY : all
     137
     138# The main clean target
    41139clean:
    42     @-rm -rf oscam-ostype.h lib Distribution/oscam-*
    43 
    44 tar:    clean
    45     @tar cvf "oscam$(VER)-src.tar" Distribution Make* *.c *.h cscrypt csctapi
    46     @bzip2 -9f "oscam$(VER)-src.tar"
    47 
    48 nptar:  clean
    49     @tar cvf "oscam$(VER)-nonpublic-src.tar" Distribution Make* *.c *.np *.h cscrypt csctapi csgbox
    50     @bzip2 -9f "oscam$(VER)-nonpublic-src.tar"
    51 
    52 ######################################################################
    53 #
    54 #   LINUX native
    55 #
    56 ######################################################################
    57 i386-pc-linux:
    58     @-$(MAKE) --no-print-directory \
    59         -f Maketype TYP=$(subst i386,$(shell uname --machine),$(subst cross-,,$@)) \
    60         OS_LIBS="-lcrypto" \
    61         OS_CULI="-lncurses" \
    62         OS_PTLI="-lpthread" \
    63         DS_OPTS="-O3 -DOS_LINUX -DCS_CONFDIR=${CS_CONFDIR} -Winline -Werror -finline-functions -fomit-frame-pointer" \
    64         DS_CFLAGS="-c" \
    65         DS_LDFLAGS="" \
    66         DS_ARFLAGS="-rvsl" \
    67         DS_CC=gcc \
    68         DS_AR=ar \
    69         DS_LD=ld \
    70         DS_RL=ranlib \
    71         DS_ST=strip
    72 
    73 ######################################################################
    74 #
    75 #       MacOSX native
    76 #
    77 ######################################################################
    78 macosx-native:
    79     @-$(MAKE) --no-print-directory \
    80         -f Maketype TYP=$(subst cross-,,$@) \
    81         OS_LIBS="-lcrypto" \
    82         OS_CULI="-lncurses" \
    83         OS_PTLI="-lpthread" \
    84         DS_OPTS="-O2 -DOS_MACOSX -DNEED_DAEMON -DCS_NOSHM -DHAVE_PTHREAD_H -DUSE_PTHREAD -DCS_CONFDIR=${CS_CONFDIR} -Winline -Werror -finline-functions -fomit-frame-pointer" \
    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         DS_ST=strip
    93 
    94 
    95 ######################################################################
    96 #
    97 #   FreeBSD native
    98 #
    99 ######################################################################
    100 i386-pc-freebsd:
    101     @-$(MAKE) --no-print-directory \
    102         -f Maketype TYP=$(subst cross-,,$@) \
    103         OS_LIBS="" \
    104         OS_CULI="-lncurses" \
    105         OS_PTLI="-lpthread" \
    106         DS_OPTS="-O2 -DOS_FREEBSD -DBSD_COMP  -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    107         DS_CFLAGS="-c" \
    108         DS_LDFLAGS="" \
    109         DS_ARFLAGS="-rvsl" \
    110         DS_CC=gcc \
    111         DS_AR=ar \
    112         DS_LD=ld \
    113         DS_RL=ranlib \
    114         DS_ST=strip
    115 
    116 ######################################################################
    117 #
    118 #   FreeBSD 5.4 crosscompiler
    119 #
    120 ######################################################################
    121 cross-i386-pc-freebsd:
    122     @-$(MAKE) --no-print-directory \
    123         -f Maketype TYP=$(subst cross-,,$@) \
    124         OS_LIBS="" \
    125         OS_CULI="-lncurses" \
    126         OS_PTLI="-lpthread" \
    127         DS_OPTS="-O2 -DOS_FREEBSD -DBSD_COMP -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    128         DS_CFLAGS="-c" \
    129         DS_LDFLAGS="" \
    130         DS_ARFLAGS="-rvsl" \
    131         DS_CC=i386-pc-freebsd5.4-gcc \
    132         DS_AR=i386-pc-freebsd5.4-ar \
    133         DS_LD=i386-pc-freebsd5.4-ld \
    134         DS_RL=i386-pc-freebsd5.4-ranlib \
    135         DS_ST=i386-pc-freebsd5.4-strip
    136 
    137 ######################################################################
    138 #
    139 #   Tuxbox crosscompiler
    140 #
    141 ######################################################################
    142 cross-powerpc-tuxbox-linux:
    143     @-$(MAKE) --no-print-directory \
    144         -f Maketype TYP=$(subst cross-,,$@) \
    145         OS_LIBS="-lcrypto -ldl" \
    146         OS_CULI="-lncurses" \
    147         OS_PTLI="-lpthread" \
    148         DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DPPC -DCS_CONFDIR='\"/var/tuxbox/config\"'" \
    149         DS_CFLAGS="-c" \
    150         DS_LDFLAGS="" \
    151         DS_ARFLAGS="-rvsl" \
    152         DS_CC=powerpc-tuxbox-linux-gnu-gcc \
    153         DS_AR=powerpc-tuxbox-linux-gnu-ar \
    154         DS_LD=powerpc-tuxbox-linux-gnu-ld \
    155         DS_RL=powerpc-tuxbox-linux-gnu-ranlib \
    156         DS_ST=powerpc-tuxbox-linux-gnu-strip
    157 
    158 cross-powerpc-tuxbox-linux-uclibc:
    159     @-$(MAKE) --no-print-directory \
    160         -f Maketype TYP=$(subst cross-,,$@) \
    161         OS_LIBS="" \
    162         OS_CULI="-lncurses" \
    163         OS_PTLI="-lpthread" \
    164         DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DPPC -DCS_CONFDIR='\"/var/tuxbox/config\"'" \
    165         DS_CFLAGS="-c" \
    166         DS_LDFLAGS="" \
    167         DS_ARFLAGS="-rvsl" \
    168         DS_CC=powerpc-tuxbox-linux-uclibc-gcc \
    169         DS_AR=powerpc-tuxbox-linux-uclibc-ar \
    170         DS_LD=powerpc-tuxbox-linux-uclibc-ld \
    171         DS_RL=powerpc-tuxbox-linux-uclibc-ranlib \
    172         DS_ST=powerpc-tuxbox-linux-uclibc-strip
    173 
    174 
    175 ######################################################################
    176 #
    177 #   sh4 crosscompiler
    178 #
    179 ######################################################################
    180 cross-sh4-linux:
    181     @-$(MAKE) --no-print-directory \
    182         -f Maketype TYP=$(subst cross-,,$@) \
    183         OS_LIBS="-lcrypto" \
    184         OS_CULI="-lncurses" \
    185         OS_PTLI="-lpthread" \
    186         DS_OPTS="-O2 -DOS_LINUX -DCS_CONFDIR='\"/var/tuxbox/config\"'" \
    187         DS_CFLAGS="-c" \
    188         DS_LDFLAGS="" \
    189         DS_ARFLAGS="-rvsl" \
    190         DS_CC=/opt/STM/STLinux-2.0/devkit/sh4/bin/sh4-linux-gcc \
    191         DS_AR=/opt/STM/STLinux-2.0/devkit/sh4/bin/sh4-linux-ar \
    192         DS_LD=/opt/STM/STLinux-2.0/devkit/sh4/bin/sh4-linux-ld \
    193         DS_RL=/opt/STM/STLinux-2.0/devkit/sh4/bin/sh4-linux-ranlib \
    194         DS_ST=/opt/STM/STLinux-2.0/devkit/sh4/bin/sh4-linux-strip
    195 
    196 ######################################################################
    197 #
    198 #   Cygwin crosscompiler
    199 #
    200 ######################################################################
    201 cross-i386-pc-cygwin:
    202     @-$(MAKE) --no-print-directory \
    203         -f Maketype TYP=$(subst cross-,,$@) \
    204         OS_LIBS="-lcrypto" \
    205         OS_CULI="-lncurses" \
    206         OS_PTLI="-lpthread" \
    207         DS_OPTS="-O2 -DOS_CYGWIN32 -DCS_CONFDIR=${CS_CONFDIR} -static" \
    208         DS_CFLAGS="-c" \
    209         DS_LDFLAGS="" \
    210         DS_ARFLAGS="-rvsl" \
    211         DS_CC=i686-pc-cygwin-gcc \
    212         DS_AR=i686-pc-cygwin-ar \
    213         DS_LD=i686-pc-cygwin-ld \
    214         DS_RL=i686-pc-cygwin-ranlib \
    215         DS_ST=i686-pc-cygwin-strip
    216 
    217 ######################################################################
    218 #
    219 #   Cygwin native
    220 #
    221 ######################################################################
    222 i386-pc-cygwin:
    223     @-$(MAKE) --no-print-directory \
    224         -f Maketype TYP=$(subst cross-,,$@) \
    225         OS_LIBS="-lcrypto" \
    226         OS_CULI="-lncurses" \
    227         OS_PTLI="-lpthread" \
    228         DS_OPTS="-O2 -DOS_CYGWIN32 -DCS_CONFDIR=${CS_CONFDIR} -I /tmp/include" \
    229         DS_CFLAGS="-c" \
    230         DS_LDFLAGS="" \
    231         DS_ARFLAGS="-rvsl" \
    232         DS_CC=gcc \
    233         DS_AR=ar \
    234         DS_LD=ld \
    235         DS_RL=ranlib \
    236         DS_ST=strip
    237 
    238 ######################################################################
    239 #
    240 #   Solaris 7 crosscompiler
    241 #
    242 ######################################################################
    243 cross-sparc-sun-solaris2.7:
    244     @-$(MAKE) --no-print-directory \
    245         -f Maketype TYP=$(subst cross-,,$@) \
    246         OS_LIBS="" \
    247         OS_CULI="-lncurses" \
    248         OS_PTLI="-lpthread" \
    249         DS_OPTS="-O2 -DOS_SOLARIS -DOS_SOLARIS7 -DBSD_COMP -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    250         DS_CFLAGS="-c" \
    251         DS_LDFLAGS="-lsocket" \
    252         DS_ARFLAGS="-rvsl" \
    253         DS_CC=sparc-sun-solaris2.7-gcc \
    254         DS_AR=sparc-sun-solaris2.7-ar \
    255         DS_LD=sparc-sun-solaris2.7-ld \
    256         DS_RL=sparc-sun-solaris2.7-ranlib \
    257         DS_ST=sparc-sun-solaris2.7-strip
    258 
    259 ######################################################################
    260 #
    261 #   OpenSolaris native compiler
    262 #
    263 ######################################################################
    264 opensolaris:
    265     @-$(MAKE) --no-print-directory \
    266         -f Maketype TYP=$(subst cross-,,$@) \
    267         OS_LIBS="-lcrypto -lnsl" \
    268         OS_CULI="-lncurses" \
    269         OS_PTLI="-lpthread" \
    270         DS_OPTS="-O2 -DOS_SOLARIS -DOS_SOLARIS7 -DBSD_COMP -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    271         DS_CFLAGS="-c" \
    272         DS_LDFLAGS="-lsocket" \
    273         DS_ARFLAGS="-rvsl" \
    274         DS_CC=gcc \
    275         DS_AR=ar \
    276         DS_LD=ld \
    277         DS_RL=ranlib \
    278         DS_ST=strip
    279 
    280 ######################################################################
    281 #
    282 #   AIX 4.2 crosscompiler
    283 #
    284 ######################################################################
    285 cross-rs6000-ibm-aix4.2:
    286     @-$(MAKE) --no-print-directory \
    287         -f Maketype TYP=$(subst cross-,,$@) \
    288         OS_LIBS="" \
    289         OS_CULI="-lncurses" \
    290         OS_PTLI="-lpthreads" \
    291         DS_OPTS="-O2 -DOS_AIX -DOS_AIX42 -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    292         DS_CFLAGS="-c" \
    293         DS_LDFLAGS="" \
    294         DS_ARFLAGS="-rvsl" \
    295         DS_CC=rs6000-ibm-aix4.2-gcc \
    296         DS_AR=rs6000-ibm-aix4.2-ar \
    297         DS_LD=rs6000-ibm-aix4.2-ld \
    298         DS_RL=rs6000-ibm-aix4.2-ranlib \
    299         DS_ST=rs6000-ibm-aix4.2-strip
    300 
    301 ######################################################################
    302 #
    303 #   IRIX 6.5 crosscompiler
    304 #
    305 ######################################################################
    306 cross-mips-sgi-irix6.5:
    307     @-$(MAKE) --no-print-directory \
    308         -f Maketype TYP=$(subst cross-,,$@) \
    309         OS_LIBS="" \
    310         OS_CULI="-lncurses" \
    311         OS_PTLI="-lpthread" \
    312         DS_OPTS="-O2 -DOS_IRIX -DOS_IRIX65 -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    313         DS_CFLAGS="-c" \
    314         DS_LDFLAGS="" \
    315         DS_ARFLAGS="-rvsl" \
    316         DS_CC=mips-sgi-irix6.5-gcc \
    317         DS_AR=mips-sgi-irix6.5-ar \
    318         DS_LD=mips-sgi-irix6.5-ld \
    319         DS_RL=mips-sgi-irix6.5-ranlib \
    320         DS_ST=mips-sgi-irix6.5-strip
    321 
    322 cross-mipsel-router-linux-uclibc: cross-mipsel-router-linux-uclibc928
    323 ######################################################################
    324 #
    325 #   Linux MIPS(LE) crosscompiler with ucLibc 0.9.27
    326 #
    327 ######################################################################
    328 cross-mipsel-router-linux-uclibc927:
    329     @-mipsel-linux-uclibc-setlib 0.9.27
    330     @-$(MAKE) --no-print-directory \
    331         -f Maketype TYP=$(subst cross-,,$@) \
    332         OS_LIBS="" \
    333         OS_CULI="-lncurses" \
    334         OS_PTLI="-lpthread" \
    335         DS_OPTS="-O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DUSE_GPIO -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    336         DS_CFLAGS="-c" \
    337         DS_LDFLAGS="" \
    338         DS_ARFLAGS="-rvsl" \
    339         DS_CC=mipsel-linux-uclibc-gcc \
    340         DS_AR=mipsel-linux-uclibc-ar \
    341         DS_LD=mipsel-linux-uclibc-ld \
    342         DS_RL=mipsel-linux-uclibc-ranlib \
    343         DS_ST=mipsel-linux-uclibc-strip
    344 
    345 ######################################################################
    346 #
    347 #   Linux MIPS(LE) crosscompiler with ucLibc 0.9.28
    348 #
    349 ######################################################################
    350 cross-mipsel-router-linux-uclibc928:
    351     @-mipsel-linux-uclibc-setlib 0.9.28
    352     @-$(MAKE) --no-print-directory \
    353         -f Maketype TYP=$(subst cross-,,$@) \
    354         OS_LIBS="" \
    355         OS_CULI="-lncurses" \
    356         OS_PTLI="-lpthread" \
    357         DS_OPTS="-O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DUSE_GPIO -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    358         DS_CFLAGS="-c" \
    359         DS_LDFLAGS="" \
    360         DS_ARFLAGS="-rvsl" \
    361         DS_CC=mipsel-linux-uclibc-gcc \
    362         DS_AR=mipsel-linux-uclibc-ar \
    363         DS_LD=mipsel-linux-uclibc-ld \
    364         DS_RL=mipsel-linux-uclibc-ranlib \
    365         DS_ST=mipsel-linux-uclibc-strip
    366 
    367 ######################################################################
    368 #
    369 #   Linux MIPS(LE) crosscompiler for La Fonera 2.0
    370 #
    371 ######################################################################
    372 cross-mipsel-fonera2:
    373     @-$(MAKE) --no-print-directory \
    374         -f Maketype TYP=$(subst cross-,,$@) \
    375         OS_LIBS="-Lopenssl-lib -lcrypto" \
    376         OS_CULI="-lncurses" \
    377         OS_PTLI="-lpthread" \
    378         DS_OPTS="-Iopenssl-include -O2 -DOS_LINUX -DMIPSEL -DUCLIBC -DCS_CONFDIR=${CS_CONFDIR} -static-libgcc" \
    379         DS_CFLAGS="-c" \
    380         DS_LDFLAGS="" \
    381         DS_ARFLAGS="-rvsl" \
    382         DS_CC=mips-linux-gcc \
    383         DS_AR=mips-linux-ar \
    384         DS_LD=mips-linux-ld \
    385         DS_RL=mips-linux-ranlib \
    386         DS_ST=mips-linux-strip
    387 
    388 ######################################################################
    389 #
    390 #   Linux MIPS(LE) crosscompiler with glibc (DM7025)
    391 #
    392 ######################################################################
    393 cross-mipsel-tuxbox-linux-glibc:
    394     @-$(MAKE) --no-print-directory \
    395         -f Maketype TYP=$(subst cross-,,$@) \
    396         OS_LIBS="-lcrypto" \
    397         OS_CULI="-lncurses" \
    398         OS_PTLI="-lpthread" \
    399         DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DMIPSEL -DCS_CONFDIR='\"/var/tuxbox/config\"' -static-libgcc" \
    400         DS_CFLAGS="-c" \
    401         DS_LDFLAGS="" \
    402         DS_ARFLAGS="-rvsl" \
    403         DS_CC=mipsel-linux-glibc-gcc \
    404         DS_AR=mipsel-linux-glibc-ar \
    405         DS_LD=mipsel-linux-glibc-ld \
    406         DS_RL=mipsel-linux-glibc-ranlib \
    407         DS_ST=mipsel-linux-glibc-strip
    408 
    409 cross-mipsel-tuxbox-linux:
    410     @-$(MAKE) --no-print-directory \
    411         -f Maketype TYP=$(subst cross-,,$@) \
    412         OS_LIBS="-lcrypto" \
    413         OS_CULI="-lncurses" \
    414         OS_PTLI="-lpthread" \
    415         DS_OPTS="-O2 -DOS_LINUX -DTUXBOX -DMIPSEL -DCS_CONFDIR='\"/var/tuxbox/config\"' -static-libgcc" \
    416         DS_CFLAGS="-c" \
    417         DS_LDFLAGS="" \
    418         DS_ARFLAGS="-rvsl" \
    419         DS_CC=mipsel-linux-gcc \
    420         DS_AR=mipsel-linux-ar \
    421         DS_LD=mipsel-linux-ld \
    422         DS_RL=mipsel-linux-ranlib \
    423         DS_ST=mipsel-linux-strip
    424 
    425 ######################################################################
    426 #
    427 #   HP/UX 10.20 native
    428 #
    429 ######################################################################
    430 hppa1.1-hp-hpux10.20:
    431     @-$(MAKE) --no-print-directory \
    432         -f Maketype TYP=$(subst cross-,,$@) \
    433         OS_LIBS="" \
    434         OS_CULI="-lncurses" \
    435         OS_PTLI="-lpthread" \
    436         DS_OPTS="-O2 -DOS_HPUX -DOS_HPUX10 -D_XOPEN_SOURCE_EXTENDED -DCS_CONFDIR=${CS_CONFDIR}" \
    437         DS_CFLAGS="-c" \
    438         DS_LDFLAGS="" \
    439         DS_ARFLAGS="-rvsl" \
    440         DS_CC=gcc \
    441         DS_AR=ar \
    442         DS_LD=ld \
    443         DS_RL=ranlib \
    444         DS_ST=strip
    445 
    446 ######################################################################
    447 #
    448 #   OSF5.1 native
    449 #
    450 ######################################################################
    451 alpha-dec-osf5.1:
    452     @-$(MAKE) --no-print-directory \
    453         -f Maketype TYP=$(subst cross-,,$@) \
    454         OS_LIBS="" \
    455         OS_CULI="-lncurses" \
    456         OS_PTLI="-lpthread" \
    457         DS_OPTS="-O2 -DOS_OSF -DOS_OSF5 -DCS_CONFDIR=${CS_CONFDIR}" \
    458         XDS_CFLAGS="-I/usr/include -c" \
    459         DS_CFLAGS="-c" \
    460         DS_LDFLAGS="" \
    461         DS_ARFLAGS="-rvsl" \
    462         DS_CC=cc \
    463         DS_AR=ar \
    464         DS_LD=ld \
    465         DS_RL=ranlib \
    466         DS_ST=strip
    467 
    468 ######################################################################
    469 #
    470 #   ARM crosscompiler (big-endian)
    471 #
    472 ######################################################################
    473 cross-arm-nslu2-linux:
    474     @-$(MAKE) --no-print-directory \
    475         -f Maketype TYP="$(subst cross-,,$@)" \
    476         OS_LIBS="" \
    477         OS_CULI="-lncurses" \
    478         OS_PTLI="-lpthread" \
    479         DS_OPTS="-DOS_LINUX -O2 -DARM -DALIGNMENT -DCS_CONFDIR=${CS_CONFDIR}" \
    480         DS_CFLAGS="-c" \
    481         DS_LDFLAGS="" \
    482         DS_ARFLAGS="-rvsl" \
    483         DS_AWK="awk" \
    484         DS_CC="armv5b-softfloat-linux-gcc" \
    485         DS_AR="armv5b-softfloat-linux-ar" \
    486         DS_LD="armv5b-softfloat-linux-ld" \
    487         DS_RL="armv5b-softfloat-linux-ranlib" \
    488         DS_ST="armv5b-softfloat-linux-strip"
    489 
    490 ######################################################################
    491 #
    492 #   ARM crosscompiler (big-endian)
    493 #
    494 ######################################################################
    495 cross-armBE-unkown-linux:
    496     -$(MAKE) --no-print-directory \
    497         -f Maketype TYP="$(subst cross-,,$@)" \
    498         OS_LIBS="" \
    499         OS_CULI="-lncurses" \
    500         OS_PTLI="-lpthread" \
    501         DS_OPTS="-DOS_LINUX -O2 -DARM -DALIGNMENT -DCS_CONFDIR=${CS_CONFDIR}" \
    502         DS_CFLAGS="-c" \
    503         DS_LDFLAGS="" \
    504         DS_ARFLAGS="-rvsl" \
    505         DS_AWK="awk" \
    506         DS_CC="arm-linux-gcc -mbig-endian" \
    507         DS_AR="arm-linux-ar" \
    508         DS_LD="arm-linux-ld -EB" \
    509         DS_RL="arm-linux-ranlib" \
    510         DS_ST="arm-linux-strip"
    511 
    512 ######################################################################
    513 #
    514 #   ARM crosscompiler (little-endian)
    515 #
    516 ######################################################################
    517 cross-armLE-unkown-linux:
    518     -$(MAKE) --no-print-directory \
    519         -f Maketype TYP="$(subst cross-,,$@)" \
    520         OS_LIBS="" \
    521         OS_CULI="-lncurses" \
    522         OS_PTLI="-lpthread" \
    523         DS_OPTS="-DOS_LINUX -O2 -DARM -DALIGNMENT -DCS_CONFDIR=${CS_CONFDIR}" \
    524         DS_CFLAGS="-c" \
    525         DS_LDFLAGS="" \
    526         DS_ARFLAGS="-rvsl" \
    527         DS_AWK="awk" \
    528         DS_CC="arm-linux-gcc -mlittle-endian" \
    529         DS_AR="arm-linux-ar" \
    530         DS_LD="arm-linux-ld -EL" \
    531         DS_RL="arm-linux-ranlib" \
    532         DS_ST="arm-linux-strip"
     140    $(MAKE) -f CMakeFiles/Makefile2 clean
     141.PHONY : clean
     142
     143# The main clean target
     144clean/fast: clean
     145.PHONY : clean/fast
     146
     147# Prepare targets for installation.
     148preinstall: all
     149    $(MAKE) -f CMakeFiles/Makefile2 preinstall
     150.PHONY : preinstall
     151
     152# Prepare targets for installation.
     153preinstall/fast:
     154    $(MAKE) -f CMakeFiles/Makefile2 preinstall
     155.PHONY : preinstall/fast
     156
     157# clear depends
     158depend:
     159    $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
     160.PHONY : depend
     161
     162#=============================================================================
     163# Target rules for targets named csmodules
     164
     165# Build rule for target.
     166csmodules: cmake_check_build_system
     167    $(MAKE) -f CMakeFiles/Makefile2 csmodules
     168.PHONY : csmodules
     169
     170# fast build rule for target.
     171csmodules/fast:
     172    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/build
     173.PHONY : csmodules/fast
     174
     175#=============================================================================
     176# Target rules for targets named csoscam
     177
     178# Build rule for target.
     179csoscam: cmake_check_build_system
     180    $(MAKE) -f CMakeFiles/Makefile2 csoscam
     181.PHONY : csoscam
     182
     183# fast build rule for target.
     184csoscam/fast:
     185    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/build
     186.PHONY : csoscam/fast
     187
     188#=============================================================================
     189# Target rules for targets named csreaders
     190
     191# Build rule for target.
     192csreaders: cmake_check_build_system
     193    $(MAKE) -f CMakeFiles/Makefile2 csreaders
     194.PHONY : csreaders
     195
     196# fast build rule for target.
     197csreaders/fast:
     198    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/build
     199.PHONY : csreaders/fast
     200
     201#=============================================================================
     202# Target rules for targets named oscam
     203
     204# Build rule for target.
     205oscam: cmake_check_build_system
     206    $(MAKE) -f CMakeFiles/Makefile2 oscam
     207.PHONY : oscam
     208
     209# fast build rule for target.
     210oscam/fast:
     211    $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/build
     212.PHONY : oscam/fast
     213
     214#=============================================================================
     215# Target rules for targets named csctapi
     216
     217# Build rule for target.
     218csctapi: cmake_check_build_system
     219    $(MAKE) -f CMakeFiles/Makefile2 csctapi
     220.PHONY : csctapi
     221
     222# fast build rule for target.
     223csctapi/fast:
     224    $(MAKE) -f csctapi/CMakeFiles/csctapi.dir/build.make csctapi/CMakeFiles/csctapi.dir/build
     225.PHONY : csctapi/fast
     226
     227#=============================================================================
     228# Target rules for targets named cscrypt
     229
     230# Build rule for target.
     231cscrypt: cmake_check_build_system
     232    $(MAKE) -f CMakeFiles/Makefile2 cscrypt
     233.PHONY : cscrypt
     234
     235# fast build rule for target.
     236cscrypt/fast:
     237    $(MAKE) -f cscrypt/CMakeFiles/cscrypt.dir/build.make cscrypt/CMakeFiles/cscrypt.dir/build
     238.PHONY : cscrypt/fast
     239
     240# target to build an object file
     241module-camd33.o:
     242    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd33.o
     243.PHONY : module-camd33.o
     244
     245# target to preprocess a source file
     246module-camd33.i:
     247    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd33.i
     248.PHONY : module-camd33.i
     249
     250# target to generate assembly for a file
     251module-camd33.s:
     252    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd33.s
     253.PHONY : module-camd33.s
     254
     255# target to build an object file
     256module-camd35.o:
     257    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd35.o
     258.PHONY : module-camd35.o
     259
     260# target to preprocess a source file
     261module-camd35.i:
     262    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd35.i
     263.PHONY : module-camd35.i
     264
     265# target to generate assembly for a file
     266module-camd35.s:
     267    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-camd35.s
     268.PHONY : module-camd35.s
     269
     270# target to build an object file
     271module-monitor.o:
     272    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-monitor.o
     273.PHONY : module-monitor.o
     274
     275# target to preprocess a source file
     276module-monitor.i:
     277    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-monitor.i
     278.PHONY : module-monitor.i
     279
     280# target to generate assembly for a file
     281module-monitor.s:
     282    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-monitor.s
     283.PHONY : module-monitor.s
     284
     285# target to build an object file
     286module-newcamd.o:
     287    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-newcamd.o
     288.PHONY : module-newcamd.o
     289
     290# target to preprocess a source file
     291module-newcamd.i:
     292    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-newcamd.i
     293.PHONY : module-newcamd.i
     294
     295# target to generate assembly for a file
     296module-newcamd.s:
     297    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-newcamd.s
     298.PHONY : module-newcamd.s
     299
     300# target to build an object file
     301module-radegast.o:
     302    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-radegast.o
     303.PHONY : module-radegast.o
     304
     305# target to preprocess a source file
     306module-radegast.i:
     307    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-radegast.i
     308.PHONY : module-radegast.i
     309
     310# target to generate assembly for a file
     311module-radegast.s:
     312    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-radegast.s
     313.PHONY : module-radegast.s
     314
     315# target to build an object file
     316module-serial.o:
     317    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-serial.o
     318.PHONY : module-serial.o
     319
     320# target to preprocess a source file
     321module-serial.i:
     322    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-serial.i
     323.PHONY : module-serial.i
     324
     325# target to generate assembly for a file
     326module-serial.s:
     327    $(MAKE) -f CMakeFiles/csmodules.dir/build.make CMakeFiles/csmodules.dir/module-serial.s
     328.PHONY : module-serial.s
     329
     330# target to build an object file
     331oscam-ac.o:
     332    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-ac.o
     333.PHONY : oscam-ac.o
     334
     335# target to preprocess a source file
     336oscam-ac.i:
     337    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-ac.i
     338.PHONY : oscam-ac.i
     339
     340# target to generate assembly for a file
     341oscam-ac.s:
     342    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-ac.s
     343.PHONY : oscam-ac.s
     344
     345# target to build an object file
     346oscam-chk.o:
     347    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-chk.o
     348.PHONY : oscam-chk.o
     349
     350# target to preprocess a source file
     351oscam-chk.i:
     352    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-chk.i
     353.PHONY : oscam-chk.i
     354
     355# target to generate assembly for a file
     356oscam-chk.s:
     357    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-chk.s
     358.PHONY : oscam-chk.s
     359
     360# target to build an object file
     361oscam-config.o:
     362    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-config.o
     363.PHONY : oscam-config.o
     364
     365# target to preprocess a source file
     366oscam-config.i:
     367    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-config.i
     368.PHONY : oscam-config.i
     369
     370# target to generate assembly for a file
     371oscam-config.s:
     372    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-config.s
     373.PHONY : oscam-config.s
     374
     375# target to build an object file
     376oscam-log.o:
     377    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-log.o
     378.PHONY : oscam-log.o
     379
     380# target to preprocess a source file
     381oscam-log.i:
     382    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-log.i
     383.PHONY : oscam-log.i
     384
     385# target to generate assembly for a file
     386oscam-log.s:
     387    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-log.s
     388.PHONY : oscam-log.s
     389
     390# target to build an object file
     391oscam-nano.o:
     392    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-nano.o
     393.PHONY : oscam-nano.o
     394
     395# target to preprocess a source file
     396oscam-nano.i:
     397    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-nano.i
     398.PHONY : oscam-nano.i
     399
     400# target to generate assembly for a file
     401oscam-nano.s:
     402    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-nano.s
     403.PHONY : oscam-nano.s
     404
     405# target to build an object file
     406oscam-reader.o:
     407    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-reader.o
     408.PHONY : oscam-reader.o
     409
     410# target to preprocess a source file
     411oscam-reader.i:
     412    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-reader.i
     413.PHONY : oscam-reader.i
     414
     415# target to generate assembly for a file
     416oscam-reader.s:
     417    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-reader.s
     418.PHONY : oscam-reader.s
     419
     420# target to build an object file
     421oscam-simples.o:
     422    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-simples.o
     423.PHONY : oscam-simples.o
     424
     425# target to preprocess a source file
     426oscam-simples.i:
     427    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-simples.i
     428.PHONY : oscam-simples.i
     429
     430# target to generate assembly for a file
     431oscam-simples.s:
     432    $(MAKE) -f CMakeFiles/csoscam.dir/build.make CMakeFiles/csoscam.dir/oscam-simples.s
     433.PHONY : oscam-simples.s
     434
     435# target to build an object file
     436oscam.o:
     437    $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/oscam.o
     438.PHONY : oscam.o
     439
     440# target to preprocess a source file
     441oscam.i:
     442    $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/oscam.i
     443.PHONY : oscam.i
     444
     445# target to generate assembly for a file
     446oscam.s:
     447    $(MAKE) -f CMakeFiles/oscam.dir/build.make CMakeFiles/oscam.dir/oscam.s
     448.PHONY : oscam.s
     449
     450# target to build an object file
     451reader-common.o:
     452    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-common.o
     453.PHONY : reader-common.o
     454
     455# target to preprocess a source file
     456reader-common.i:
     457    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-common.i
     458.PHONY : reader-common.i
     459
     460# target to generate assembly for a file
     461reader-common.s:
     462    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-common.s
     463.PHONY : reader-common.s
     464
     465# target to build an object file
     466reader-conax.o:
     467    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-conax.o
     468.PHONY : reader-conax.o
     469
     470# target to preprocess a source file
     471reader-conax.i:
     472    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-conax.i
     473.PHONY : reader-conax.i
     474
     475# target to generate assembly for a file
     476reader-conax.s:
     477    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-conax.s
     478.PHONY : reader-conax.s
     479
     480# target to build an object file
     481reader-cryptoworks.o:
     482    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-cryptoworks.o
     483.PHONY : reader-cryptoworks.o
     484
     485# target to preprocess a source file
     486reader-cryptoworks.i:
     487    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-cryptoworks.i
     488.PHONY : reader-cryptoworks.i
     489
     490# target to generate assembly for a file
     491reader-cryptoworks.s:
     492    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-cryptoworks.s
     493.PHONY : reader-cryptoworks.s
     494
     495# target to build an object file
     496reader-irdeto.o:
     497    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-irdeto.o
     498.PHONY : reader-irdeto.o
     499
     500# target to preprocess a source file
     501reader-irdeto.i:
     502    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-irdeto.i
     503.PHONY : reader-irdeto.i
     504
     505# target to generate assembly for a file
     506reader-irdeto.s:
     507    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-irdeto.s
     508.PHONY : reader-irdeto.s
     509
     510# target to build an object file
     511reader-nds.o:
     512    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-nds.o
     513.PHONY : reader-nds.o
     514
     515# target to preprocess a source file
     516reader-nds.i:
     517    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-nds.i
     518.PHONY : reader-nds.i
     519
     520# target to generate assembly for a file
     521reader-nds.s:
     522    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-nds.s
     523.PHONY : reader-nds.s
     524
     525# target to build an object file
     526reader-seca.o:
     527    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-seca.o
     528.PHONY : reader-seca.o
     529
     530# target to preprocess a source file
     531reader-seca.i:
     532    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-seca.i
     533.PHONY : reader-seca.i
     534
     535# target to generate assembly for a file
     536reader-seca.s:
     537    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-seca.s
     538.PHONY : reader-seca.s
     539
     540# target to build an object file
     541reader-viaccess.o:
     542    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-viaccess.o
     543.PHONY : reader-viaccess.o
     544
     545# target to preprocess a source file
     546reader-viaccess.i:
     547    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-viaccess.i
     548.PHONY : reader-viaccess.i
     549
     550# target to generate assembly for a file
     551reader-viaccess.s:
     552    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-viaccess.s
     553.PHONY : reader-viaccess.s
     554
     555# target to build an object file
     556reader-videoguard2.o:
     557    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard2.o
     558.PHONY : reader-videoguard2.o
     559
     560# target to preprocess a source file
     561reader-videoguard2.i:
     562    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard2.i
     563.PHONY : reader-videoguard2.i
     564
     565# target to generate assembly for a file
     566reader-videoguard2.s:
     567    $(MAKE) -f CMakeFiles/csreaders.dir/build.make CMakeFiles/csreaders.dir/reader-videoguard2.s
     568.PHONY : reader-videoguard2.s
     569
     570# Help Target
     571help:
     572    @echo "The following are some of the valid targets for this Makefile:"
     573    @echo "... all (the default if no target is provided)"
     574    @echo "... clean"
     575    @echo "... depend"
     576    @echo "... csmodules"
     577    @echo "... csoscam"
     578    @echo "... csreaders"
     579    @echo "... edit_cache"
     580    @echo "... install"
     581    @echo "... install/local"
     582    @echo "... install/strip"
     583    @echo "... list_install_components"
     584    @echo "... oscam"
     585    @echo "... package"
     586    @echo "... package_source"
     587    @echo "... rebuild_cache"
     588    @echo "... csctapi"
     589    @echo "... cscrypt"
     590    @echo "... module-camd33.o"
     591    @echo "... module-camd33.i"
     592    @echo "... module-camd33.s"
     593    @echo "... module-camd35.o"
     594    @echo "... module-camd35.i"
     595    @echo "... module-camd35.s"
     596    @echo "... module-monitor.o"
     597    @echo "... module-monitor.i"
     598    @echo "... module-monitor.s"
     599    @echo "... module-newcamd.o"
     600    @echo "... module-newcamd.i"
     601    @echo "... module-newcamd.s"
     602    @echo "... module-radegast.o"
     603    @echo "... module-radegast.i"
     604    @echo "... module-radegast.s"
     605    @echo "... module-serial.o"
     606    @echo "... module-serial.i"
     607    @echo "... module-serial.s"
     608    @echo "... oscam-ac.o"
     609    @echo "... oscam-ac.i"
     610    @echo "... oscam-ac.s"
     611    @echo "... oscam-chk.o"
     612    @echo "... oscam-chk.i"
     613    @echo "... oscam-chk.s"
     614    @echo "... oscam-config.o"
     615    @echo "... oscam-config.i"
     616    @echo "... oscam-config.s"
     617    @echo "... oscam-log.o"
     618    @echo "... oscam-log.i"
     619    @echo "... oscam-log.s"
     620    @echo "... oscam-nano.o"
     621    @echo "... oscam-nano.i"
     622    @echo "... oscam-nano.s"
     623    @echo "... oscam-reader.o"
     624    @echo "... oscam-reader.i"
     625    @echo "... oscam-reader.s"
     626    @echo "... oscam-simples.o"
     627    @echo "... oscam-simples.i"
     628    @echo "... oscam-simples.s"
     629    @echo "... oscam.o"
     630    @echo "... oscam.i"
     631    @echo "... oscam.s"
     632    @echo "... reader-common.o"
     633    @echo "... reader-common.i"
     634    @echo "... reader-common.s"
     635    @echo "... reader-conax.o"
     636    @echo "... reader-conax.i"
     637    @echo "... reader-conax.s"
     638    @echo "... reader-cryptoworks.o"
     639    @echo "... reader-cryptoworks.i"
     640    @echo "... reader-cryptoworks.s"
     641    @echo "... reader-irdeto.o"
     642    @echo "... reader-irdeto.i"
     643    @echo "... reader-irdeto.s"
     644    @echo "... reader-nds.o"
     645    @echo "... reader-nds.i"
     646    @echo "... reader-nds.s"
     647    @echo "... reader-seca.o"
     648    @echo "... reader-seca.i"
     649    @echo "... reader-seca.s"
     650    @echo "... reader-viaccess.o"
     651    @echo "... reader-viaccess.i"
     652    @echo "... reader-viaccess.s"
     653    @echo "... reader-videoguard2.o"
     654    @echo "... reader-videoguard2.i"
     655    @echo "... reader-videoguard2.s"
     656.PHONY : help
     657
     658
     659
     660#=============================================================================
     661# Special targets to cleanup operation of make.
     662
     663# Special rule to run CMake to check the build system integrity.
     664# No rule that depends on this can have commands that come from listfiles
     665# because they might be regenerated.
     666cmake_check_build_system:
     667    $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
     668.PHONY : cmake_check_build_system
     669
  • trunk/cscrypt/Makefile

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

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

    r70 r470  
    4949}
    5050
    51 static int camd33_auth_client(in_addr_t ip)
     51static void camd33_auth_client(in_addr_t ip)
    5252{
    5353  int i, rc;
  • trunk/module-camd35.c

    r452 r470  
    8787      if (rs!=boundary(4, rs))
    8888        cs_debug("WARNING: packet size has wrong decryption boundary");
    89       n=(buf[0]==3) ? n=0x34 : 0;
     89      //n=(buf[0]==3) ? n=0x34 : 0; this was original, but statement below seems more logical -- dingo35
     90      n=(buf[0]==3) ? 0x34 : 0;
    9091      n=boundary(4, n+20+buf[1]);
    9192      if (n<rs)
  • trunk/module-monitor.c

    r117 r470  
    415415static void monitor_process_details(char *arg)
    416416{
    417   int pid, idx, val;
     417  int pid, idx;
    418418  char sbuf[256];
    419419  if (!arg) return;
  • trunk/module-newcamd.c

    r97 r470  
    573573  if( !client[cs_idx].ftab.nfilts )
    574574  {
    575     int r,f, add;
     575    int r, add;
    576576    for (i=0; i<psfilt->nprids; i++) {
    577577      // use server PROVID(s) (and only those which are in user's groups)
     
    631631}
    632632
    633 static int newcamd_auth_client(in_addr_t ip)
     633static void newcamd_auth_client(in_addr_t ip)
    634634{
    635635    int i, ok = 0;
  • trunk/module-radegast.c

    r70 r470  
    99static int radegast_recv(uchar *buf, int l)
    1010{
    11   int i, n;
     11  int n;
    1212  if (!pfd) return(-1);
    1313  if ((n=recv(pfd, buf, l, 0))>0)
  • trunk/oscam-chk.c

    r21 r470  
    2929{
    3030  int nr, rc=0;
    31   char *ptr;
    3231  SIDTAB *sidtab;
    3332
     
    159158  }
    160159
    161   if( !(rc=chk_class(er, &client[cs_idx].cltab, "user", client[cs_idx].usr)) )
     160  if( !(rc=chk_class(er, &client[cs_idx].cltab, "user", client[cs_idx].usr)) ) {
    162161    if( !er->rcEx ) er->rcEx=(E1_USER<<4)|E2_CLASS;
     162  }
    163163  else if( !(rc=chk_chid(er, &client[cs_idx].fchid, "user", client[cs_idx].usr)) )
    164164    if( !er->rcEx ) er->rcEx=(E1_USER<<4)|E2_CHID;
  • trunk/oscam-config.c

    r467 r470  
    880880int init_sidtab()
    881881{
    882   int tag=0, nr, nro;
     882  int nr, nro;
    883883  FILE *fp;
    884884  char *value;
     
    905905  while (fgets(token, sizeof(token), fp))
    906906  {
    907     int i, l;
     907    int l;
    908908    void *ptr;
    909909    if ((l=strlen(trim(token)))<3) continue;
     
    987987  int i;
    988988  char *ptr;
    989   unsigned long tmp;
    990989  /*
    991990   *    case sensitive first
     
    10791078  if (!strcmp(token, "protocol"))
    10801079  {
    1081     if (!strcmp(value, "mouse"))       rdr->typ=R_MOUSE;
    1082     if (!strcmp(value, "smartreader"))       rdr->typ=R_SMART;
    1083     if (!strcmp(value, "internal"))    rdr->typ=R_INTERN;
    1084     if (!strcmp(value, "intern"))      rdr->typ=R_INTERN;
    1085     if (!strcmp(value, "serial"))      rdr->typ=R_SERIAL;
    1086     if (!strcmp(value, "camd35"))      rdr->typ=R_CAMD35;
    1087     if (!strcmp(value, "cs378x"))      rdr->typ=R_CS378X;
    1088     if (!strcmp(value, "cs357x"))      rdr->typ=R_CAMD35;
    1089     if (!strcmp(value, "gbox"))        rdr->typ=R_GBOX;
     1080    if (!strcmp(value, "mouse")) {      rdr->typ=R_MOUSE; return; }
     1081    if (!strcmp(value, "smartreader")) {      rdr->typ=R_SMART; return; }
     1082    if (!strcmp(value, "internal")) {   rdr->typ=R_INTERN; return; }
     1083    if (!strcmp(value, "intern")) {     rdr->typ=R_INTERN; return; }
     1084    if (!strcmp(value, "serial")) {     rdr->typ=R_SERIAL; return; }
     1085    if (!strcmp(value, "camd35")) {     rdr->typ=R_CAMD35; return; }
     1086    if (!strcmp(value, "cs378x")) {     rdr->typ=R_CS378X; return; }
     1087    if (!strcmp(value, "cs357x")) {     rdr->typ=R_CAMD35; return; }
     1088    if (!strcmp(value, "gbox")) {       rdr->typ=R_GBOX; return; }
    10901089    if (!strcmp(value, "newcamd") ||
    10911090        !strcmp(value, "newcamd525")) {rdr->typ=R_NEWCAMD;
    1092                                        rdr->ncd_proto=NCD_525;}
     1091                                       rdr->ncd_proto=NCD_525; return; }
    10931092    if (!strcmp(value, "newcamd524")) {rdr->typ=R_NEWCAMD;
    1094                                        rdr->ncd_proto=NCD_524;}
     1093                                       rdr->ncd_proto=NCD_524; return; }
    10951094    fprintf(stderr, "Warning: value '%s' in protocol-line not recognized\n",value);
    10961095    return;
  • trunk/oscam.c

    r121 r470  
    877877  int i, idx;
    878878  struct hostent *rht;
    879   struct s_auth *account;
     879  struct s_auth;
    880880  for (i=0; i<CS_MAXREADER; i++)
    881881    if ((idx=reader[i].cs_idx) && (reader[i].typ & R_IS_NETWORK))
     
    17921792      if ((er->caid==ttab->bt_caidfrom[n]) && ((er->srvid==ttab->bt_srvid[n]) || (ttab->bt_srvid[n])==mask_all))
    17931793      {
    1794         int l;
    17951794        char hack_n3[13]={0x70, 0x51, 0xc7, 0x00, 0x00, 0x00, 0x01, 0x10, 0x10, 0x00, 0x87, 0x12, 0x07};
    17961795        char hack_n2[13]={0x70, 0x51, 0xc9, 0x00, 0x00, 0x00, 0x01, 0x10, 0x10, 0x00, 0x48, 0x12, 0x07};
  • trunk/reader-conax.c

    r467 r470  
    66
    77#define CMD_LEN 5
    8 
     8/*
    99static unsigned int Conax_ToDate(char data0, char data1)
    10 { /* decimal: yyyymmdd */
     10{ // decimal: yyyymmdd
    1111  int y,m,d;
    1212  unsigned int l;
     
    1717  l=  (y*100+m)*100+d;
    1818  return l;
    19 }
     19}*/
    2020
    2121static char *chid_date(uchar *ptr, char *buf, int l)
  • trunk/reader-cryptoworks.c

    r467 r470  
    22#include "reader-common.h"
    33
    4 static uchar ISK[0x40];
    54static uchar cwexp[] = { 1, 0 , 1};
    65static BIGNUM exp, ucpk;
     
    367366int cryptoworks_do_ecm(ECM_REQUEST *er)
    368367{
    369   int rc=0;
    370       int r=0;
     368  int r=0;
    371369  static unsigned char ins4C[] = { 0xA4,0x4C,0x00,0x00,0x00 };
    372370  static unsigned char insC0[] = { 0xA4,0xC0,0x00,0x00,0x1C };
     
    581579    {
    582580      strncpy(l_name+8, (const char *)cta_res+2, sizeof(l_name)-9);
    583       l_name[sizeof(l_name)]=0;
     581      l_name[sizeof(l_name)-1]=0;
    584582      trim(l_name+8);
    585583    }
  • trunk/reader-irdeto.c

    r467 r470  
    157157int irdeto_card_init(uchar *atr, int atrlen)
    158158{
    159   int i, p, camkey=0, cs_ptyp_orig=cs_ptyp;
     159  int i, camkey=0, cs_ptyp_orig=cs_ptyp;
    160160  uchar buf[256]={0};
    161   uchar sc_GetROM[]         = { 0xA0, 0xCA, 0x00, 0x00, 3, 0x10, 0, 0x11};
     161  //uchar sc_GetROM[]         = { 0xA0, 0xCA, 0x00, 0x00, 3, 0x10, 0, 0x11};
    162162
    163163  if (memcmp(atr+4, "IRDETO", 6))
  • trunk/reader-nds.c

    r467 r470  
    9797
    9898static void nSwap (unsigned char i_key[16], unsigned char o_key[16]);
    99 static void eSwap (unsigned char i_key[16], unsigned char o_key[16]);
    10099static void nLookup (unsigned char i_key[16], unsigned char o_key[16]);
    101100
     
    128127static unsigned char CardAnswer[0xFF];
    129128static unsigned char d3BEKey[0x10];
    130 static char DCW1[19];
    131129
    132130///====================================================================================================
     
    328326
    329327}
    330 
     328/*
    331329static void extractExponent (unsigned char seedBuffer[0x86], unsigned char *outBuffer)
    332330{
     
    337335    i = i + 2;
    338336  }
    339 }
     337}*/
    340338
    341339static unsigned short lmul (unsigned short value)
  • trunk/reader-seca.c

    r467 r470  
    6868
    6969  memcpy(l_name+8, cta_res+2, 16);
    70   l_name[sizeof(l_name)]=0;
     70  l_name[sizeof(l_name)-1]=0;
    7171  trim(l_name+8);
    7272  l_name[0]=(l_name[8]) ? ',' : 0;
     
    278278    0xc1, 0x32, 0x00, 0x00, 0x20
    279279  };                // get PBM
    280   //uchar ins32data[64];
    281280  int prov;
    282   uchar result[260];
    283   ushort result_size;
    284281
    285282  for (prov = 0; prov < reader[ridx].nprov; prov++) {
Note: See TracChangeset for help on using the changeset viewer.