Add deobfuscated versions of 199[1-3]/ant
Anthony/@SirWumpus kindly provided these files. The source code and their Makefiles are in a deobfuscated/ subdirectory (for each of the three entries) but running make alt from the entry directory works. It uses the deobfuscated version's Makefile but copies the compiled binary to the entry's directory to keep things clean (deobfuscated code separate from the entry) to simplify using the deobfuscated versions. Entries that had a test suite Makefile have a new one for the deobfuscated code and a try.alt.sh script was added to 1992/ant and 1993/ant but the entry_text is a bit different than the usual to indicate that it's the deobfuscated version. It might be that the way this is done should be reorganised some but that can be decided on later. The entries from 2004 and 2005 have not yet been added because some decisions have to be made as those are the ones with a configure script. The manifest was updated and the .entry.json and index.html files were updated. It is not clear yet if the inventory_order is right but that will be looked at in the next day or two. Thank you Anthony!
This commit is contained in:
1 parent
95efa5ada6
commit
a4fb0a8c8c
39 files changed
+3174
-48
No files matched your search
+26
-3
@@ -119,8 +119,8 @@ OBJ= ${PROG}.o
|
||||
DATA= README.md
|
||||
TARGET= ${PROG} hill mole
|
||||
#
|
||||
ALT_OBJ= ${PROG}.alt.o
|
||||
ALT_TARGET= ${PROG}.alt
|
||||
ALT_OBJ= ${PROG}.alt.o deobfuscated/${PROG}.o
|
||||
ALT_TARGET= ${PROG}.alt deobfuscated/${PROG}
|
||||
|
||||
|
||||
#################
|
||||
@@ -151,6 +151,29 @@ mole: ${PROG}.c hill
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
${PROG}.alt: ${PROG}.alt.c hill
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
# We keep the deobfuscated source code and Makefile in deobfuscated/, and use
|
||||
# that Makefile but then move the compiled programs to the entry's directory to
|
||||
# keep both directories clean and to allow the deobfuscated Makefile and code to
|
||||
# be used but not require the user to do:
|
||||
#
|
||||
# ./deobfuscated/ant
|
||||
# ./deobfuscated/ant-c89
|
||||
#
|
||||
# but rather simply:
|
||||
#
|
||||
# ./ant.alt2
|
||||
# ./ant.alt2-c89
|
||||
#
|
||||
# The alt2 is because this is the secondary alt.
|
||||
deobfuscated/${PROG}: deobfuscated/${PROG}.c deobfuscated/${PROG}-c89.c
|
||||
${MAKE} -C deobfuscated ant
|
||||
${MV} -vf deobfuscated/ant ant.alt2
|
||||
${MAKE} -C deobfuscated ant-c89
|
||||
${MV} -vf deobfuscated/ant-c89 ant.alt2-c89
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
@@ -217,7 +240,7 @@ clean:
|
||||
|
||||
clobber: clean
|
||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||
${RM} -rf *.dSYM
|
||||
${RM} -rf *.dSYM ant.alt ant.alt2 ant.alt2-c89
|
||||
@-if [ -e sandwich ]; then \
|
||||
${RM} -f sandwich; \
|
||||
echo 'ate sandwich'; \
|
||||
|
||||
Reference in new issue
Block a user