source: trunk/dports/devel/libcudd/files/patch-Makefile.diff

Last change on this file was 126020, checked in by ryandesign@…, 3 years ago

libcudd: update to 2.5.0 (#27726); don't use nonexistent optimization levels (#40623); add universal variant; fix livecheck; new maintainer

File size: 4.9 KB
  • Makefile

    old new  
    5959#  Linux
    6060#
    6161# Gcc 4.2.4 or higher on i686.
    62 XCFLAGS = -mtune=native -malign-double -DHAVE_IEEE_754 -DBSD
     62XCFLAGS = -DHAVE_IEEE_754
    6363# Gcc 3.2.2 or higher on i686.
    6464#XCFLAGS        = -mtune=pentium4 -malign-double -DHAVE_IEEE_754 -DBSD
    6565# Gcc 2.8.1 on i686.
     
    223223        @for dir in $(DIRS); do \
    224224                (cd $$dir; \
    225225                echo Making $$dir ...; \
    226                 make CC=$(CC) RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" )\
     226                make CC="$(CC)" RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" )\
    227227        done
    228228
    229229nanotrav: build
     
    233233        @for dir in mnemosyne $(DIRS); do \
    234234                (cd $$dir; \
    235235                echo Making $$dir ...; \
    236                 make CC=$(CC) RANLIB=$(RANLIB) MFLAG=$(MFLAG) MNEMLIB=$(MNEMLIB) ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" EXE="$(EXE)" )\
     236                make CC="$(CC)" RANLIB=$(RANLIB) MFLAG=$(MFLAG) MNEMLIB=$(MNEMLIB) ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" EXE="$(EXE)" )\
    237237        done
    238238
    239239optimize_dec:
     
    241241        @for dir in $(DIRS); do \
    242242                (cd $$dir; \
    243243                echo Making $$dir ...; \
    244                 make CC=$(CC) RANLIB=$(RANLIB) XCFLAGS="$(XCFLAGS)" LDFLAGS="$(LDFLAGS)" optimize_dec )\
     244                make CC="$(CC)" RANLIB=$(RANLIB) XCFLAGS="$(XCFLAGS)" LDFLAGS="$(LDFLAGS)" optimize_dec )\
    245245        done
    246246
    247247lint:
     
    249249        @for dir in $(DIRS) obj; do \
    250250                (cd $$dir; \
    251251                echo Making lint in $$dir ...; \
    252                 make CC=$(CC) lint )\
     252                make CC="$(CC)" lint )\
    253253        done
    254254
    255255tags:
     
    257257        @for dir in $(DIRS) obj; do \
    258258                (cd $$dir; \
    259259                echo Making tags in $$dir ...; \
    260                 make CC=$(CC) tags )\
     260                make CC="$(CC)" tags )\
    261261        done
    262262
    263263all:
     
    265265        @for dir in $(DIRS); do \
    266266                (cd $$dir; \
    267267                echo Making all in $$dir ...; \
    268                 make CC=$(CC) RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" all )\
     268                make CC="$(CC)" RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" all )\
    269269        done
    270270
    271271testcudd:
     
    273273        @for dir in util st mtr epd; do \
    274274                (cd $$dir; \
    275275                echo Making $$dir ...; \
    276                 make CC=$(CC) RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" )\
     276                make CC="$(CC)" RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" )\
    277277        done
    278278        @(cd cudd; \
    279279        echo Making testcudd ...; \
    280         make CC=$(CC) RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" testcudd$(EXE) )
     280        make CC="$(CC)" RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" testcudd$(EXE) )
    281281
    282282objlib:
    283283        sh ./setup.sh
    284284        @for dir in $(BDIRS); do \
    285285                (cd $$dir; \
    286286                echo Making $$dir ...; \
    287                 make CC=$(CC) RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" )\
     287                make CC="$(CC)" RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" )\
    288288        done
    289289        @(cd obj; \
    290290        echo Making obj ...; \
     
    298298testdddmp: build
    299299        @(cd dddmp; \
    300300        echo Making testdddmp ...; \
    301         make CC=$(CC) RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" testdddmp$(EXE) )
     301        make CC="$(CC)" RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" testdddmp$(EXE) )
    302302
    303303testmtr: build
    304304        @(cd mtr; \
    305305        echo Making testmtr ...; \
    306         make CC=$(CC) RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" testmtr$(EXE) )
     306        make CC="$(CC)" RANLIB=$(RANLIB) MFLAG= MNEMLIB= ICFLAGS="$(ICFLAGS)" XCFLAGS="$(XCFLAGS)" DDDEBUG="$(DDDEBUG)" MTRDEBUG="$(MTRDEBUG)" LDFLAGS="$(LDFLAGS)" PURE="$(PURE)" EXE="$(EXE)" testmtr$(EXE) )
    307307
    308308clean:
    309309        @for dir in mnemosyne $(DIRS) obj; do   \
Note: See TracBrowser for help on using the repository browser.