"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/rules.mk" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

rules.mk  (bed-3.0.3.src.tar.xz):rules.mk  (bed-3.1.0.src.tar.xz)
CALGFLAGS+=-fno-exceptions -fno-rtti
ifeq ($(CONFIG_STATIC),y) ifeq ($(CONFIG_STATIC),y)
CONFIG_PLUGIN=n CONFIG_PLUGIN=n
CALGFLAGS+=-DSTATIC=1 CALGFLAGS+=-DSTATIC=1
LDFLAGS := $(LDFLAGS) -static LDFLAGS := $(LDFLAGS) -static
endif endif
ifeq ($(CONFIG_THREADS),y) ifeq ($(CONFIG_THREADS),y)
CALGFLAGS := $(CALGFLAGS) -DUSETHREADS=1 -D_REENTRANT=1 -DLONGTHREADS CALGFLAGS := $(CALGFLAGS) -DUSETHREADS=1 -D_REENTRANT=1 -DLONGTHREADS
LIBS := $(THREADSLIB) $(LIBS) LIBS := $(THREADSLIB) $(LIBS)
endif endif
ifeq ($(CONFIG_PLUGIN),n) ifeq ($(CONFIG_PLUGIN),n)
CALGFLAGS := $(CALGFLAGS) -DNODL=1 CALGFLAGS := $(CALGFLAGS) -DNODL=1
else else
RDYNAMIC := -rdynamic RDYNAMIC := -rdynamic
LIBS := $(LIBS) $(DL_LIBRARY) LIBS := $(LIBS) $(DL_LIBRARY)
endif endif
LDFLAGS+=-fno-exceptions -fno-rtti
OPTIM=-O3 OPTIM=-O3
ifeq ($(CONFIG_DEBUG),y) ifeq ($(CONFIG_DEBUG),y)
OPTS:=-g $(OPTS) OPTS:= -gdwarf-4 -g3 $(OPTS)
CALGFLAGS := $(CALGFLAGS) -DTRACEON -DDEBUGON -DDEBUGFLAG CALGFLAGS := $(CALGFLAGS) -DTRACEON -DDEBUGON -DDEBUGFLAG
OBJ := $(OBJ) debug.o myalloc.o OBJ := $(OBJ) debug.o myalloc.o
else else
ifeq ($(CONFIG_DEBUG),n) ifeq ($(CONFIG_DEBUG),n)
OPTS := $(OPTIM) $(OPTS) OPTS := $(OPTIM) $(OPTS)
CALGFLAGS+=-DNDEBUG=1 CALGFLAGS+=-DNDEBUG=1
#OPTS := $(OPTS) #OPTS := $(OPTS)
else else
ifeq ($(CONFIG_DEBUG),t) ifeq ($(CONFIG_DEBUG),t)
OPTS:=$(OPTIM) $(OPTS) OPTS:=$(OPTIM) $(OPTS)
CALGFLAGS := $(CALGFLAGS) -DTRACEON -DDEBUGON -DDEBUGFL AG CALGFLAGS := $(CALGFLAGS) -DTRACEON -DDEBUGON -DDEBUGFL AG
OBJ := $(OBJ) debug.o myalloc.o OBJ := $(OBJ) debug.o myalloc.o
else else
ifeq ($(CONFIG_DEBUG),o) ifeq ($(CONFIG_DEBUG),o)
OPTS:=-g -O2 $(OPTS) OPTS:= -gdwarf-4 -g3 -O2 $(OPTS)
CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG
else else
ifeq ($(CONFIG_DEBUG),k) ifeq ($(CONFIG_DEBUG),k)
OPTS:=-g -O $(OPTS) OPTS:= -gdwarf-4 -g3 -O $(OPTS)
CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG
else else
OPTS:=-g $(OPTS) OPTS:= -gdwarf-4 -g3 $(OPTS)
CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG
endif endif
endif endif
endif endif
endif endif
endif endif
ifeq ($(CONFIG_MMAP),y) ifeq ($(CONFIG_MMAP),y)
CALGFLAGS := $(CALGFLAGS) -DUSE_MMAP=1 CALGFLAGS := $(CALGFLAGS) -DUSE_MMAP=1
endif endif
skipping to change at line 114 skipping to change at line 116
endif endif
#ifneq ($(CYGWIN),yes) #ifneq ($(CYGWIN),yes)
#OBJECTS+=win32.o #OBJECTS+=win32.o
#endif #endif
ifeq ($(CONFIG_XBED),y) ifeq ($(CONFIG_XBED),y)
CALGFLAGS+=-DUSE_WITH_XBED=1 CALGFLAGS+=-DUSE_WITH_XBED=1
endif endif
CFLAGS+=$(CALGFLAGS) CFLAGS+=$(CALGFLAGS)
CXXFLAGS+=$(CALGFLAGS) CXXFLAGS+=$(CALGFLAGS)
ifeq ($(HOST_OS),mingw32)
CFLAGS+=-D_POSIX_THREAD_SAFE_FUNCTIONS=1
CXXFLAGS+=-D_POSIX_THREAD_SAFE_FUNCTIONS=1
endif
 End of changes. 7 change blocks. 
4 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)