libinstaller: Use SOURCE_DATE_EPOCH for synthesized modification time stamps
[syslinux.git] / com32 / modules / Makefile
blobc01d6338e2dca12af5b1e81bc81ad04f42801032
1 ## -----------------------------------------------------------------------
2 ##
3 ## Copyright 2001-2009 H. Peter Anvin - All Rights Reserved
4 ## Copyright 2009 Intel Corporation; author: H. Peter Anvin
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
9 ## Boston MA 02111-1307, USA; either version 2 of the License, or
10 ## (at your option) any later version; incorporated herein by reference.
12 ## -----------------------------------------------------------------------
15 ## COM32 standard modules
18 VPATH = $(SRC)
19 include $(MAKEDIR)/elf.mk
21 # BIOS-specific modules
22 MOD_BIOS = disk.c32 elf.c32 ethersel.c32 gpxecmd.c32 ifmemdsk.c32 ifplop.c32 \
23 kbdmap.c32 kontron_wdt.c32 pcitest.c32 pmload.c32 poweroff.c32 \
24 prdhcp.c32 pxechn.c32 sanboot.c32 sdi.c32 vesainfo.c32
26 # All-architecture modules
27 MOD_ALL = cat.c32 cmd.c32 config.c32 cptime.c32 cpuid.c32 cpuidtest.c32 \
28 debug.c32 dir.c32 dmitest.c32 hexdump.c32 host.c32 ifcpu.c32 \
29 ifcpu64.c32 linux.c32 ls.c32 meminfo.c32 pwd.c32 reboot.c32 \
30 vpdtest.c32 whichsys.c32 zzjson.c32
32 ifeq ($(FIRMWARE),BIOS)
33 MODULES = $(MOD_ALL) $(MOD_BIOS)
34 else
35 MODULES = $(MOD_ALL)
36 endif
38 TESTFILES =
40 all: $(MODULES) $(TESTFILES)
42 .PRECIOUS: %.o
43 dmitest.o: dmitest.c
44 $(CC) $(CFLAGS) $(GPLINCLUDE) -c -o $@ $<
46 dmitest.elf : dmi_utils.o dmitest.o $(C_LIBS)
47 $(LD) $(LDFLAGS) -o $@ $^
49 tidy dist:
50 rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
52 clean: tidy
53 rm -f *.lnx
55 spotless: clean
56 rm -f *.lss *.c32 *.com
57 rm -f *~ \#*
59 install:
61 -include .*.d