Rev 62133 | 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)SOURCES = $(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//' | LC_COLLATE=C $(SORT) | uniq > g.def@LC_COLLATE=C 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 -lmsimg32## 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