# Makefile for packages, only. include MkRules HELP=YES ifdef DEBUG OPTFLAGS=-g -O2 -Wall DLLFLAGS= else OPTFLAGS=-O2 -Wall DLLFLAGS=-s endif CFLAGS=$(OPTFLAGS) -I../include FFLAGS=$(OPTFLAGS) libR.a: R.exp $(DLLTOOL) $(DLLTOOLFLAGS) $(R-DLLTOOLFLAGS) --dllname R.dll --def R.exp --output-lib libR.a base-HELP=ziponly pkg-%: libR.a #../include/globalvar.h $(MAKE) DLLNM=$($*-DLLNM) EXTRADOCS=$($*-EXTRADOCS) -C ../library/$* PKG=$* -f ../../gnuwin32/MakePkg ifeq ($(strip $(HELP)),YES) $(MAKE) -C ./help $($*-HELP)help-$* $(MAKE) -C ./help contents-$* endif pkgcheck-%: $(MAKE) -C ../library/$* PKG=$* -f ../../gnuwin32/check/PkgCheck ziphelp-%: $(MAKE) -C ./help ziphelp-$* $(MAKE) -C ./help contents-$* ziponly-%: $(MAKE) -C ./help ziponlyhelp-$* $(MAKE) -C ./help contents-$* integrate-DLLNM=adapt bootstrap-DLLNM=boott