|
version 1.52, 2005/09/25 06:11:29
|
version 1.53, 2005/10/27 00:15:23
|
|
|
|
| ## Sets user-modifiable variables | ## Sets user-modifiable variables |
| ## e.g. enable TOS, Kernel, native kernel headers, etc | ## e.g. enable TOS, Kernel, native kernel headers, etc |
| include Make.conf | include Make.conf |
| |
ifeq ($(strip $(USE_CONFIGURE)), 1) |
| |
include config.make |
| |
endif |
| | |
| ## USE_DEVFS. This flag causes the FUSD kernel module to build with | ## USE_DEVFS. This flag causes the FUSD kernel module to build with |
| ## devfs support. DevFS seems to have race conditions and we do not | ## devfs support. DevFS seems to have race conditions and we do not |
|
|
|
| endif | endif |
| | |
| CFLAGS += -Wall -Werror -I. $(GLIB_CFLAGS) -I$(INCDIR) -DCVSTAG=\"$(CVSTAG)\" | CFLAGS += -Wall -Werror -I. $(GLIB_CFLAGS) -I$(INCDIR) -DCVSTAG=\"$(CVSTAG)\" |
| |
ifdef HAVE_GCC_4 |
| |
CFLAGS += -Wno-pointer-sign |
| |
endif |
| KCFLAGS += -DCVSTAG=\"$(CVSTAG)\" | KCFLAGS += -DCVSTAG=\"$(CVSTAG)\" |
| CXXFLAGS += -Wall -Werror -I. $(GLIB_CFLAGS) -I$(INCDIR) -DCVSTAG=\"$(CVSTAG)\" | CXXFLAGS += -Wall -Werror -I. $(GLIB_CFLAGS) -I$(INCDIR) -DCVSTAG=\"$(CVSTAG)\" |
| | |
|
|
|
| clean: | clean: |
| rm -rf ./$(OBJDIR)/$(BUILDDIR) | rm -rf ./$(OBJDIR)/$(BUILDDIR) |
| rm -f $(ALL_TARGETS) $(RULES) | rm -f $(ALL_TARGETS) $(RULES) |
| |
rm -f config.make |
| | |
| # strip target: strips all binaries other than kernel modules | # strip target: strips all binaries other than kernel modules |
| strip: default-targets | strip: default-targets |
|
|
|
| # @/usr/sbin/fusdd | # @/usr/sbin/fusdd |
| @echo "Now as root, just run /usr/sbin/fusdd" | @echo "Now as root, just run /usr/sbin/fusdd" |
| | |
| |
config.make: |
| |
@echo "Building config.make" |
| |
perl htosh.pl |