USRLIBS := crt0.o acess.ld ld-acess.so libgcc.so libc.so
USRLIBS += libreadline.so libnet.so liburi.so
+USRLIBS += libaxwin2.so libimage_sif.so
USRAPPS := init login CLIShell cat ls mount
USRAPPS += bomb pcidump
USRAPPS += ifconfig ping irc
+USRAPPS += axwin2
ALL_DYNMODS = $(addprefix all-,$(DYNMODS))
ALL_MODULES := $(addprefix all-,$(MODULES))
install: $(BIN)
ifneq ($(BUILDTYPE),static)
- $(xMKDIR) $(DISTROOT)/Modules/$(ARCH)
+ @$(xMKDIR) $(DISTROOT)/Modules/$(ARCH); true
$(xCP) $(BIN) $(DISTROOT)/Modules/$(ARCH)/$(NAME).kmd
else
endif
@$(LD) -r -o $@ $(OBJ)
endif
-%.o.$(_SUFFIX): %.c Makefile ../Makefile.tpl $(CFGFILES)
+%.o.$(_SUFFIX): %.c Makefile $(CFGFILES)
@echo --- $(CC) -o $@
@$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
@$(CC) -M $(CPPFLAGS) -MT $@ -o $*.d.$(ARCH) $<
ASFLAGS = -felf
CPPFLAGS = -I$(ACESSUSERDIR)/include/
-CFLAGS = -fno-stack-protector $(CPPFLAGS) -Wall
+CFLAGS = -fno-stack-protector $(CPPFLAGS)
LDFLAGS = -T $(OUTPUTDIR)Libs/acess.ld -rpath-link $(OUTPUTDIR)Libs -L $(OUTPUTDIR)Libs -I /Acess/Libs/ld-acess.so -lld-acess -lc
DIR = Bin
@$(RM) $(OBJ) $(DEPFILES) $(_BIN) $(BIN).dsm Map.txt
install: $(_BIN)
- @$(xMKDIR) $(DISTROOT)/$(DIR)
+ @$(xMKDIR) $(DISTROOT)/$(DIR); true
$(xCP) $(_BIN) $(DISTROOT)/$(DIR)/
$(_BIN): $(OBJ)
$(RM) $(_BIN) $(_XBIN) $(OBJ) $(_BIN).dsm $(DEPFILES)
install: all
- @$(xMKDIR) $(DISTROOT)/Libs
+ @$(xMKDIR) $(DISTROOT)/Libs; true
$(xCP) $(_BIN) $(_XBIN) $(DISTROOT)/Libs/
$(_BIN): $(OBJ)