"Fossies" - the Fresh Open Source Software Archive  

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

Makefile  (bed-3.0.0.src.tar.xz):Makefile  (bed-3.0.1.src.tar.xz)
skipping to change at line 13 skipping to change at line 13
endif endif
include config include config
include prognames.mk include prognames.mk
#MAKE=gmake #MAKE=gmake
ifneq ($(CONFIG_PLUGIN),y) ifneq ($(CONFIG_PLUGIN),y)
ifneq ($(filter disass.plug,$(LINKIN) $(LINKINDYN)),) ifneq ($(filter disass.plug,$(LINKIN) $(LINKINDYN)),)
DISASS_USE=y DISASS_USE=y
endif endif
endif endif
REGEX_DIR=regex-0.13
ifneq ($(HAS_RE_SEARCH),y) ifneq ($(HAS_RE_SEARCH),y)
REGEX=src/regex.o REGEX=$(REGEX_DIR)/regex.o
else
REGEX=
endif endif
ifeq ($(CONFIG_PROGMAN),y) ifeq ($(CONFIG_PROGMAN),y)
all: has_appl has_file $(REGEX) $(CONFFILE) bed.menu all: has_appl has_file $(REGEX) $(CONFFILE) bed.menu
else else
all: has_appl has_file $(REGEX) $(CONFFILE) all: has_appl has_file $(REGEX) $(CONFFILE)
endif endif
ifeq ($(BIOSDISK),y) ifeq ($(BIOSDISK),y)
$(MAKE) -C biosdisk $(MAKE) -C biosdisk
endif endif
$(MAKE) -C utils $(MAKE) -C utils
$(MAKE) -C plugins/examples inlinklist plughelp $(MAKE) -C plugins/examples inlinklist plughelp
$(MAKE) -C src $(MAKE) -C src
ifeq ($(CONFIG_PLUGIN),y) ifeq ($(CONFIG_PLUGIN),y)
skipping to change at line 108 skipping to change at line 108
$(CP) src/$(EXEPROGRAM) $(ROOTDIR)$(BINDIR) $(CP) src/$(EXEPROGRAM) $(ROOTDIR)$(BINDIR)
$(STRIP) $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM) $(STRIP) $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)
-rm $(ROOTDIR)$(CONFDIRLINK) -rm $(ROOTDIR)$(CONFDIRLINK)
-mv -f $(ROOTDIR)$(CONFDIRLINK) $(ROOTDIR)$(CONFDIRLINK).bak -mv -f $(ROOTDIR)$(CONFDIRLINK) $(ROOTDIR)$(CONFDIRLINK).bak
-$(MKDIR) $(ROOTDIR)$(CONFDIR) -$(MKDIR) $(ROOTDIR)$(CONFDIR)
ifneq ($(CYGWIN),yes) ifneq ($(CYGWIN),yes)
$(MKDIR) `dirname $(ROOTDIR)$(CONFDIRLINK)` $(MKDIR) `dirname $(ROOTDIR)$(CONFDIRLINK)`
-mv $(ROOTDIR)$(CONFDIR)/$(CONFFILE) $(ROOTDIR)$(CONFDIR)/~$(CONFFILE) -mv $(ROOTDIR)$(CONFDIR)/$(CONFFILE) $(ROOTDIR)$(CONFDIR)/~$(CONFFILE)
endif endif
$(CP) $(CONFFILE) $(ROOTDIR)$(CONFDIR) $(CP) $(CONFFILE) $(ROOTDIR)$(CONFDIR)
grep BUILDEXEEXT build > $(ROOTDIR)$(CONFDIR)/build
echo "HAS_FILE := $(shell $(BEDSRCDIR)/has_file)" >> $(ROOTDIR)$(CONFDIR)
/build
chmod 0644 $(ROOTDIR)$(CONFDIR)/$(CONFFILE) chmod 0644 $(ROOTDIR)$(CONFDIR)/$(CONFFILE)
$(MAKE) -C doc install ROOTDIR=$(ROOTDIR) $(MAKE) -C doc install ROOTDIR=$(ROOTDIR)
$(MAKE) -C misc install ROOTDIR=$(ROOTDIR) $(MAKE) -C misc install ROOTDIR=$(ROOTDIR)
ifeq ($(CONFIG_XBED),y) ifeq ($(CONFIG_XBED),y)
$(MAKE) -C x11 install ROOTDIR=$(ROOTDIR) $(MAKE) -C x11 install ROOTDIR=$(ROOTDIR)
endif endif
ifeq ($(CONFIG_PLUGIN),y) ifeq ($(CONFIG_PLUGIN),y)
$(MAKE) -C utils install ROOTDIR=$(ROOTDIR) $(MAKE) -C utils install ROOTDIR=$(ROOTDIR)
$(MAKE) -C plugins install ROOTDIR=$(ROOTDIR) $(MAKE) -C plugins install ROOTDIR=$(ROOTDIR)
else else
ifeq ($(DISASS_USE),y) ifeq ($(DISASS_USE),y)
$(CP) plugins/examples/disass-use* $(ROOTDIR)$(CONFDIR) $(CP) plugins/examples/disass-use* $(ROOTDIR)$(CONFDIR)
endif endif
endif endif
ifneq ($(CYGWIN),yes) ifneq ($(CYGWIN),yes)
ifeq ($(CONFIG_PLUGIN),y) ifeq ($(CONFIG_PLUGIN),y)
ifeq ($(HAVE_LN_R),n)
-$(SYMLINK) -s $(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/utils/keyconfi
g
else
-$(SYMLINK) -r -s $(ROOTDIR)$(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/ut ils/keyconfig -$(SYMLINK) -r -s $(ROOTDIR)$(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/ut ils/keyconfig
endif
else else
-$(SYMLINK) -r -s $(ROOTDIR)$(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/ke ifeq ($(HAVE_LN_R),n)
yconfig -$(SYMLINK) -s $(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/keyconfig
else
-$(SYMLINK) -r -s $(ROOTDIR)$(BINDIR)/$(PROGRAM) $(ROOTDIR)$(CONFDIR)/key
config
endif
endif endif
else else
ifeq ($(BIOSDISK),y) ifeq ($(BIOSDISK),y)
$(MAKE) -C biosdisk install ROOTDIR=$(ROOTDIR) $(MAKE) -C biosdisk install ROOTDIR=$(ROOTDIR)
endif endif
ifeq ($(PDCURSES),) ifeq ($(PDCURSES),)
echo $(EXEPROGRAM) -k %1 %2 %3 %4 %5 %6 %7 %8 %9 > $(ROOTDIR)$(CONFDIR)/k eyconfig.bat echo $(EXEPROGRAM) -k %1 %2 %3 %4 %5 %6 %7 %8 %9 > $(ROOTDIR)$(CONFDIR)/k eyconfig.bat
endif endif
endif endif
ifeq ($(PDCURSES),) ifeq ($(PDCURSES),)
$(MKDIR) $(ROOTDIR)$(CONFDIR)/terminfo # $(MKDIR) $(ROOTDIR)$(CONFDIR)/terminfo
$(MKDIR) $(ROOTDIR)$(CONFDIR)/terminfo/r # $(MKDIR) $(ROOTDIR)$(CONFDIR)/terminfo/r
cp terminfo/r/rxvt* $(ROOTDIR)$(CONFDIR)/terminfo/r # cp terminfo/r/rxvt* $(ROOTDIR)$(CONFDIR)/terminfo/r
cp -a terminfo $(ROOTDIR)$(CONFDIR)
endif endif
cp LICENSE $(ROOTDIR)$(CONFDIR) cp LICENSE $(ROOTDIR)$(CONFDIR)
ifeq ($(OpSys),Windows) ifeq ($(OpSys),Windows)
u2d $(ROOTDIR)$(CONFDIR)/LICENSE u2d $(ROOTDIR)$(CONFDIR)/LICENSE
endif endif
cp doc/datadir.txt $(ROOTDIR)$(CONFDIR)/README cp doc/datadir.txt $(ROOTDIR)$(CONFDIR)/README
cp public.pgp $(ROOTDIR)$(CONFDIR) cp public.pgp $(ROOTDIR)$(CONFDIR)
ifeq ($(SYSTEM),Linux) ifeq ($(SYSTEM),Linux)
cp bedkeys $(ROOTDIR)$(CONFDIR) cp bedkeys $(ROOTDIR)$(CONFDIR)
endif endif
skipping to change at line 178 skipping to change at line 189
cp bed.menu $(ROOTDIR)$(MENUPATH)/$(PROGRAM) cp bed.menu $(ROOTDIR)$(MENUPATH)/$(PROGRAM)
chmod 0644 $(ROOTDIR)$(MENUPATH)/$(PROGRAM) chmod 0644 $(ROOTDIR)$(MENUPATH)/$(PROGRAM)
# @rpm -q $(PROGRAM)|| echo Warning!! Desktop entries not created if no pac kage $(PROGRAM) exists # @rpm -q $(PROGRAM)|| echo Warning!! Desktop entries not created if no pac kage $(PROGRAM) exists
endif endif
ifneq ($(CYGWIN),yes) ifneq ($(CYGWIN),yes)
ifeq ($(SYSTEM),FreeBSD) ifeq ($(SYSTEM),FreeBSD)
$(SYMLINK) -r -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK) $(SYMLINK) -r -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK)
else else
ifeq ($(HAVE_LN_R),n)
$(SYMLINK) -T -f $(CONFDIR) $(ROOTDIR)$(CONFDIRLINK)
else
$(SYMLINK) -r -T -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK) $(SYMLINK) -r -T -f $(ROOTDIR)$(CONFDIR) $(ROOTDIR)$(CONFDIRLINK)
endif endif
endif endif
endif
ifeq ($(SYSTEM),Android) ifeq ($(SYSTEM),Android)
-$(MKDIR) $(ROOTDIR)$(BASEDIR)/tmp -$(MKDIR) $(ROOTDIR)$(BASEDIR)/tmp
-chmod 01777 $(ROOTDIR)$(BASEDIR)/tmp -chmod 01777 $(ROOTDIR)$(BASEDIR)/tmp
endif endif
ifneq ($(CYGWIN),yes) ifneq ($(CYGWIN),yes)
@cp uninstallhead $(ROOTDIR)$(CONFDIR)/uninstallbed.sh @cp uninstallhead $(ROOTDIR)$(CONFDIR)/uninstallbed.sh
@FILES=`for afile in $(BINDIST); do test -e $$afile -o -L $$afile&&echo $$afile ;done`;if test . != .$(ROOTDIR); then SLASHROOT=`echo $(ROOTDIR)| sed -e 's/\\//\\\\\\//g'`;fi;find $$FILES ! -type d -print |if test . != .$(ROOTDIR); then sed -e "s/$$SLASHROOT//g";else cat;fi |xargs echo $(REMOVE) ' ' >> $(ROOTDI R)$(CONFDIR)/uninstallbed.sh ;find $$FILES -type d -a -print| if test . != .$ (ROOTDIR);then sed -e "s/$$SLASHROOT//g";else cat;fi |$(SORT) -r|xargs echo $(RM DIR) ' ' >> $(ROOTDIR)$(CONFDIR)/uninstallbed.sh @FILES=`for afile in $(BINDIST); do test -e $$afile -o -L $$afile&&echo $$afile ;done`;if test . != .$(ROOTDIR); then SLASHROOT=`echo $(ROOTDIR)| sed -e 's/\\//\\\\\\//g'`;fi;find $$FILES ! -type d -print |if test . != .$(ROOTDIR); then sed -e "s/$$SLASHROOT//g";else cat;fi |xargs echo $(REMOVE) ' ' >> $(ROOTDI R)$(CONFDIR)/uninstallbed.sh ;find $$FILES -type d -a -print| if test . != .$ (ROOTDIR);then sed -e "s/$$SLASHROOT//g";else cat;fi |$(SORT) -r|xargs echo $(RM DIR) ' ' >> $(ROOTDIR)$(CONFDIR)/uninstallbed.sh
@echo Uninstall with sh $(ROOTDIR)$(CONFDIR)/uninstallbed.sh @echo Uninstall with sh $(ROOTDIR)$(CONFDIR)/uninstallbed.sh
endif endif
@echo Binary: '$(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)' @echo Binary: '$(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)'
skipping to change at line 255 skipping to change at line 270
FREEBSDARGFILE=$(PROGRAM)-$(VERSION).FreeBSD64.tbz FREEBSDARGFILE=$(PROGRAM)-$(VERSION).FreeBSD64.tbz
#FREEBSDARGFILE=$(PROGRAM)-0.2.22.FreeBSD64$(TGZSUF) #FREEBSDARGFILE=$(PROGRAM)-0.2.22.FreeBSD64$(TGZSUF)
#FREEBSDARGFILE=$(PROGRAM)-0.2.22.FreeBSD64$(TGZSUF) #FREEBSDARGFILE=$(PROGRAM)-0.2.22.FreeBSD64$(TGZSUF)
OPENSOLARISFILE=$(PROGRAM)-$(VERSION).SunOS.tar.xz OPENSOLARISFILE=$(PROGRAM)-$(VERSION).SunOS.tar.xz
STATICARGFILE=$(PROGRAM)-$(VERSION).bin.ELF-static$(TGZSUF) STATICARGFILE=$(PROGRAM)-$(VERSION).bin.ELF-static$(TGZSUF)
#NONSTATICARGFILE32=$(PROGRAM)-$(VERSION).Linux32$(TGZSUF) #NONSTATICARGFILE32=$(PROGRAM)-$(VERSION).Linux32$(TGZSUF)
#NONSTATICARGFILE64=$(PROGRAM)-$(VERSION).Linux64$(TGZSUF) #NONSTATICARGFILE64=$(PROGRAM)-$(VERSION).Linux64$(TGZSUF)
NONSTATICARGFILE64=$(PROGRAM)_$(VERSION)_amd64.deb NONSTATICARGFILE64=$(PROGRAM)_$(VERSION)_amd64.deb
NONSTATICARGFILE32=$(PROGRAM)_$(VERSION)_i386.deb NONSTATICARGFILE32=$(PROGRAM)_$(VERSION)_i386.deb
NONSTATICARGFILE_ARMHF=$(PROGRAM)_$(VERSION)_armhf.deb NONSTATICARGFILE_ARMHF=$(PROGRAM)_$(VERSION)_armhf.deb
ANDROIDARGFILE=$(PROGRAM)-$(VERSION)-arm-android-17.tar.gz
RPMFILE=bed-$(VERSION)-1.i686.rpm RPMFILE=bed-$(VERSION)-1.i686.rpm
#LSMFILE=$(PROGRAM)-$(VERSION).lsm #LSMFILE=$(PROGRAM)-$(VERSION).lsm
FULLELFFILE=$(DISTPATH)/download/$(ELFARGFILE) FULLELFFILE=$(DISTPATH)/download/$(ELFARGFILE)
#PGPSIGNPROG=gpg -s --use-embedded-filename -a -b -u 0x94BA03AE #PGPSIGNPROG=gpg -s --use-embedded-filename -a -b -u 0x94BA03AE
#PGPSIGNPROG=gpg2 -s --use-embedded-filename -b -u 0x94BA03AE #PGPSIGNPROG=gpg2 -s --use-embedded-filename -b -u 0x94BA03AE
#PGPSIGNPROG=gpg2 -s -b -u 0x94BA03AE #PGPSIGNPROG=gpg2 -s -b -u 0x94BA03AE
# --use-embedded-filename # --use-embedded-filename
skipping to change at line 296 skipping to change at line 311
# env VERSION=$(VERSION) ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) DISTPATH=$*/ download sh ./mklsmelf > $*/download/$(ELFLSMFILE) # env VERSION=$(VERSION) ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) DISTPATH=$*/ download sh ./mklsmelf > $*/download/$(ELFLSMFILE)
%.srcdist: %.srcdist:
mkdir -p $*/download mkdir -p $*/download
tar --use-compress-program="xz -ze" -cf $*/download/$(PROGRAM)-$(VERSION ).src$(TGZSUF) -C ../ $(PROGRAM)-$(VERSION) tar --use-compress-program="xz -ze" -cf $*/download/$(PROGRAM)-$(VERSION ).src$(TGZSUF) -C ../ $(PROGRAM)-$(VERSION)
# env ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$* /download bash ./mklsm > $*/download/$(SRCLSMFILE) # env ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$* /download bash ./mklsm > $*/download/$(SRCLSMFILE)
%.html: mkbed %.html: mkbed
mkdir -p $* mkdir -p $*
$(MAKE) -C doc bed.html $(MAKE) -C doc bed.html
cp doc/bed.html $*/bed.1.html cp doc/bed.html $*/bed.1.html
$(MAKE) -C doc menu.html $(MAKE) -C doc menu.html
env SRCARGFILE=$(SRCARGFILE) WIN32ARGFILE=$(WIN32ARGFILE) WIN95ARGFILE=$ (WIN95ARGFILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FREEBSDARGFILE=$(FREEBSDARGFI LE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) NONSTATICARGFILE_ARMHF=$(NONSTATICA RGFILE_ARMHF) NONSTATICARGFILE64=$(NONSTATICARGFILE64) STATICARGFILE=$(STATICARG FILE) ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$*/downl oad bash ./mkbed | sh dseonlyext.sh >$*/download.html env SRCARGFILE=$(SRCARGFILE) WIN32ARGFILE=$(WIN32ARGFILE) WIN95ARGFILE=$ (WIN95ARGFILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FREEBSDARGFILE=$(FREEBSDARGFI LE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) ANDROIDARGFILE=$(ANDROIDARGFILE) NO NSTATICARGFILE_ARMHF=$(NONSTATICARGFILE_ARMHF) NONSTATICARGFILE64=$(NONSTATICARG FILE64) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) VER SION=$(VERSION) DISTPATH=$*/download bash ./mkbed | sh dseonlyext.sh >$*/downloa d.html
sh dseext.sh <$*/download.html > $*/downloaddse.html sh dseext.sh <$*/download.html > $*/downloaddse.html
env LOWVERSION=$(LOWVERSION) LSMFILE=$(LSMFILE) ELFBASE=$(ELFBASE) SRCB ASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$*/download bash ./mkoldpage.sh > $*/ oldbeds.html env BEDVERSION=$(VERSION) LSMFILE=$(LSMFILE) ELFBASE=$(ELFBASE) SRCBASE =$(SRCBASE) VERSION=$(VERSION) DISTPATH=$*/download bash ./mkoldpage.sh > $*/old beds.html
cp doc/menu.html $*/menu.html cp doc/menu.html $*/menu.html
# env WIN32ARGFILE=$(WIN32ARGFILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FRE EBSDARGFILE=$(FREEBSDARGFILE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) NONSTATIC ARGFILE64=$(NONSTATICARGFILE64) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBASE ) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$*/download bash ./mknewlsm > $ */download/$(LSMFILE) # env WIN32ARGFILE=$(WIN32ARGFILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FRE EBSDARGFILE=$(FREEBSDARGFILE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) NONSTATIC ARGFILE64=$(NONSTATICARGFILE64) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBASE ) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$*/download bash ./mknewlsm > $ */download/$(LSMFILE)
%.dist: %.srcdist %.bindist %.sign %.dist: %.srcdist %.bindist %.sign
echo $* echo $*
#s/FREEBSDARGFILE/OPENSOLARISFILE/g #s/FREEBSDARGFILE/OPENSOLARISFILE/g
%.sign: %.sign:
$(PGPSIGNPROG) --comment $(SRCARGFILE) $*/download/$(SRCARGFILE) $(PGPSIGNPROG) --comment $(SRCARGFILE) $*/download/$(SRCARGFILE)
$(PGPSIGNPROG) --comment $(WIN64ARGFILE) $*/download/$(WIN64ARGFILE) $(PGPSIGNPROG) --comment $(WIN64ARGFILE) $*/download/$(WIN64ARGFILE)
$(PGPSIGNPROG) --comment $(NWIN64ARGFILE) $*/download/$(NWIN64ARGFILE) $(PGPSIGNPROG) --comment $(NWIN64ARGFILE) $*/download/$(NWIN64ARGFILE)
$(PGPSIGNPROG) --comment $(WIN32ARGFILE) $*/download/$(WIN32ARGFILE) $(PGPSIGNPROG) --comment $(WIN32ARGFILE) $*/download/$(WIN32ARGFILE)
$(PGPSIGNPROG) --comment $(NWIN32ARGFILE) $*/download/$(NWIN32ARGFILE) $(PGPSIGNPROG) --comment $(NWIN32ARGFILE) $*/download/$(NWIN32ARGFILE)
$(PGPSIGNPROG) --comment $(NONSTATICARGFILE32) $*/download/$(NONSTATICA RGFILE32) $(PGPSIGNPROG) --comment $(NONSTATICARGFILE32) $*/download/$(NONSTATICA RGFILE32)
$(PGPSIGNPROG) --comment $(NONSTATICARGFILE64) $*/download/$(NONSTATICA RGFILE64) $(PGPSIGNPROG) --comment $(NONSTATICARGFILE64) $*/download/$(NONSTATICA RGFILE64)
$(PGPSIGNPROG) --comment $(NONSTATICARGFILE_ARMHF) $*/download/$(NONSTA TICARGFILE_ARMHF) $(PGPSIGNPROG) --comment $(NONSTATICARGFILE_ARMHF) $*/download/$(NONSTA TICARGFILE_ARMHF)
$(PGPSIGNPROG) --comment $(ANDROIDARGFILE) $*/download/$(ANDROIDARGFILE )
# make $*/download/$(LSMFILE) # make $*/download/$(LSMFILE)
# $(PGPSIGNPROG) $*/download/$(STATICARGFILE) # $(PGPSIGNPROG) $*/download/$(STATICARGFILE)
# env WIN32ARGFILE=$(win32argfILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FRE EBSDARGFILE=$(FREEBSDARGFILE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) NONSTATIC ARGFILE64=$(NONSTATICARGFILE64) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBASE ) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$*/download bash ./mknewlsm > $ */download/$(LSMFILE) # env WIN32ARGFILE=$(win32argfILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FRE EBSDARGFILE=$(FREEBSDARGFILE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) NONSTATIC ARGFILE64=$(NONSTATICARGFILE64) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBASE ) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=$*/download bash ./mknewlsm > $ */download/$(LSMFILE)
%.lsm: ./settings %.lsm: ./settings
env SRCARGFILE=$(SRCARGFILE) WIN32ARGFILE=$(WIN32ARGFILE) WIN95ARGFILE=$ (WIN95ARGFILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FREEBSDARGFILE=$(FREEBSDARGFI LE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) NONSTATICARGFILE64=$(NONSTATICARGFI LE64) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) VERSI ON=$(VERSION) DISTPATH=../html/download bash ./mknewlsm > $*.lsm env SRCARGFILE=$(SRCARGFILE) WIN32ARGFILE=$(WIN32ARGFILE) WIN95ARGFILE=$ (WIN95ARGFILE) OPENSOLARISFILE=$(OPENSOLARISFILE) FREEBSDARGFILE=$(FREEBSDARGFI LE) NONSTATICARGFILE32=$(NONSTATICARGFILE32) NONSTATICARGFILE64=$(NONSTATICARGFI LE64) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBASE) SRCBASE=$(SRCBASE) VERSI ON=$(VERSION) DISTPATH=../html/download bash ./mknewlsm > $*.lsm
# env WIN32ARGFILE=$(WIN32ARGFILE) FREEBSDARGFILE=$(FREEBSDARGFILE) NONST ATICARGFILE=$(NONSTATICARGFILE) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBAS E) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=../html/download bash ./mknewl sm > $(LSMFILE) # env WIN32ARGFILE=$(WIN32ARGFILE) FREEBSDARGFILE=$(FREEBSDARGFILE) NONST ATICARGFILE=$(NONSTATICARGFILE) STATICARGFILE=$(STATICARGFILE) ELFBASE=$(ELFBAS E) SRCBASE=$(SRCBASE) VERSION=$(VERSION) DISTPATH=../html/download bash ./mknewl sm > $(LSMFILE)
echo $* echo $*
skipping to change at line 466 skipping to change at line 481
tar --use-compress-program="xz -ze" -cf ../backup/$(PROGRAM)-$(VERSION).b ackup.tar.xz-$(DATE) `find . ! -name *.o* -a ! -name core -a ! -name *.plug -a ! -type d -a ! -path ./src/$(PROGRAM) -a -printf %p ` tar --use-compress-program="xz -ze" -cf ../backup/$(PROGRAM)-$(VERSION).b ackup.tar.xz-$(DATE) `find . ! -name *.o* -a ! -name core -a ! -name *.plug -a ! -type d -a ! -path ./src/$(PROGRAM) -a -printf %p `
move ../backup/backupfile.start ../backup/backupfile move ../backup/backupfile.start ../backup/backupfile
try: try:
echo $(TESTVAR) echo $(TESTVAR)
./configure:./configure.ac src/defines.h.in ./configure:./configure.ac src/defines.h.in
autoconf autoconf
uninstall: uninstall:
ifeq ($(CONFIG_PROGMAN),y) ifeq ($(CONFIG_PROGMAN),y)
-rm $(ROOTDIR)$(MENUPATH)/$(PROGRAM) -rm -f $(ROOTDIR)$(MENUPATH)/$(PROGRAM)
endif endif
ifneq ($(HAS_APPLICATIONS),) ifneq ($(HAS_APPLICATIONS),)
-rm $(ROOTDIR)$(HAS_APPLICATIONS)/bed-binary-editor.desktop -rm -f $(ROOTDIR)$(HAS_APPLICATIONS)/bed-binary-editor.desktop
endif endif
ifeq ($(CONFIG_XBED),y) ifeq ($(CONFIG_XBED),y)
-rm -i $(BINDIR)/$(XPROGRAM) -rm -f $(BINDIR)/$(XPROGRAM)
-rm -f $(MANDIR)/$(XPROGRAM).1
endif endif
-rm -i $(CONFDIRLINK) -rm -f $(CONFDIRLINK)
-rm -i $(BINDIR)/$(EXEPROGRAM) -rm -f $(BINDIR)/$(EXEPROGRAM)
-rm -i $(MANDIR)/$(PROGRAM).1 -rm -f $(MANDIR)/$(PROGRAM).1
-rm -i $(MANDIR)/$(XPROGRAM).1
-rm -fr $(CONFDIR) -rm -fr $(CONFDIR)
bed.menu:mkmenu.sh config bed.menu:mkmenu.sh config
CONDIRLINK=$(CONFDIRLINK) MENUNAME=$(MENUNAME) XMENUNAME=$(XMENUNAME) BED MENU=$(BEDMENU) XBEDMENU=$(XBEDMENU) BINDIR=$(BINDIR) PROGRAM=$(PROGRAM) XPROGR AM=$(XPROGRAM) bash ./mkmenu.sh > bed.menu CONDIRLINK=$(CONFDIRLINK) MENUNAME=$(MENUNAME) XMENUNAME=$(XMENUNAME) BED MENU=$(BEDMENU) XBEDMENU=$(XBEDMENU) BINDIR=$(BINDIR) PROGRAM=$(PROGRAM) XPROGR AM=$(XPROGRAM) bash ./mkmenu.sh > bed.menu
cprpm: cprpm:
cp /usr/src/redhat/RPMS/i386/bed-$(VERSION)*.rpm ../html/download cp /usr/src/redhat/RPMS/i386/bed-$(VERSION)*.rpm ../html/download
cp /usr/src/redhat/SRPMS/bed-$(VERSION)*src*.rpm ../html/download cp /usr/src/redhat/SRPMS/bed-$(VERSION)*src*.rpm ../html/download
CONFDIRLINKER=$(shell echo '$(CONFDIRLINK)'| sed -e 's/\//\\\//g' ) CONFDIRLINKER=$(shell echo '$(CONFDIRLINK)'| sed -e 's/\//\\\//g' )
skipping to change at line 502 skipping to change at line 517
pkg/pkg-plist: pkg/pkg-plist:
-rm $@ -rm $@
@FILES=`for afile in $(BINDIST); do test -e $$afile&&echo $$afile ;done` ;PREFIXX=`echo $(prefix)|sed -e 's/\\//\\\\\\//g' `;find $$FILES ! -type d ! -n ame *bed.1 -print | sed -e s/$$PREFIXX'\///g'|$(SORT) >> $@ ;find $$FILES -typ e d -a -print |$(SORT) -r|sed -e s/$$PREFIXX'\//\@dirrm\ /g' >> $@ @FILES=`for afile in $(BINDIST); do test -e $$afile&&echo $$afile ;done` ;PREFIXX=`echo $(prefix)|sed -e 's/\\//\\\\\\//g' `;find $$FILES ! -type d ! -n ame *bed.1 -print | sed -e s/$$PREFIXX'\///g'|$(SORT) >> $@ ;find $$FILES -typ e d -a -print |$(SORT) -r|sed -e s/$$PREFIXX'\//\@dirrm\ /g' >> $@
# echo '@unexec rm %D/share/bed' >> $@ # echo '@unexec rm %D/share/bed' >> $@
#;echo $(CONFDIRLINK) |sed -e s/$$PREFIXX'\///g'>>$@ #;echo $(CONFDIRLINK) |sed -e s/$$PREFIXX'\///g'>>$@
#sed -e 's/$$PREFIXX/\@dirrm/g' #sed -e 's/$$PREFIXX/\@dirrm/g'
./has_file: has_file.c ./has_file: has_file.c
$(TOBUILDCC) has_file.c -o has_file $(TOBUILDCC) has_file.c -o has_file
dep: ./has_appl ./has_file plugins/examples/inlinklist:
$(MAKE) -C plugins/examples makeinlinklist
dep: ./has_appl ./has_file plugins/examples/inlinklist
$(MAKE) -C src mainprocedures.h $(MAKE) -C src mainprocedures.h
$(MAKE) -C plugins/examples dep $(MAKE) -C plugins/examples dep
$(MAKE) -C src dep $(MAKE) -C src dep
undos: undos:
file `find . -type f`|grep CRLF|cut -d : -f 1|xargs d2u file `find . -type f`|grep CRLF|cut -d : -f 1|xargs d2u
linuxdebug: linuxdebug:
bash ./configure --prefix=/usr bash ./configure --prefix=/usr
mv ./config ./config.bak mv ./config ./config.bak
skipping to change at line 635 skipping to change at line 653
cp $(DISTPATH)/download/$(ELFARGFILE) /c/cygwin/home/jka/html/download cp $(DISTPATH)/download/$(ELFARGFILE) /c/cygwin/home/jka/html/download
dochier: dochier:
$(MAKE) -C doc bed.html $(MAKE) -C doc bed.html
$(MAKE) -C doc bed.txt $(MAKE) -C doc bed.txt
cp doc/bed.html bed.htm cp doc/bed.html bed.htm
cp doc/bed.txt bed.txt cp doc/bed.txt bed.txt
u2d bed.txt u2d bed.txt
ifneq ($(HAS_RE_SEARCH),y) ifneq ($(HAS_RE_SEARCH),y)
src/regex.o: $(REGEX):
$(MAKE) CFLAGS="$(CFLAGS)" -C $(REGEX_DIR) regex.o $(MAKE) CFLAGS="$(CFLAGS)" -C $(REGEX_DIR) regex.o
ln $(REGEX_DIR)/regex.o src
endif endif
ls: ls:
-ls -l $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM) -ls -l $(ROOTDIR)$(BINDIR)/$(EXEPROGRAM)
-ls -l $(ROOTDIR)$(CONFDIRLINK) -ls -l $(ROOTDIR)$(CONFDIRLINK)
-ls -l $(ROOTDIR)$(CONFDIR)/.neededbybed
-ls -l $(ROOTDIR)$(MENUPATH)/$(PROGRAM) -ls -l $(ROOTDIR)$(MENUPATH)/$(PROGRAM)
-ls -l $(CONFDIRLINK) -ls -l $(CONFDIRLINK)
-ls -l $(BINDIR)/$(EXEPROGRAM) -ls -l $(BINDIR)/$(EXEPROGRAM)
-ls -l $(CONFDIR) -ls -l $(CONFDIR)
flags: flags:
echo $(CFLAGS) echo $(CFLAGS)
os: os:
echo $(OS) echo $(OS)
skipping to change at line 673 skipping to change at line 689
zipcom: zipcom:
echo zip -z -r ../html/download/bed-$(VERSION).win32.zip bedwin32.txt $(CONFDIR) $(BINDIR)/cygwin1.dll $(BINDIR)/$(EXEPROGRAM) '$(ALLUSERSPROFILE)/Me nu Start/bed.lnk' 'c:/windows/Start Menu/bed.lnk' echo zip -z -r ../html/download/bed-$(VERSION).win32.zip bedwin32.txt $(CONFDIR) $(BINDIR)/cygwin1.dll $(BINDIR)/$(EXEPROGRAM) '$(ALLUSERSPROFILE)/Me nu Start/bed.lnk' 'c:/windows/Start Menu/bed.lnk'
GET=1 GET=1
res=$(shell if test $(GET) -gt 2;then echo groter;else echo kleiner ;fi) res=$(shell if test $(GET) -gt 2;then echo groter;else echo kleiner ;fi)
#res=$(shell echo hallo;echo niets) #res=$(shell echo hallo;echo niets)
gets: gets:
echo $(res) echo $(res)
copyright: copyright:
ln LICENSE $(BEDBASE).copyright ln -s LICENSE $(BEDBASE).copyright
pad: pad:
bash ../html/mkbedpad.sh $(VERSION) bash ../html/mkbedpad.sh $(VERSION)
sign2: $(DISTPATH).sign2 sign2: $(DISTPATH).sign2
%.sign2: %.sign2:
-$(PGPSIGNPROG) --comment $(RPMFILE) $*/download/$(RPMFILE) -$(PGPSIGNPROG) --comment $(RPMFILE) $*/download/$(RPMFILE)
-$(PGPSIGNPROG) --comment $(NONSTATICARGFILE32) $*/download/$(NONSTATIC ARGFILE32) -$(PGPSIGNPROG) --comment $(NONSTATICARGFILE32) $*/download/$(NONSTATIC ARGFILE32)
-$(PGPSIGNPROG) --comment $(NONSTATICARGFILE64) $*/download/$(NONSTATIC ARGFILE64) -$(PGPSIGNPROG) --comment $(NONSTATICARGFILE64) $*/download/$(NONSTATIC ARGFILE64)
$(PGPSIGNPROG) --comment $(NONSTATICARGFILE_ARMHF) $*/download/$(NONST ATICARGFILE_ARMHF) $(PGPSIGNPROG) --comment $(NONSTATICARGFILE_ARMHF) $*/download/$(NONST ATICARGFILE_ARMHF)
$(PGPSIGNPROG) --comment $(ANDROIDARGFILE) $*/download/$(ANDROIDARGFIL E)
-$(PGPSIGNPROG) --comment $(SRCARGFILE) $*/download/$(SRCARGFILE) -$(PGPSIGNPROG) --comment $(SRCARGFILE) $*/download/$(SRCARGFILE)
-$(PGPSIGNPROG) --comment $(WIN32ARGFILE) $*/download/$(WIN32ARGFILE) -$(PGPSIGNPROG) --comment $(WIN32ARGFILE) $*/download/$(WIN32ARGFILE)
-$(PGPSIGNPROG) --comment $(NWIN32ARGFILE) $*/download/$(NWIN32ARGFILE) -$(PGPSIGNPROG) --comment $(NWIN32ARGFILE) $*/download/$(NWIN32ARGFILE)
-$(PGPSIGNPROG) --comment $(WIN95ARGFILE) $*/download/$(WIN95ARGFILE) -$(PGPSIGNPROG) --comment $(WIN95ARGFILE) $*/download/$(WIN95ARGFILE)
-$(PGPSIGNPROG) --comment $(FREEBSDARGFILE) $*/download/$(FREEBSDARGFIL E) -$(PGPSIGNPROG) --comment $(FREEBSDARGFILE) $*/download/$(FREEBSDARGFIL E)
-$(PGPSIGNPROG) --comment $(OPENSOLARISFILE) $*/download/$(OPENSOLARISF ILE) -$(PGPSIGNPROG) --comment $(OPENSOLARISFILE) $*/download/$(OPENSOLARISF ILE)
-make $*/download/$(LSMFILE) -make $*/download/$(LSMFILE)
#UNINSTALLFILE=$(ROOTDIR)$(CONFDIR)/uninstallbed.sh #UNINSTALLFILE=$(ROOTDIR)$(CONFDIR)/uninstallbed.sh
UNINSTALLFILE=/tmp/uninstallbed.sh UNINSTALLFILE=/tmp/uninstallbed.sh
skipping to change at line 710 skipping to change at line 727
@FILES=`for afile in $(BINDIST); do test -e $$afile -o -L $$afile&&echo $$afile ;done`;if test . != .$(ROOTDIR); then SLASHROOT=`echo $(ROOTDIR)| sed -e 's/\\//\\\\\\//g'`;fi;find $$FILES ! -type d -print |if test . != .$(ROOTDIR); then sed -e "s/$$SLASHROOT//g";else cat;fi |xargs echo $(REMOVE) ' ' >> $(UNINST ALLFILE) ;find $$FILES -type d -a -print| if test . != .$(ROOTDIR);then sed - e "s/$$SLASHROOT//g";else cat;fi |$(SORT) -r|xargs echo $(RMDIR) ' ' >> $(UNINST ALLFILE) @FILES=`for afile in $(BINDIST); do test -e $$afile -o -L $$afile&&echo $$afile ;done`;if test . != .$(ROOTDIR); then SLASHROOT=`echo $(ROOTDIR)| sed -e 's/\\//\\\\\\//g'`;fi;find $$FILES ! -type d -print |if test . != .$(ROOTDIR); then sed -e "s/$$SLASHROOT//g";else cat;fi |xargs echo $(REMOVE) ' ' >> $(UNINST ALLFILE) ;find $$FILES -type d -a -print| if test . != .$(ROOTDIR);then sed - e "s/$$SLASHROOT//g";else cat;fi |$(SORT) -r|xargs echo $(RMDIR) ' ' >> $(UNINST ALLFILE)
@echo Uninstall with sh $(UNINSTALLFILE) @echo Uninstall with sh $(UNINSTALLFILE)
hosttest:hosttest.cc hosttest:hosttest.cc
$(CXX) $(CXXFLAGS) $< -o $@ $(CXX) $(CXXFLAGS) $< -o $@
hasf: hasf:
echo $(HAS_FILE); echo $(HAS_FILE);
showvar: showvar:
echo $(BINDIR) echo $(BINDIR)
hasreg:
echo .$(HAS_RE_SEARCH).
ifneq ($(HAS_RE_SEARCH),y)
echo no HAS_RE_SEARCH yes
endif
build2:
grep BUILDEXEEXT build > build2
echo "HAS_FILE := $(shell $(BEDSRCDIR)/has_file)" >> build2
# sed -e '/.files. . ./r termux-files' < termux-manifest.in > /tmp/uit2
termux-files.in: termux-root Makefile
find termux-root/data/data/com.termux/files/usr/ > termux-files.in
termux-files: termux-files.in
sed -e 's/^termux-root\/data\/data\/com.termux\/files\/usr\/\(.*\)$$/\"&\
": \"\1\",/' termux-files.in |head -c -2 > termux-files
# sed -e 's/^.*$$/\"termux-root\/data\/data\/com.termux\/files\/usr\/&\": \
"&\",/' termux-files.in |head -c -2 > termux-files
termux-manifest.json:termux-manifest.in config termux-files
sed -e '/files/r termux-files' -e "s/VERSION/$(VERSION)/" -e "s/HOST_CPU/
$(HOST_CPU)/" -e "s/TITLE/`cat title`/" < termux-manifest.in > termux-manifest.j
son
 End of changes. 25 change blocks. 
27 lines changed or deleted 46 lines changed or added

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