Add unobfuscated code from @SirWumpus
The entries 2004/hibachi and 2005/mynx have unobfuscated code now. 2004/hibachi has a configure script that is used along the lines of the original entry (with some adjustments and fixes) and the hibachi.alt.c had to have ctype.h included too. The directory src/localhost was copied to src-alt/localhost but the rest of src/ was from Anthony. The Makefile had to be updated to build this version. 2005/mynx does have a configure script but it is, just like the original entry, unused and so the unobfuscated (in source-alt/) is also unused. The mynx.alt.c was changed to mynx.alt2.c and the unobfuscated code was made mynx.alt.c. Updated manifest, rebuilt .entry.json and index.html files. After a question is answered and taken care of (in one of 199[1-3]/ant - not sure which one) issue #2513 can possibly be closed as complete (though the manifest updates will have to be looked at more when 2004 and 2005 are reviewed).
This commit is contained in:
1 parent
60ce3d9155
commit
0d65af1b2b
65 files changed
+15579
-218
No files matched your search
+18
-4
@@ -116,8 +116,8 @@ OBJ= ${PROG}.o
|
||||
DATA=
|
||||
TARGET= build/${PROG}
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= build-alt/${PROG}.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -150,6 +150,20 @@ src/hibachi.c: hibachi.c
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
build-alt/${PROG}.alt: src-alt/hibachi.alt.c src-alt
|
||||
${RM} -rf build-alt
|
||||
${CP} -v -r src-alt build-alt
|
||||
@echo "This next step may take some time to complete:"
|
||||
cd build-alt; CFLAGS="${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
CC="${CC}" \
|
||||
${SHELL} ./configure
|
||||
cd build-alt; ${MAKE}
|
||||
|
||||
src-alt/hibachi.alt.c: hibachi.alt.c
|
||||
${CP} -f -v $? $@
|
||||
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
@@ -216,9 +230,9 @@ clean:
|
||||
|
||||
clobber: clean
|
||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||
${RM} -f src/hibachi.c src/config.log
|
||||
${RM} -f src/hibachi.c src/config.log src-alt/hibachi.c src-alt/hibachi.c
|
||||
${RM} -rf *.dSYM
|
||||
${RM} -rf build
|
||||
${RM} -rf build build-alt
|
||||
@-if [ -e sandwich ]; then \
|
||||
${RM} -f sandwich; \
|
||||
echo 'ate sandwich'; \
|
||||
|
||||
Reference in new issue
Block a user