1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/bbc_provided/bbc_provided.conf
3 # Copyright (C) 2012 - 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 build_bbc_provided() {
13 rm -f and or dotquad ipcalc || true
14 $CC -Wall -o and andor.c -DAND
15 $CC -Wall -o or andor.c -DOR
16 $CC -Wall -o dotquad dotquad.c
17 $CC -Wall -o ipcalc ipcalc.c -lpopt
21 hook_add inmake 5 build_bbc_provided
22 hook_add postmake 5 "install -v and or dotquad ipcalc $root$bindir"