Merge pull request #2741 from Donny-Guo/hidbrute
[RRG-proxmark3.git] / armsrc / Standalone / Makefile.inc
blob5873c0aff5faedaeb74e790038d72a7e64ac4a5d
1 #-----------------------------------------------------------------------------
2 # Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
14 # See LICENSE.txt for the text of the license.
15 #-----------------------------------------------------------------------------
16 # Generic standalone Mode injection of source code
17 #-----------------------------------------------------------------------------
19 SRC_STANDALONE = placeholder.c
20 # WITH_STANDALONE_LF_SKELETON
21 ifneq (,$(findstring WITH_STANDALONE_LF_SKELETON,$(APP_CFLAGS)))
22     SRC_STANDALONE = lf_skeleton.c
23 endif
24 # WITH_STANDALONE_LF_EM4100EMUL
25 ifneq (,$(findstring WITH_STANDALONE_LF_EM4100EMUL,$(APP_CFLAGS)))
26     SRC_STANDALONE = lf_em4100emul.c
27 endif
28 # WITH_STANDALONE_LF_EM4100RSWB
29 ifneq (,$(findstring WITH_STANDALONE_LF_EM4100RSWB,$(APP_CFLAGS)))
30     SRC_STANDALONE = lf_em4100rswb.c
31 endif
32 # WITH_STANDALONE_LF_EM4100RSWW
33 ifneq (,$(findstring WITH_STANDALONE_LF_EM4100RSWW,$(APP_CFLAGS)))
34     SRC_STANDALONE = lf_em4100rsww.c
35 endif
36 # WITH_STANDALONE_LF_EM4100RWC
37 ifneq (,$(findstring WITH_STANDALONE_LF_EM4100RWC,$(APP_CFLAGS)))
38     SRC_STANDALONE = lf_em4100rwc.c
39 endif
40 # WITH_STANDALONE_LF_HIDBRUTE
41 ifneq (,$(findstring WITH_STANDALONE_LF_HIDBRUTE,$(APP_CFLAGS)))
42     SRC_STANDALONE = lf_hidbrute.c
43 endif
44 # WITH_STANDALONE_LF_HIDFCBRUTE
45 ifneq (,$(findstring WITH_STANDALONE_LF_HIDFCBRUTE,$(APP_CFLAGS)))
46     SRC_STANDALONE = lf_hidfcbrute.c
47 endif
48 # WITH_STANDALONE_LF_ICEHID
49 ifneq (,$(findstring WITH_STANDALONE_LF_ICEHID,$(APP_CFLAGS)))
50     SRC_STANDALONE = lf_icehid.c
51 endif
52 # WITH_STANDALONE_LF_MULTIHID
53 ifneq (,$(findstring WITH_STANDALONE_LF_MULTIHID,$(APP_CFLAGS)))
54     SRC_STANDALONE = lf_multihid.c
55 endif
56 # WITH_STANDALONE_LF_NEDAP_SIM
57 ifneq (,$(findstring WITH_STANDALONE_LF_NEDAP_SIM,$(APP_CFLAGS)))
58     SRC_STANDALONE = lf_nedap_sim.c
59 endif
60 # WITH_STANDALONE_LF_NEXID
61 ifneq (,$(findstring WITH_STANDALONE_LF_NEXID,$(APP_CFLAGS)))
62     SRC_STANDALONE = lf_nexid.c
63 endif
64 # WITH_STANDALONE_LF_SAMYRUN
65 ifneq (,$(findstring WITH_STANDALONE_LF_SAMYRUN,$(APP_CFLAGS)))
66     SRC_STANDALONE = lf_samyrun.c
67 endif
68 # WITH_STANDALONE_LF_PROXBRUTE
69 ifneq (,$(findstring WITH_STANDALONE_LF_PROXBRUTE,$(APP_CFLAGS)))
70     SRC_STANDALONE = lf_proxbrute.c
71 endif
72 # WITH_STANDALONE_LF_PROX2BRUTE
73 ifneq (,$(findstring WITH_STANDALONE_LF_PROX2BRUTE,$(APP_CFLAGS)))
74     SRC_STANDALONE = lf_prox2brute.c
75 endif
76 # WITH_STANDALONE_LF_THAREXDE
77 ifneq (,$(findstring WITH_STANDALONE_LF_THAREXDE,$(APP_CFLAGS)))
78     SRC_STANDALONE = lf_tharexde.c
79 endif
80 # WITH_STANDALONE_HF_14ASNIFF
81 ifneq (,$(findstring WITH_STANDALONE_HF_14ASNIFF,$(APP_CFLAGS)))
82     SRC_STANDALONE = hf_14asniff.c
83 endif
84 # WITH_STANDALONE_HF_14BSNIFF
85 ifneq (,$(findstring WITH_STANDALONE_HF_14BSNIFF,$(APP_CFLAGS)))
86     SRC_STANDALONE = hf_14bsniff.c
87 endif
88 # WITH_STANDALONE_HF_15SNIFF
89 ifneq (,$(findstring WITH_STANDALONE_HF_15SNIFF,$(APP_CFLAGS)))
90     SRC_STANDALONE = hf_15sniff.c
91 endif
92 # WITH_STANDALONE_HF_15SIM
93 ifneq (,$(findstring WITH_STANDALONE_HF_15SIM,$(APP_CFLAGS)))
94     SRC_STANDALONE = hf_15sim.c
95 endif
96 # WITH_STANDALONE_HF_AVEFUL
97 ifneq (,$(findstring WITH_STANDALONE_HF_AVEFUL,$(APP_CFLAGS)))
98     SRC_STANDALONE = hf_aveful.c
99 endif
100 # WITH_STANDALONE_HF_BOG
101 ifneq (,$(findstring WITH_STANDALONE_HF_BOG,$(APP_CFLAGS)))
102     SRC_STANDALONE = hf_bog.c
103 endif
104 # WITH_STANDALONE_HF_CARDHOPPER
105 ifneq (,$(findstring WITH_STANDALONE_HF_CARDHOPPER,$(APP_CFLAGS)))
106     SRC_STANDALONE = hf_cardhopper.c
107 endif
108 # WITH_STANDALONE_HF_COLIN
109 ifneq (,$(findstring WITH_STANDALONE_HF_COLIN,$(APP_CFLAGS)))
110     SRC_STANDALONE = vtsend.c hf_colin.c frozen.c nprintf.c
111 endif
112 # WITH_STANDALONE_HF_CRAFTBYTE
113 ifneq (,$(findstring WITH_STANDALONE_HF_CRAFTBYTE,$(APP_CFLAGS)))
114     SRC_STANDALONE = hf_craftbyte.c
115 endif
116 # WITH_STANDALONE_HF_ICECLASS
117 ifneq (,$(findstring WITH_STANDALONE_HF_ICECLASS,$(APP_CFLAGS)))
118     SRC_STANDALONE = hf_iceclass.c
119 endif
120 # WITH_STANDALONE_HF_LEGIC
121 ifneq (,$(findstring WITH_STANDALONE_HF_LEGIC,$(APP_CFLAGS)))
122    SRC_STANDALONE = hf_legic.c
123 endif
124 # WITH_STANDALONE_HF_LEGICSIM
125 ifneq (,$(findstring WITH_STANDALONE_HF_LEGICSIM,$(APP_CFLAGS)))
126    SRC_STANDALONE = hf_legicsim.c
127 endif
128 # WITH_STANDALONE_HF_MATTYRUN
129 ifneq (,$(findstring WITH_STANDALONE_HF_MATTYRUN,$(APP_CFLAGS)))
130     SRC_STANDALONE = hf_mattyrun.c
131 endif
132 # WITH_STANDALONE_HF_MFCSIM
133 ifneq (,$(findstring WITH_STANDALONE_HF_MFCSIM,$(APP_CFLAGS)))
134     SRC_STANDALONE = hf_mfcsim.c
135 endif
136 # WITH_STANDALONE_HF_MSDSAL
137 ifneq (,$(findstring WITH_STANDALONE_HF_MSDSAL,$(APP_CFLAGS)))
138     SRC_STANDALONE = hf_msdsal.c
139 endif
140 # WITH_STANDALONE_HF_REBLAY
141 ifneq (,$(findstring WITH_STANDALONE_HF_REBLAY,$(APP_CFLAGS)))
142     SRC_STANDALONE = hf_reblay.c
143 endif
144 # WITH_STANDALONE_HF_TCPRST
145 ifneq (,$(findstring WITH_STANDALONE_HF_TCPRST,$(APP_CFLAGS)))
146     SRC_STANDALONE = hf_tcprst.c
147 endif
148 # WITH_STANDALONE_HF_TMUDFORD
149 ifneq (,$(findstring WITH_STANDALONE_HF_TMUDFORD,$(APP_CFLAGS)))
150     SRC_STANDALONE = hf_tmudford.c
151 endif
152 # WITH_STANDALONE_HF_UNISNIFF
153 ifneq (,$(findstring WITH_STANDALONE_HF_UNISNIFF,$(APP_CFLAGS)))
154     SRC_STANDALONE = hf_unisniff.c
155 endif
156 # WITH_STANDALONE_HF_YOUNG
157 ifneq (,$(findstring WITH_STANDALONE_HF_YOUNG,$(APP_CFLAGS)))
158     SRC_STANDALONE = hf_young.c
159 endif
161 ifneq (,$(findstring WITH_STANDALONE_DANKARMULTI,$(APP_CFLAGS)))
162     SRC_STANDALONE = dankarmulti.c
163 endif