Version info for ext2fs driver.
[reactos.git] / reactos / drivers / fs / ext2 / makefile
1 # $Id: makefile,v 1.8 2000/04/01 14:19:07 ea Exp $
2 #
3 # Linux Ext2 IFS Driver
4 #
5 BASE_CFLAGS = -I../../../include
6
7 TARGETNAME=ext2fs
8
9 OBJECTS = super.o blockdev.o inode.o file.o dir.o rw.o quota.o security.o \
10 attr.o ext2.coff ../../../ntoskrnl/ntoskrnl.a
11
12 all: $(TARGETNAME).sys
13
14 .phony: all
15
16 clean:
17 - $(RM) super.o
18 - $(RM) blockdev.o
19 - $(RM) inode.o
20 - $(RM) file.o
21 - $(RM) dir.o
22 - $(RM) rw.o
23 - $(RM) ext2.coff
24 - $(RM) junk.tmp
25 - $(RM) base.tmp
26 - $(RM) temp.exp
27 - $(RM) $(TARGETNAME).sys
28
29 .phony: clean
30
31 ext2fs.sys: $(OBJECTS)
32 $(CC) \
33 -specs=../../svc_specs \
34 -mdll \
35 -o junk.tmp \
36 -Wl,--defsym,_end=end \
37 -Wl,--defsym,_edata=__data_end__ \
38 -Wl,--defsym,_etext=etext \
39 -Wl,--base-file,base.tmp \
40 $(OBJECTS)
41 $(RM) junk.tmp
42 $(DLLTOOL) \
43 --dllname $(TARGETNAME).sys \
44 --base-file base.tmp \
45 --output-exp temp.exp
46 $(RM) base.tmp
47 $(CC) \
48 --verbose \
49 -Wl,--image-base,0x10000 \
50 -Wl,-e,_DriverEntry \
51 -specs=../../svc_specs \
52 -mdll \
53 -o $(TARGETNAME).sys \
54 $(OBJECTS) \
55 -Wl,temp.exp
56 $(RM) temp.exp
57
58 ext2.coff: ../../../include/reactos/buildno.h ext2.rc
59
60 include ../../../rules.mak
61
62 # EOF