Rev 52518 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#-*- Makefile -*-include ../../gnuwin32/MkRulesall: makeMakedeps DLL implibCPPFLAGS=-I. -I../../gnuwin32 -I../../includeDEFS=-DGA_DLL_BUILD -DENABLE_NLS=1CPPFLAGS+=$(DEFS)CFLAGS=$(OPTFLAGS)# -O3 gives ICE in gcc 4.3.0gimage-CFLAGS=-O2image-CFLAGS=-O2SOURCES=$(wildcard *.c)OBJECTS=$(SOURCES:.c=.o)DLL: libR.dll.a Rgraphapp.dll@cp Rgraphapp.dll ../../../$(BINDIR)ifdef USE_IMPLIBSimplib: libRgraphapp.dll.a@$(MKDIR) -p ../../../lib@$(CP) libRgraphapp.dll.a ../../../libelseimplib:endiflibRgraphapp.dll.a: Rgraphapp.def## MinGW symbols have trailing @, MinGW-w64 do notRgraphapp.def: $(OBJECTS)@$(ECHO) EXPORTS > $@@$(NM) $^ | $(SED) -n $(SYMPAT) | $(SED) -e 's/@16//' | $(SORT) | uniq > g.def@comm -23 g.def ga.hide >> $@@$(RM) g.defRgraphapp.dll: $(OBJECTS) dllversion.o Rgraphapp.def$(DLL) -shared -mwindows -o $@ Rgraphapp.def $(OBJECTS) dllversion.o -L. -lR -lcomctl32 -limm32## need to break mutual dependence with R.dlllibR.dll.a: R.defclean:$(RM) *.o Rgraphapp.def *~ \#*\# *.d Makedepsdistclean: clean$(RM) *.a *.dll# Dependenciesdllversion.o: ../../include/Rversion.hDEPS=$(SOURCES:.c=.d)makeMakedeps: $(DEPS)@$(RM) Makedeps@cat $(DEPS) >> Makedeps-include Makedeps