X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=netinstall%2FMakefile.in.in;h=694e1450b3ec691a2ff209771d37a30f21c01db7;hp=200fe365a7f3969415bbf941f5cc3cf12f642754;hb=dff8a62881d482547f8e9985de6f72fa3a8534ea;hpb=0c693dc08f0794304711787b2eb47c144ea4bef1 diff --git a/netinstall/Makefile.in.in b/netinstall/Makefile.in.in index 200fe36..694e145 100644 --- a/netinstall/Makefile.in.in +++ b/netinstall/Makefile.in.in @@ -40,6 +40,9 @@ INSTALLABLES=setup vpath %.c @srcdir@ vpath %.cc @srcdir@ vpath %.h @srcdir@ +vpath %.l @srcdir@ +vpath %.y @srcdir@ +vpath %.rc @srcdir@ #else VPATH=@srcdir@ #endif @@ -91,6 +94,10 @@ MINGW_ZLIB_DIR = /usr/local/lib PROGS = setup.exe XEMACS=${blddir}/src/${PROGNAME} +CYGWIN_SIZE=0 +WIN32_SIZE=0 +KIT_VERSION="" + CONFIG_H = ../src/config.h OBJS = \ @@ -108,6 +115,7 @@ OBJS = \ ini.o \ inilex.o \ iniparse.o \ + init.o \ install.o \ localdir.o \ log.o \ @@ -132,6 +140,7 @@ OBJS = \ splash.o \ state.o \ tar.o \ + uninstall.o \ version.o .SUFFIXES: @@ -148,12 +157,16 @@ setup.exe: $(OBJS) -L$(MINGW_ZLIB_DIR) -lz -lmingw32 @chmod a-x $@ -setup.ini: setup.exe +setup-bin.ini: V=`grep '^\$$Revision.*' $(srcdir)/ChangeLog \ - | sed -e 's/\$$Revision:* *//' \ - -e 's/ *$$.*//'` ;\ - $(XEMACS) -batch -vanilla -l ${srcdir}/../lisp/package-net.el \ - -f package-net-batch-convert-index-to-ini . $$V + | sed -e 's/\$$Revision:* *//' -e 's/ *$$.*//'` ;\ + $(XEMACS) -batch -vanilla \ + -eval '(setq package-net-cygwin32-binary-size $(CYGWIN_SIZE) \ + package-net-win32-binary-size $(WIN32_SIZE) \ + package-net-kit-version "$(KIT_VERSION)" \ + package-net-setup-version "'$$V'")' \ + -l ${srcdir}/../lisp/package-net.el \ + -f package-net-batch-generate-bin-ini install: @echo; echo "Installing net setup." @@ -173,10 +186,10 @@ version.c : $(srcdir)/ChangeLog Makefile $(WINDRES) --include-dir $(srcdir) -o $@ $< %.o: %.c - $(CC) $(MINGW_CFLAGS) -c -o $@ ${srcdir}/$< + $(CC) $(MINGW_CFLAGS) -c -o $@ $< %.o: %.cc - $(CC) $(MINGW_CXXFLAGS) -c -o $@ ${srcdir}/$< + $(CC) $(MINGW_CXXFLAGS) -c -o $@ $< iniparse.c iniparse.h : iniparse.y bison -d -o iniparse.c $(srcdir)/iniparse.y @@ -188,7 +201,7 @@ inilex.c : inilex.l iniparse.h .PHONY: mostlyclean clean distclean realclean extraclean mostlyclean: - $(RM) *.o *.i core $(PROGS) + $(RM) *.o *.i *.ini core $(PROGS) clean: mostlyclean @@ -204,7 +217,7 @@ choose.o: choose.cc win32.h dialog.h resource.h state.h ini.h concat.h \ msg.h log.h find.h reginfo.h concat.o: concat.cc desktop.o: desktop.cc win32.h resource.h ini.h msg.h state.h concat.h \ - mkdir.h dialog.h version.h port.h + mkdir.h dialog.h version.h port.h reginfo.h desktop.h dialog.o: dialog.cc win32.h dialog.h msg.h log.h diskfull.o: diskfull.cc win32.h diskfull.h download.o: download.cc win32.h resource.h msg.h ini.h dialog.h \ @@ -225,7 +238,11 @@ iniparse.o: iniparse.c ini.h \ port.h install.o: install.cc win32.h \ resource.h ini.h dialog.h concat.h geturl.h mkdir.h state.h tar.h \ - diskfull.h msg.h regedit.h reginfo.h log.h hash.h port.h + diskfull.h msg.h regedit.h reginfo.h log.h hash.h port.h desktop.h +init.o: init.cc win32.h resource.h dialog.h state.h msg.h log.h +uninstall.o: uninstall.cc win32.h \ + resource.h ini.h dialog.h concat.h geturl.h mkdir.h state.h tar.h \ + diskfull.h msg.h regedit.h reginfo.h log.h hash.h port.h desktop.h localdir.o: localdir.cc win32.h dialog.h resource.h state.h msg.h \ concat.h log.h log.o: log.cc win32.h resource.h msg.h log.h dialog.h state.h concat.h \