"Fossies" - the Fresh Open Source Software Archive  

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

About: bed is an adjustable data format binary editor.

rules.mk  (bed-3.0.0.src.tar.xz):rules.mk  (bed-3.0.1.src.tar.xz)
ifeq ($(CONFIG_STATIC),y) ifeq ($(CONFIG_STATIC),y)
CONFIG_PLUGIN=n CONFIG_PLUGIN=n
CFLAGS+=-DSTATIC=1 CALGFLAGS+=-DSTATIC=1
LDFLAGS := $(LDFLAGS) -static LDFLAGS := $(LDFLAGS) -static
endif endif
ifeq ($(CONFIG_THREADS),y) ifeq ($(CONFIG_THREADS),y)
CFLAGS := $(CFLAGS) -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)
CFLAGS := $(CFLAGS) -DNODL=1 CALGFLAGS := $(CALGFLAGS) -DNODL=1
else else
LDFLAGS := $(LDFLAGS) -rdynamic RDYNAMIC := -rdynamic
LIBS := $(LIBS) $(DL_LIBRARY) LIBS := $(LIBS) $(DL_LIBRARY)
endif endif
OPTIM=-O3 OPTIM=-O3
ifeq ($(CONFIG_DEBUG),y) ifeq ($(CONFIG_DEBUG),y)
OPTS:=-g $(OPTS) OPTS:=-g $(OPTS)
CFLAGS := $(CFLAGS) -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)
CFLAGS+=-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)
CFLAGS := $(CFLAGS) -DTRACEON -DDEBUGON -DDEBUGFLAG 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:=-g -O2 $(OPTS)
CFLAGS := $(CFLAGS) -DDEBUGFLAG CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG
else else
ifeq ($(CONFIG_DEBUG),k) ifeq ($(CONFIG_DEBUG),k)
OPTS:=-g -O $(OPTS) OPTS:=-g -O $(OPTS)
CFLAGS := $(CFLAGS) -DDEBUGFLAG CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG
else else
OPTS:=-g $(OPTS) OPTS:=-g $(OPTS)
CFLAGS := $(CFLAGS) -DDEBUGFLAG CALGFLAGS := $(CALGFLAGS) -DDEBUGFLAG
endif endif
endif endif
endif endif
endif endif
endif endif
ifeq ($(CONFIG_MMAP),y) ifeq ($(CONFIG_MMAP),y)
CFLAGS := $(CFLAGS) -DUSE_MMAP=1 CALGFLAGS := $(CALGFLAGS) -DUSE_MMAP=1
endif endif
ifeq ($(CONFIG_LARGEFILES),y) ifeq ($(CONFIG_LARGEFILES),y)
CFLAGS := $(CFLAGS) -DLARGEFILES=8 CALGFLAGS := $(CALGFLAGS) -DLARGEFILES=8
endif endif
ifneq ($(LINKIN) $(LINKINDYN),) ifneq ($(LINKIN) $(LINKINDYN),)
ifneq ($(CYGWIN),yes) ifneq ($(CYGWIN),yes)
ifneq ($(filter switchsize.plug putselect.plug, $(LINKIN) $(LINKINDYN)),) ifneq ($(filter switchsize.plug putselect.plug, $(LINKIN) $(LINKINDYN)),)
#LIBS+=$(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS) #LIBS+=$(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
LIBS+= -lX11 $(X_EXTRA_LIBS) LIBS+= -lX11 $(X_EXTRA_LIBS)
CFLAGS+=$(X_FLAGS) CALGFLAGS+=$(X_FLAGS)
LDFLAGS+=$(X_LIBS) LDFLAGS+=$(X_LIBS)
endif endif
endif endif
INLINK= $(INLINKLIB) INLINK= $(INLINKLIB)
INLINK_H= inlink.h INLINK_H= inlink.h
ifneq ($(LINKINDYN),) ifneq ($(LINKINDYN),)
CFLAGS+=-DFAKE_DYNAMIC=1 CALGFLAGS+=-DFAKE_DYNAMIC=1
endif endif
else else
INLINK= INLINK=
INLINK_H= INLINK_H=
endif endif
ifeq ($(CONFIG_WRITEBETWEENPARTS),y) ifeq ($(CONFIG_WRITEBETWEENPARTS),y)
CFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN CALGFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN
else else
ifeq ($(CONFIG_WRITEBETWEENPARTS),b) ifeq ($(CONFIG_WRITEBETWEENPARTS),b)
CFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN -DLINESBETWEEN CALGFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN -DLINESBETWEEN
else else
ifeq ($(CONFIG_WRITEBETWEENPARTS),c) ifeq ($(CONFIG_WRITEBETWEENPARTS),c)
CFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN -DLINESBETWEEN -D LINEAFTER CALGFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN -DLINESBETWEEN -DLINEAFTER
else else
ifeq ($(CONFIG_WRITEBETWEENPARTS),i) ifeq ($(CONFIG_WRITEBETWEENPARTS),i)
CFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN -DLINESBETWEEN -D LINESBETWEENITEMS CALGFLAGS+= -DNOBACKGROUND -DSPACEBETWEEN -DLINESBETWEEN -DLINESBETWEENITEMS
endif endif
endif endif
endif endif
endif endif
ifeq ($(CONFIG_MENULINES),y) ifeq ($(CONFIG_MENULINES),y)
CFLAGS+= -DLINEMENUS CALGFLAGS+= -DLINEMENUS
endif endif
ifneq ($(CONFIG_COLOR),n) ifneq ($(CONFIG_COLOR),n)
CFLAGS+=-DCOMPILECOLORS=1 CALGFLAGS+=-DCOMPILECOLORS=1
ifeq ($(CONFIG_COLOR),o) ifeq ($(CONFIG_COLOR),o)
CFLAGS+=-DSTARTBLACKWHITE=1 CALGFLAGS+=-DSTARTBLACKWHITE=1
else else
CFLAGS+=-DSTARTBLACKWHITE=0 CALGFLAGS+=-DSTARTBLACKWHITE=0
endif endif
endif endif
#ifneq ($(CYGWIN),yes) #ifneq ($(CYGWIN),yes)
#OBJECTS+=win32.o #OBJECTS+=win32.o
#endif #endif
ifeq ($(CONFIG_XBED),y) ifeq ($(CONFIG_XBED),y)
CFLAGS+=-DUSE_WITH_XBED=1 CALGFLAGS+=-DUSE_WITH_XBED=1
endif endif
CFLAGS+=$(CALGFLAGS)
CXXFLAGS+=$(CALGFLAGS)
 End of changes. 24 change blocks. 
23 lines changed or deleted 23 lines changed or added

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