"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Makefile" 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.

Makefile  (bed-3.0.3.src.tar.xz):Makefile  (bed-3.1.0.src.tar.xz)
skipping to change at line 44 skipping to change at line 44
CXXFLAGS:= -Wall $(CXXFLAGS) -DSETSCRREGBUG # -DALWAYSEXPLORESIZE CXXFLAGS:= -Wall $(CXXFLAGS) -DSETSCRREGBUG # -DALWAYSEXPLORESIZE
ifeq ($(SYSTEM),Linux) ifeq ($(SYSTEM),Linux)
#CFLAGS+= -DPROCLOCKSBUG -DATOIBUG #CFLAGS+= -DPROCLOCKSBUG -DATOIBUG
#CFLAGS+= -DPROCLOCKSBUG -DATOIBUG #CFLAGS+= -DPROCLOCKSBUG -DATOIBUG
endif endif
#-DENDOFLINEBUG #-DENDOFLINEBUG
OLDCFLAGS:=$(CFLAGS) OLDCFLAGS:=$(CFLAGS)
CFLAGS +=$(OPTS) $(PROGRAMC) CFLAGS +=$(OPTS) $(PROGRAMC)
PCXXFLAGS:=$(CXXFLAGS) $(PROGRAMC)
CXXFLAGS +=$(OPTS) $(PROGRAMC) CXXFLAGS +=$(OPTS) $(PROGRAMC)
LDFLAGS:=$(OPTS) $(LDFLAGS) $(PROGRAMLD) LDFLAGS:=$(OPTS) $(LDFLAGS) $(PROGRAMLD)
WCXXFLAGS=$(CXXFLAGS) WCXXFLAGS=$(CXXFLAGS)
# *** NORMALLY NOTHING HAS TO BE CHANGED BELOW THIS LINE # *** NORMALLY NOTHING HAS TO BE CHANGED BELOW THIS LINE
OBJ := repeat.o rbtree.o memory.o editor.o dialog.o glob.o expandfilename.o re OBJ := repeat.o rbtree.o memory.o editor.o dialog.o glob.o expandfilename.o re
adconfig.o getfree.o getlabel.o screenpart.o marks.o digitstring.o parts.o adconfig.o getfree.o getlabel.o screenpart.o marks.o digitstring.o parts.o
main.o keyproc.o marken.o procview.o menus.o inout.o move.o window.o edit.o f main.o keyproc.o marken.o procview.o menus.o inout.o move.o window.o edit.o f
ile.o suspend.o select.o undo.o screen.o search.o onlykey.o editup.o cursesini ile.o suspend.o select.o undo.o screen.o search.o onlykey.o editup.o cursesini
t.o input.o contain.o withcontain.o filter.o ascii.o multidigit.o macros.o edi t.o input.o contain.o withcontain.o filter.o ascii.o multidigit.o macros.o edi
tmacros.o typelist.o $(OBJ) keyinput.o hassub.o savedatatype.o menufuncs.o supp tmacros.o typelist.o $(OBJ) keyinput.o hassub.o savedatatype.o menufuncs.o supp
ort.o desturbe.o gethelp.o disk.o memed.o gnusearch.o unitsearch.o bytesearch ort.o desturbe.o gethelp.o disk.o memed.o gnusearch.o unitsearch.o bytesearch
.o gnuasciiregex.o showlist.o times.o .o gnuasciiregex.o showlist.o times.o sparsecp.o winsparsecp.o
ifeq ($(USE_HYPERSCAN),1) ifeq ($(USE_HYPERSCAN),1)
OBJ +=hyperscan.o OBJ +=hyperscan.o
endif endif
ifeq ($(USE_RE2),1) ifeq ($(USE_RE2),1)
OBJ += re2search.o OBJ += re2search.o
endif endif
BUILDOBJ := hostreadhelp.o hostgetlabel.o BUILDOBJ := hostreadhelp.o hostgetlabel.o
ifeq ($(SYSTEM),FreeBSD) ifeq ($(SYSTEM),FreeBSD)
OBJ+=prevention.o OBJ+=prevention.o
endif endif
ifneq ($(WINPD),y) ifneq ($(WINPD),y)
OBJ+=keyconfig.o OBJ+=keyconfig.o
endif endif
CPPFILES= debug.cpp editlimits.cpp editor.cpp dialog.cpp getfree.cpp getlabel.c pp digitstring.cpp main.cpp marks.cpp memory.cpp parts.cpp rbtree.cpp readconfi g.cpp screenpart.cpp trace.cpp keyproc.cpp marken.cpp procview.cpp menus.cpp in out.cpp move.cpp window.cpp edit.cpp file.cpp suspend.cpp select.cpp undo.cpp sc reen.cpp search.cpp onlykey.cpp editup.cpp myalloc.cpp cursesinit.cpp input.cpp contain.cpp withcontain.cpp filter.cpp ascii.cpp multidigit.cpp macros.cpp edi tmacros.cpp typelist.cc keyconfig.cpp keyinput.cpp repeat.cpp hassub.cpp savedat atype.cpp menufuncs.cpp support.cpp bedrcproc.cpp desturbe.cpp gethelp.cpp disk .cpp memed.cpp re2search.cpp hyperscan.cpp gnusearch.cpp unitsearch.cpp bytesear ch.cpp gnuasciiregex.cpp CPPFILES= debug.cpp editlimits.cpp editor.cpp dialog.cpp getfree.cpp getlabel.c pp digitstring.cpp main.cpp marks.cpp memory.cpp parts.cpp rbtree.cpp readconfi g.cpp screenpart.cpp trace.cpp keyproc.cpp marken.cpp procview.cpp menus.cpp in out.cpp move.cpp window.cpp edit.cpp file.cpp suspend.cpp select.cpp undo.cpp sc reen.cpp search.cpp onlykey.cpp editup.cpp myalloc.cpp cursesinit.cpp input.cpp contain.cpp withcontain.cpp filter.cpp ascii.cpp multidigit.cpp macros.cpp edi tmacros.cpp typelist.cc keyconfig.cpp keyinput.cpp repeat.cpp hassub.cpp savedat atype.cpp menufuncs.cpp support.cpp bedrcproc.cpp desturbe.cpp gethelp.cpp disk .cpp memed.cpp re2search.cpp hyperscan.cpp gnusearch.cpp unitsearch.cpp bytesear ch.cpp gnuasciiregex.cpp times.cpp sparsecp.cpp winsparsecp.cpp
CFILES=expandfilename.cpp glob.c CFILES=expandfilename.cpp glob.c
ifeq ($(SYSTEM),FreeBSD) ifeq ($(SYSTEM),FreeBSD)
CFILES+=prevention.c CFILES+=prevention.c
endif endif
PRESRC=$(CFILES) $(CPPFILES) PRESRC=$(CFILES) $(CPPFILES)
SRC=$(PRESRC) version.cpp SRC=$(PRESRC) version.cpp
GENHEADERS= procedures.h copy.h help.h bedrcproc.h GENHEADERS= procedures.h copy.h help.h bedrcproc.h
#HANDHEADERS= builtinkeys.h config.h convert.h cursesinit.h datatypes.h debug.h editor.h dialog.h getlabel.h glob.h head.h digitstring.h inout.h keyinput.h key list.h main.h marks.h memory.h myalloc.h offtypes.h onlykey.h rbtree.h readconf ig.h screen.h screenpart.h system.h trace.h type.h views.h trace.cpp menu.h mult idigit.h ascii.h contain.h filter.h reverse.h macros.h keystrokes.h typelist. h visuals.h keyproc.h repeat.h hassub.h varmacro.h execproc.h desturbe.h shell.h termkeys.h viewbuf.h #HANDHEADERS= builtinkeys.h config.h convert.h cursesinit.h datatypes.h debug.h editor.h dialog.h getlabel.h glob.h head.h digitstring.h inout.h keyinput.h key list.h main.h marks.h memory.h myalloc.h offtypes.h onlykey.h rbtree.h readconf ig.h screen.h screenpart.h system.h trace.h type.h views.h trace.cpp menu.h mult idigit.h ascii.h contain.h filter.h reverse.h macros.h keystrokes.h typelist. h visuals.h keyproc.h repeat.h hassub.h varmacro.h execproc.h desturbe.h shell.h termkeys.h viewbuf.h
HANDHEADERS= ascii.h biosdisk.h builtinkeys.h confdefines.h conf-.h config.h con tain.h convert.h cursesinit.h dataprocer.h dataproc.h datatypes.h debug.h define s.h definesonly.h desturbe.h dialog.h digitstring.h editor.h execproc.h extrakey s.h filter.h getlabel.h glob.h hash.h hassub.h head.h helpdata.h help.h helpinde x.h helptext.h inout.h keyinput.h keylist.h keyproc.h keystrokes.h macros.h main .h mainprocedures.h marks.h maxmenus.h memory.h menu.h misc.h mkmenus.h multidig it.h myalloc.h nepsem.h offtypes.h onlykey.h partypes.h pdcurses.h procedures.h ptypes.h rbtree.h readconfig.h regclass.h repeat.h reverse.h screen.h screenpart .h searchaim.h searchinterrupt.h selectsearch.h setenv.h shell.h system.h sys_ty pes.h termkeys.h trace.h type.h typelist.h unsorted.h varmacro.h viewbuf.h views .h visuals.h win.h winpad.h HANDHEADERS= ascii.h biosdisk.h builtinkeys.h confdefines.h conf-.h config.h con tain.h convert.h cursesinit.h dataprocer.h dataproc.h datatypes.h debug.h define s.h definesonly.h desturbe.h dialog.h digitstring.h editor.h execproc.h extrakey s.h filter.h getlabel.h glob.h hash.h hassub.h head.h helpdata.h help.h helpinde x.h helptext.h inout.h keyinput.h keylist.h keyproc.h keystrokes.h macros.h main .h mainprocedures.h marks.h maxmenus.h memory.h menu.h misc.h mkmenus.h multidig it.h myalloc.h nepsem.h offtypes.h onlykey.h partypes.h procedures.h ptypes.h r btree.h readconfig.h regclass.h repeat.h reverse.h screen.h screenpart.h searcha im.h searchinterrupt.h selectsearch.h setenv.h shell.h system.h sys_types.h term keys.h trace.h type.h typelist.h unsorted.h varmacro.h viewbuf.h views.h visuals .h win.h winpad.h
HEADERS= $(HANDHEADERS) $(GENHEADERS) HEADERS= $(HANDHEADERS) $(GENHEADERS)
OTHERGEN= help OTHERGEN= help
OTHERHAND= preprocedures head.h copy OTHERHAND= preprocedures head.h copy
OTHERFILES= $(OTHERHAND) $(OTHERGEN) OTHERFILES= $(OTHERHAND) $(OTHERGEN)
OLDFILES= oldundo.cpp OLDFILES= oldundo.cpp
SCRIPTS=mkdate.sh mkmachine.sh rules.mk SCRIPTS=mkdate.sh mkmachine.sh rules.mk
UPDATES=sourcenumber date.c md5sums.cpp UPDATES=sourcenumber date.c md5sums.cpp
GENERATED= $(GENHEADERS) $(OTHERGEN) md5file md5file mainprocedures.h extrake ys.h helpdata helpdata.h helpindex.h helptext.h chhelp unsorted.h GENERATED= $(GENHEADERS) $(OTHERGEN) md5file md5file mainprocedures.h extrake ys.h helpdata helpdata.h helpindex.h helptext.h chhelp unsorted.h
PROGRAMS=extramenunr rxvtmenu readhelp addmenu PROGRAMS=extramenunr rxvtmenu readhelp addmenu
skipping to change at line 178 skipping to change at line 180
endif endif
ifeq ($(CONFIG_PLUGIN),y) ifeq ($(CONFIG_PLUGIN),y)
@echo "Plugins " @echo "Plugins "
else else
@echo "No Plugins " @echo "No Plugins "
endif endif
$(PROGRAM): $(OBJ) version.o $(OBJECTS) $(PROGRAM): $(OBJ) version.o $(OBJECTS)
$(PROGCC) $(LDFLAGS) $(RDYNAMIC) -o $(PROGRAM) version.o $(OBJ) $(OBJE CTS) $(LIBPATH) $(LIBS) $(PROGCC) $(LDFLAGS) $(RDYNAMIC) -o $(PROGRAM) version.o $(OBJ) $(OBJE CTS) $(LIBPATH) $(LIBS)
ifeq ($(SYSTEM),Android) ifeq ($(SYSTEM),Android)
perl -pi -e 's/libc\+\+_shared.so/libc++.so\000\000\000\000\000\000\000/ g' bed # perl -pi -e 's/libc\+\+_shared.so/libc++.so\000\000\000\000\000\000\000/ g' bed
endif endif
quick: $(OBJ) sourcenumber quick: $(OBJ) sourcenumber
$(PROGCC) $(LDFLAGS) -o $(PROGRAM) version.o $(OBJ) $(OBJECTS) $(LIBPAT H) $(LIBS) $(PROGCC) $(LDFLAGS) -o $(PROGRAM) version.o $(OBJ) $(OBJECTS) $(LIBPAT H) $(LIBS)
#sourcenumber: $(SRC) $(BIN2BYTE) #sourcenumber: $(SRC) $(BIN2BYTE)
# bash ./mkversion $(ALLEXCEPTVERSION) # bash ./mkversion $(ALLEXCEPTVERSION)
#md5file: $(SRC) $(BIN2BYTE) #md5file: $(SRC) $(BIN2BYTE)
# bash ./mkversion $(ALLEXCEPTVERSION) # bash ./mkversion $(ALLEXCEPTVERSION)
link: dataprocer.h menufuncs.o procview.o menus.o $(INLINKLIST) $(ININLINKLIB) link: dataprocer.h menufuncs.o procview.o menus.o $(INLINKLIST) $(ININLINKLIB)
$(PROGCC) $(LDFLAGS) -o $(PROGRAM) version.o $(OBJ) $(OBJECTS) $(LIBPAT H) $(LIBS) $(PROGCC) $(LDFLAGS) -o $(PROGRAM) version.o $(OBJ) $(OBJECTS) $(LIBPAT H) $(LIBS)
linkonly: linkonly:
$(PROGCC) $(LDFLAGS) -o $(PROGRAM) version.o $(OBJ) $(OBJECTS) $(LIBPA TH) $(LIBS) $(PROGCC) $(LDFLAGS) -o $(PROGRAM) version.o $(OBJ) $(OBJECTS) $(LIBPA TH) $(LIBS)
lines: lines:
-rm screenpart.o editup.o editor.o -rm screenpart.o editup.o editor.o
$(MAKE) bed $(MAKE) bed
$(BIN2BYTE): $(BIN2BYTE):
$(MAKE) -C ../utils bin2byte $(MAKE) -C ../utils bin2byte
unsorted.h: preprocedures dataproc.h ../config unsorted.h: preprocedures dataproc.h ../config
$(PROGCC) -DNOINLINK $(CXXFLAGS) -x c++ -E -P $< -o unsorted.h $(PROGCC) -DNOINLINK $(PCXXFLAGS) -x c++ -E -P $< -o unsorted.h
mainprocedures.h: unsorted.h mainprocedures.h: unsorted.h
$(SORT) -b -t '(' -k 2 unsorted.h -o $@ $(SORT) -b -t '(' -k 2 unsorted.h -o $@
showproc: preprocedures ../plugins/examples/inlink.h dataproc.h ../config
echo $(PROGCC) $(PCXXFLAGS) -x c++ -E -P $<
procedures.h: preprocedures ../plugins/examples/inlink.h dataproc.h ../config procedures.h: preprocedures ../plugins/examples/inlink.h dataproc.h ../config
$(PROGCC) $(CXXFLAGS) -x c++ -E -P $< | $(SORT) -b -t '(' -k 2 > new echo $(PROGCC) $(PCXXFLAGS) -x c++ -E -P $<
procedures.h $(PROGCC) $(PCXXFLAGS) -x c++ -E -P $< | $(SORT) -b -t '(' -k 2 > ne
wprocedures.h
(diff -q procedures.h newprocedures.h && echo no change &&rm newprocedu res.h)||mv newprocedures.h procedures.h (diff -q procedures.h newprocedures.h && echo no change &&rm newprocedu res.h)||mv newprocedures.h procedures.h
help: usagehelp.in helpoldterm.c Makefile ../config cygwinhelp helptext help: usagehelp.in helpoldterm.c Makefile ../config cygwinhelp helptext
cat usagehelp.in > help cat usagehelp.in > help
# $(PROGCC) $(CFLAGS) -x c++ -E -P usagehelp.in|sed -e s/\"//g > help # $(PROGCC) $(CFLAGS) -x c++ -E -P usagehelp.in|sed -e s/\"//g > help
echo '-f bedrc: Use configuration file bedrc, instead of env $(CONFVAR)' >>help echo '-f bedrc: Use configuration file bedrc, instead of env $(CONFVAR)' >>help
ifneq ($(CYGWIN),yes) ifneq ($(CYGWIN),yes)
echo ' or $(PERSCONFFILE) or $(GLOBALCONFFILE)' >>help echo ' or $(PERSCONFFILE) or $(GLOBALCONFFILE)' >>help
else else
echo -n ' or %APPDATA%\$(CONFFILE) or ' >>help echo -n ' or %APPDATA%\$(CONFFILE) or ' >>help
skipping to change at line 284 skipping to change at line 289
-rm $(EXEPROGRAMS) $(PROGRAM)$(HOSTEXEEXT) -rm $(EXEPROGRAMS) $(PROGRAM)$(HOSTEXEEXT)
# -rm rxvtmenu $(PROGRAM) core inlink.a *.o* # -rm rxvtmenu $(PROGRAM) core inlink.a *.o*
realclean: clean realclean: clean
-rm $(REGEX_DIR)/regex.o -rm $(REGEX_DIR)/regex.o
-rm $(GENERATED) -rm $(GENERATED)
-rm md5sums.cpp #tags -rm md5sums.cpp #tags
-rm depend -rm depend
machine: sourcenumber machine: sourcenumber
./mkmachine.sh sh ./mkmachine.sh
date.c: sourcenumber date.c: sourcenumber
./mkdate.sh sh ./mkdate.sh
version.o: version.cpp sourcenumber md5sums.cpp copy.h help.h date.c ../config config.h version.o: version.cpp sourcenumber md5sums.cpp copy.h help.h date.c ../config config.h
$(PROGCC) $(CFLAGS) -c $< $(PROGCC) $(CFLAGS) -c $<
digitstring: digitstring.cpp digitstring: digitstring.cpp
$(CXX) -g digitstring.cpp -DTEST -o digitstring $(CXX) -g digitstring.cpp -DTEST -o digitstring
getfree: getfree.cpp getfree: getfree.cpp
$(CXX) $(CXXFLAGS) getfree.cpp -DTEST -o getfree $(CXX) $(CXXFLAGS) getfree.cpp -DTEST -o getfree
#%.o:%.i #%.o:%.i
skipping to change at line 350 skipping to change at line 355
#memory.o:memory.i #memory.o:memory.i
# $(GCC) -c $(CFLAGS) -x c++ memory.i # $(GCC) -c $(CFLAGS) -x c++ memory.i
support: support.cpp expandfilename.cpp support: support.cpp expandfilename.cpp
$(CC) -g -DTEST $^ -o support $(CC) -g -DTEST $^ -o support
keyproc.o: builtinkeys.h keyproc.o: builtinkeys.h
keyproc.o: extrakeys.h keyproc.o: extrakeys.h
readconfig.o:bedrcproc.h readconfig.o:bedrcproc.h
readconfig:readconfig.o
$(PROGCC) $(LDFLAGS) -o readconfig readconfig.o -lpdcurses
bedrcproc.h: bedrcproc.cpp bedrcproc.h: bedrcproc.cpp
echo '/*WARNING automatically generated from bedrcproc.cpp */' > bedrcpr oc.h echo '/*WARNING automatically generated from bedrcproc.cpp */' > bedrcpr oc.h
grep '^initword' bedrcproc.cpp|sed -e 's/^initword\([^{]*\).*/initword\1/ '|$(SORT) -b -t '(' -k 2 >> bedrcproc.h grep '^initword' bedrcproc.cpp|sed -e 's/^initword\([^{]*\).*/initword\1/ '|$(SORT) -b -t '(' -k 2 >> bedrcproc.h
extramenunr$(BUILDEXEEXT):menus.cpp editor.h menu.h extramenunr$(BUILDEXEEXT):menus.cpp editor.h menu.h
$(TOBUILDCXX) -DPRINTMAXSHOWMENUS=1 $(TOBUILDCXXFLAGS) extramenunr.cpp -o extramenunr $(TOBUILDCXX) -DPRINTMAXSHOWMENUS=1 $(TOBUILDCXXFLAGS) extramenunr.cpp -o extramenunr
extramenunr.i:menus.cpp editor.h menu.h extramenunr.i:menus.cpp editor.h menu.h
$(TOBUILDCXX) -E -P -DPRINTMAXSHOWMENUS=1 $(TOBUILDCXXFLAGS) extramenunr. cpp -o extramenunr.i $(TOBUILDCXX) -E -P -DPRINTMAXSHOWMENUS=1 $(TOBUILDCXXFLAGS) extramenunr. cpp -o extramenunr.i
mkmenus.h: extramenunr$(BUILDEXEEXT) mkmenus.h: extramenunr$(BUILDEXEEXT)
# extramenus=`./extramenunr`; for ((i=0;$$i<$$extramenus;i=$$[$$i+1])); do echo "mkmenunum($$i)";done >mkmenus.h # extramenus=`./extramenunr`; for ((i=0;$$i<$$extramenus;i=$$[$$i+1])); do echo "mkmenunum($$i)";done >mkmenus.h
 End of changes. 11 change blocks. 
16 lines changed or deleted 23 lines changed or added

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