From 99f0f0120bfa520608051d6c79bb2d2e30a49955 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Sat, 27 Jan 2001 15:29:33 +0000 Subject: [PATCH] Updated. committer: mfx 980609373 +0000 --- src/stub/.cvsignore | 14 +++++++------- src/stub/Makefile | 8 +++++--- src/stub/util/sstrip/Makefile | 15 ++++++++++++++- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/stub/.cvsignore b/src/stub/.cvsignore index cc7272de..1b42925f 100644 --- a/src/stub/.cvsignore +++ b/src/stub/.cvsignore @@ -5,21 +5,21 @@ *.lst *.map *.o +fold_elf86.h +fold_exec86.h +fold_sh86.h l_com.h l_djgpp2.h l_exe.h -l_le_n2b.h -l_le_n2d.h -l_lx_n2b.h -l_lx_n2d.h -l_sh_n2b.h -l_sh_n2d.h +l_lx_elf86.h +l_lx_exec86.h +l_lx_sh86.h l_sys.h -l_tmt.h l_t_n2b.h l_t_n2bs.h l_t_n2d.h l_t_n2ds.h +l_tmt.h l_vmlinz.h l_w32pe.h l_wcle.h diff --git a/src/stub/Makefile b/src/stub/Makefile index cc16b74c..e3d74026 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -332,6 +332,8 @@ upxd: l_lx_sep.o l_lx_sep86.asm DEPS1 = header.ash macros.ash ident.ash ident_n.ash ident_s.ash DEPS2 = header.asy macros.asy +$(STUBS): $(srcdir)/scripts/bin2h.pl + l_com.h: n2b_d16.asy $(DEPS2) l_djgpp2.h: n2b_d32.asy n2d_d32.asy $(DEPS2) l_exe.h: n2b_d8e.asy n2d_d8e.asy $(DEPS2) @@ -347,9 +349,9 @@ l_vxd.h: n2b_d32.asy n2d_d32.asy $(DEPS2) l_wcle.h: n2b_d32.asy n2d_d32.asy $(DEPS2) l_w32pe.h: n2b_d32.asy n2d_d32.asy $(DEPS2) -l_lx_elf86.asx: l_lx_elf86.asm macros.ash macros.asy -l_lx_exec86.asx: l_lx_exec86.asm macros.ash macros.asy -l_lx_sh86.asx: l_lx_sh86.asm macros.ash macros.asy +l_lx_elf86.h: l_lx_elf86.asm macros.ash macros.asy +l_lx_exec86.h: l_lx_exec86.asm macros.ash macros.asy +l_lx_sh86.h: l_lx_sh86.asm macros.ash macros.asy upxb: linux.hh upxd: linux.hh diff --git a/src/stub/util/sstrip/Makefile b/src/stub/util/sstrip/Makefile index 28e5bd5a..5e2a195c 100644 --- a/src/stub/util/sstrip/Makefile +++ b/src/stub/util/sstrip/Makefile @@ -1,10 +1,23 @@ # Makefile for sstrip +SHELL = /bin/sh + +all: sstrip + sstrip: sstrip.c gcc -O2 -g -Wall -W -o $@ $< -mostlyclean clean distclean maintainer-clean: +mostlyclean: + -rm -f *.d *.err *.i *.log *.map *~ gdb-trans* + +clean distclean maintainer-clean: mostlyclean + -rm -f *.a *.lib *.o *.obj tags TAGS ID + -rm -rf .deps rm -f sstrip .PHONY: all mostlyclean clean distclean maintainer-clean +.NOEXPORT: + +# vi:nowrap +