remove all changes from mouse@

This commit is contained in:
Anton Farygin 2005-08-04 17:58:58 +00:00
parent 8cdca1b62b
commit f655cc67ce

View File

@ -14,9 +14,11 @@
#
#*****************************************************************************
include /usr/lib/dietlibc/Makefile.rules
ARCH := $(patsubst i%86,i386,$(shell uname -m))
ARCH := $(patsubst sparc%,sparc,$(ARCH))
DIET_LIBDIR = /usr/lib/dietlibc/lib-$(ARCH)
DIET_PREFIX = /usr/lib/dietlibc
DIET_LIBDIR = $(DIET_PREFIX)/lib-$(ARCH)
#- default lib is dietlibc (honoured by main Makefile whenever possible)
L = DIETLIBC
@ -36,11 +38,12 @@ endif
#- flags used by all stuff
ifeq (ppc, $(ARCH))
CFLAGS += -Os -pipe -Wall -fomit-frame-pointer
CFLAGS = -Os -pipe -Wall -fomit-frame-pointer
else
CFLAGS += -pipe -Wall -Wno-deprecated-declarations -D_BSD_SOURCE -D_GNU_SOURCE
CFLAGS = -Os -pipe -Wall -Wno-deprecated-declarations -fomit-frame-pointer -D_BSD_SOURCE -D_GNU_SOURCE -D__LIBC_DIETLIBC__
endif
DIETLIBC_INCLUDES = -I$(DIET_PREFIX)/include
GLIBC_INCLUDES =
INCLUDES = -I. $($(L)_INCLUDES)
@ -48,8 +51,7 @@ GCC_LIBDIR=$(shell dirname `gcc -print-libgcc-file-name`)
LIBGCC_A=$(shell gcc -print-libgcc-file-name)
GLIBC_LDFLAGS_STAGE1 = -static
DIETLIBC_LDFLAGS_STAGE1 = -nostdlib
# $(LIBGCC_A)
DIETLIBC_LDFLAGS_STAGE1 = -nostdlib $(DIET_LIBDIR)/start.o $(LIBGCC_A)
LDFLAGS_STAGE1 = $($(L)_LDFLAGS_STAGE1)
GLIBC_LIBC =