1 ## -----------------------------------------------------------------------
3 ## Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 ## Boston MA 02111-1307, USA; either version 2 of the License, or
9 ## (at your option) any later version; incorporated herein by reference.
11 ## -----------------------------------------------------------------------
13 INCLUDES = -I. -I../vboxsf -I../vboxsf/include
14 MOD_DEFS = -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
15 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DIN_MODULE -DIN_GUEST_R0
16 CFLAGS = ${INCLUDES} ${MOD_DEFS}
19 SRCS = mount.vboxsf.c \
22 OBJS = $(patsubst %.c,%.o,$(notdir $(SRCS)))
24 .SUFFIXES: .c .o .i .s .S
30 -rm -f *.o mount.vboxsf
36 $(CC) $(LDFLAGS) -o $@ $^
39 $(CC) $(UMAKEDEPS) $(CFLAGS) -c -o $@ $<
41 $(CC) $(UMAKEDEPS) $(CFLAGS) -E -o $@ $<
43 $(CC) $(UMAKEDEPS) $(CFLAGS) -S -o $@ $<