Home
last modified time | relevance | path

Searched full:unifdef (Results 1 – 25 of 127) sorted by relevance

123456

/freebsd/contrib/unifdef/tests/
H A Drecursive.experr1 unifdef: addsym FOO=BAR
2 unifdef: addsym BAR=ZIG
3 unifdef: addsym ZIG=BAR
4 unifdef: addsym QUX=QUX
5 unifdef: findsym BAR=ZIG
6 unifdef: indir... FOO=BAR
7 unifdef: ...ectsym FOO=ZIG
8 unifdef: findsym ZIG=BAR
9 unifdef: indir... BAR=ZIG
10 unifdef: ...ectsym BAR=BAR
[all …]
H A Ddiv.sh2 if ! unifdef div.c
3 then unifdef -d div.c
6 unifdef -DDENOM div.c
8 if ! unifdef -UDENOM div.c
9 then unifdef -d -UDENOM div.c
H A Ddefundef-broken4.experr1 unifdef: broken4.h: 1: Obfuscated preprocessor control line
2 unifdef: Output may be truncated
H A Ddefundef-broken2.experr1 unifdef: broken2.h: 1: Missing macro name in #define
2 unifdef: Output may be truncated
H A Ddefundef-broken3.experr1 unifdef: broken3.h: 1: Missing macro name in #undef
2 unifdef: Output may be truncated
H A Dwhitespace-1.experr1 unifdef: whitespace.c: 4: Obfuscated preprocessor control line (#if line 1 depth 1)
2 unifdef: Output may be truncated
H A Dxterm.sh29 unifdef -s xterm-main.c | sed 's/^/#undef /' >xterm-undefs.h
31 unifdef -f xterm-undefs.h -f xterm-defs.h xterm-main.c >xterm-out.c
/freebsd/contrib/unifdef/
H A DMakefile1 # Makefile for unifdef
11 all: unifdef
13 unifdef: unifdef.c unifdef.h version.h target
14 ${CC} ${CFLAGS} ${LDFLAGS} -o unifdef unifdef.c
20 test: unifdef
23 install: unifdef unifdefall.sh unifdef.1
26 install -m 755 unifdef ${bindest}/
30 install -m 644 unifdef.1 ${man1dest}/
31 ln -s unifdef.1 ${man1dest}/unifdefall.1
34 rm -f unifdef version.h
[all …]
H A DREADME1 unifdef - selectively remove C preprocessor conditionals
3 Written by Tony Finch <dot@dotat.at> - http://dotat.at/prog/unifdef/
5 The unifdef utility selectively processes conditional C preprocessor
12 Pre-formatted documentation can be found in unifdef.txt
15 http://dotat.at/prog/unifdef
18 git clone http://dotat.at/git/unifdef.git
20 I also maintain a copy at http://github.com/fanf2/unifdef
H A Dunifdefall.sh31 unifdef="$(dirname "$0")/unifdef"
32 if [ ! -e "$unifdef" ]
34 unifdef=unifdef
49 "$unifdef" $debug -s "$@" | sort -u | sed 's/^/#undef /' >"$tmp/undefs"
58 "$unifdef" $debug -k -f "$tmp/undefs" -f "$tmp/defs" "$@"
H A D.gitignore2 unifdef
3 unifdef.exe
4 unifdef.txt
5 unifdef-*
H A DCOPYING1 unifdef copyright licence
5 copyright licence, except for the manual page unifdef.1 and the
9 Unifdef was derived from software contributed to Berkeley by Dave
11 version of unifdef.c carried the four-clause BSD copyright licence.
51 The three-clause BSD copyright licence for the manual page unifdef.1
H A DINSTALL1 unifdef installation instructions
5 * unifdef is mostly ANSI C, with a few unixisms
29 To update version.h, right-click on the fanf2/unifdef repository and
H A D.travis.yml48 echo -e '#!/bin/bash\nexec wine $0.exe "$@"' > unifdef;
49 chmod ugo+x unifdef;
H A Dunifdef.136 .Nm unifdef , unifdefall
480 The unifdef home page is
481 .Pa http://dotat.at/prog/unifdef
/freebsd/contrib/unifdef/win32/
H A DMakefile.mingw4 all: unifdef.exe
6 unifdef.exe: unifdef.c win32/win32.c FreeBSD/getopt.c FreeBSD/err.c
8 cp ../unifdef.c ../version.h . && \
9 $(CC) $(CFLAGS) $(LDFLAGS) -I. -o ../unifdef.exe unifdef.c \
11 rm -f unifdef.c version.h
13 test: unifdef.exe
H A Dunifdef.vcxproj16 <RootNamespace>unifdef</RootNamespace>
54 <PrecompiledHeaderFile>unifdef.h</PrecompiledHeaderFile>
71 <PrecompiledHeaderFile>unifdef.h</PrecompiledHeaderFile>
82 <ClInclude Include="..\win32\unifdef.h" />
85 <ClCompile Include="..\unifdef.c" />
H A Dunifdef.sln4 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unifdef", "unifdef.vcxproj", "{52450E07-855E-4…
H A Dunifdef.h53 #define _getprogname() "unifdef"
57 * but dogma dictates that #if directives are not allowed inside unifdef.
/freebsd/usr.bin/unifdef/tests/
H A Dunifdef_test.sh16 atf_check -o file:f unifdef <f
31 atf_check -s exit:1 -o inline:"a\n" unifdef -DFOO <file
32 atf_check -s exit:1 -o inline:"a\n" unifdef -UFOO -DFOO <file
33 atf_check -s exit:1 -o inline:"a\n" unifdef -DFOO=0 -DFOO <file
34 atf_check -s exit:1 -o inline:"b\n" unifdef -UFOO <file
35 atf_check -s exit:1 -o inline:"b\n" unifdef -DFOO -UFOO <file
36 atf_check -s exit:1 -o inline:"b\n" unifdef -DFOO -DFOO=0 <file
/freebsd/contrib/unifdef/scripts/
H A Dupload.sh3 make unifdef.txt
4 cp unifdef.txt web
13 echo "Homepage: <a href='http://dotat.at/prog/unifdef'>http://dotat.at/prog/unifdef</a>" >.git/READ…
16 rsync --recursive --links --delete .git/ chiark:public-git/unifdef.git/
17 rsync --recursive --links web/ chiark:public-html/prog/unifdef/
H A Dreversion.sh5 echo Your copy of unifdef is incomplete 1>&2
22 [ unifdef -nt unifdef.c ] &&
23 [ unifdef -nt unifdef.h ] &&
H A Dgit.config4 rewriteRoot = svn://svn.FreeBSD.org/base/head/usr.bin/unifdef
5 url = svn+ssh://fanf@svn.FreeBSD.org/base/head/usr.bin/unifdef
8 url = git@github.com:fanf2/unifdef.git
/freebsd/contrib/netbsd-tests/usr.bin/unifdef/
H A Dt_basic.sh33 atf_set "descr" "A basic test of unifdef(1) (PR bin/42628)"
34 atf_set "require.progs" "unifdef"
40 -x "unifdef -U__FreeBSD__ $(atf_get_srcdir)/d_basic.in"
52 atf_check -o file:input unifdef -Ubar input
60 atf_check -o file:input unifdef -Ubar input
/freebsd/usr.bin/unifdef/
H A DMakefile1 .PATH: ${SRCTOP}/contrib/unifdef
3 PROG= unifdef
5 MLINKS= unifdef.1 unifdefall.1

123456