Rev 43970 | 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)# gives ICE in gcc 4.3.0gimage-CFLAGS=-O2image-CFLAGS=-O2SOURCES=$(wildcard *.c)OBJECTS=$(foreach i,$(SOURCES),$(basename $i).o)DLL: libR.dll.a Rgraphapp.dll@cp Rgraphapp.dll ../../../binifeq ($(strip $(USE_IMPLIBS)),YES)implib: libRgraphapp.dll.a@$(MKDIR) -p ../../../lib@$(CP) libRgraphapp.dll.a ../../../libelseimplib:endiflibRgraphapp.dll.a: Rgraphapp.defRgraphapp.def: $(OBJECTS)@$(ECHO) EXPORTS > $@@$(NM) $^ | $(SED) -n 's/^.* [BCDRT] _/ /p' | $(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