aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/modules/Makefile
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-06-03 11:00:22 +0800
committerFeng Tang <feng.tang@intel.com>2010-07-20 11:10:03 +0800
commit70aa5968a72030aff10fbdb1cb2c1c6c08de5fec (patch)
tree7d1344bd23b7019393156856ccb135847e313ede /com32/elflink/modules/Makefile
parent0cb6490fa96f752c01bbb9add2c9ca6dbf99ece2 (diff)
downloadsyslinux-70aa5968a72030aff10fbdb1cb2c1c6c08de5fec.tar.gz
syslinux-70aa5968a72030aff10fbdb1cb2c1c6c08de5fec.tar.xz
syslinux-70aa5968a72030aff10fbdb1cb2c1c6c08de5fec.zip
elflink: copy some elflink related files over
also make sure the compiling passed
Diffstat (limited to 'com32/elflink/modules/Makefile')
-rw-r--r--com32/elflink/modules/Makefile90
1 files changed, 90 insertions, 0 deletions
diff --git a/com32/elflink/modules/Makefile b/com32/elflink/modules/Makefile
new file mode 100644
index 00000000..ee16f8bc
--- /dev/null
+++ b/com32/elflink/modules/Makefile
@@ -0,0 +1,90 @@
+## -----------------------------------------------------------------------
+##
+## Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
+## Boston MA 02111-1307, USA; either version 2 of the License, or
+## (at your option) any later version; incorporated herein by reference.
+##
+## -----------------------------------------------------------------------
+
+topdir = ../../..
+include MCONFIG
+
+MODULES = hello.c32 sort.c32 mytest.c32 menumain.c32 printmsg.c32 background.c32 passwd.c32 sha1hash.c32 \
+ unbase64.c32 sha512crypt.c32 md5.c32 crypt-md5.c32 sha256crypt.c32 get_key.c32 ansiraw.c32 test.c32 menu.c32 drain.c32
+
+TESTFILES =
+
+all: $(MODULES) $(TESTFILES)
+
+test.c32 : test.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+menu.c32 : menu.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+hello.c32 : hello.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+sort.c32 : sort.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+mytest.c32 : mytest.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+menumain.c32 : menumain.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+printmsg.c32 : printmsg.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+background.c32 : background.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+drain.c32 : drain.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+passwd.c32 : passwd.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+sha1hash.c32 : sha1hash.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+unbase64.c32 : unbase64.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+sha512crypt.c32 : sha512crypt.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+sha256crypt.c32 : sha256crypt.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+md5.c32 : md5.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+crypt-md5.c32 : crypt-md5.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+get_key.c32 : get_key.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+ansiraw.c32 : ansiraw.o
+ $(LD) $(LDFLAGS) -o $@ $^
+
+tidy dist:
+ rm -f *.o *.lo *.a *.lst .*.d
+
+clean: tidy
+ rm -f *.lss *.lnx *.com
+
+spotless: clean
+ rm -f *~ \#*
+
+install: all
+ mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR)
+ install -m 644 $(MODULES) $(INSTALLROOT)$(AUXDIR)
+
+-include .*.d