AM_CFLAGS=-g $(SETUP_CFLAGS) LDADD=../plover/libplover.la $(SETUP_LIBS) INCLUDES=-I$(top_srcdir) CCLD = $(CXX) bin_PROGRAMS=update updatez bin_SCRIPTS=update.js update_SOURCES=update.c update_LDFLAGS=-all-static update_LIBTOOLFLAGS=--tag=CXX if HAVE_WINDRES update_SOURCES+=update-res.rc update.exe.manifest endif updatez_SOURCES=updatez.c updatez_LDFLAGS=-all-static updatez_LIBTOOLFLAGS=--tag=CXX if HAVE_WINDRES updatez_SOURCES+=updatez-res.rc updatez.exe.manifest endif .rc.$(OBJEXT): $(AM_V_GEN)$(WINDRES) $< $@ update-res.$(OBJEXT): update-res.rc update.exe.manifest update.ico updatez-res.$(OBJEXT): updatez-res.rc updatez.exe.manifest update.ico %.js: $(srcdir)/%.js.in $(AM_V_GEN)sed -e 's/$$/\r/' $(srcdir)/$@.in > $@ .png.pnm: $(AM_V_GEN)pngtopnm $< | pnmquant -quiet 256 > $@ update.ico: icon16.pnm icon22.pnm icon32.pnm $(AM_V_GEN)ppmtowinicon -output=$@ $^ EXTRA_DIST=icon16.png icon22.png icon32.png update.js.in CLEANFILES=update.js