Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c936c7f in mainline


Ignore:
Timestamp:
2011-07-25T20:35:41Z (10 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
80e9e5e
Parents:
badbb9ad (diff), 6c69d19 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge build fixes in PCC.

Location:
uspace/app/pcc/cc
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/pcc/cc/cc/Makefile

    rbadbb9ad rc936c7f  
    3535BINARY = cc
    3636
     37PRE_DEPEND = compat.c
     38EXTRA_CLEAN = compat.c
     39
    3740POSIX_COMPAT = y
    38 
    39 
    4041
    4142SOURCES = \
    4243        cc.c \
    43         $(MIPDIR)/compat.c
     44        compat.c
    4445
    4546include $(USPACE_PREFIX)/Makefile.common
    4647
     48compat.c: $(MIPDIR)/compat.c
     49        ln -s -f $^ $@
     50
  • uspace/app/pcc/cc/ccom/Makefile

    rbadbb9ad rc936c7f  
    3434DEFS = -Dmach_$(PLATFORM) -D__helenos__ -DPCC_DEBUG -DGCC_COMPAT -Dfree=free
    3535BINARY = ccom
    36 EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h
     36
     37PRE_DEPEND = cgram.c scan.c external.c external.h common.c compat.c
     38EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h common.c compat.c \
     39        $(MIPDIR)/*.o $(MDIR)/*.o
    3740
    3841POSIX_COMPAT = y
     
    5154        $(MIPDIR)/optim2.c \
    5255        $(MIPDIR)/regs.c \
    53         $(MIPDIR)/common.c \
    54         $(MIPDIR)/compat.c \
     56        common.c \
     57        compat.c \
    5558        cgram.c \
    5659        scan.c \
     
    6770        trees.c
    6871
     72include $(USPACE_PREFIX)/Makefile.common
     73
    6974cgram.c: cgram.y
    7075        $(YACC) $(YFLAGS) -d $<
     
    7681        mv lex.yy.c scan.c
    7782
    78 external.c external.h:
    79         ln -s arch/$(PLATFORM)/external.c external.c
    80         ln -s arch/$(PLATFORM)/external.h external.h
     83compat.c: $(MIPDIR)/compat.c
     84        ln -s -f $^ $@
    8185
    82 include $(USPACE_PREFIX)/Makefile.common
     86common.c: $(MIPDIR)/common.c
     87        ln -s -f $^ $@
    8388
     89external.c: arch/$(PLATFORM)/external.c
     90        ln -s -f $^ $@
     91
     92external.h: arch/$(PLATFORM)/external.h
     93        ln -s -f $^ $@
     94
  • uspace/app/pcc/cc/ccom/mkext/Makefile

    rbadbb9ad rc936c7f  
    3737POSIX_COMPAT = y
    3838
     39PRE_DEPEND = mkext.c table.c common.c
     40EXTRA_CLEAN = mkext.c table.c common.c
     41
    3942# FIXME: external.{c,h} must be generated for each target system
    4043
    4144SOURCES = \
    42         ${MIPDIR}/mkext.c \
    43         $(MDIR)/table.c \
    44         ${MIPDIR}/common.c
     45        mkext.c \
     46        table.c \
     47        common.c
    4548
    4649include $(USPACE_PREFIX)/Makefile.common
    4750
     51mkext.c: $(MIPDIR)/mkext.c
     52        ln -s -f $^ $@
     53
     54table.c: $(MDIR)/table.c
     55        ln -s -f $^ $@
     56
     57common.c: $(MIPDIR)/common.c
     58        ln -s -f $^ $@
     59
  • uspace/app/pcc/cc/cpp/Makefile

    rbadbb9ad rc936c7f  
    3131ARCHDIR = ../../arch/$(PLATFORM)
    3232EXTRA_CFLAGS = -I$(MIPDIR) -I$(ARCHDIR) -w
    33 EXTRA_CLEAN = y.tab.c y.tab.h
    3433DEFS = -DCPP_DEBUG -Dfree=free -DCPPBUF=16384
    3534BINARY = cpp
     35
     36PRE_DEPEND = compat.c
     37EXTRA_CLEAN = compat.c y.tab.c y.tab.h
    3638
    3739POSIX_COMPAT = y
     
    4345        cpp.c \
    4446        token.c \
    45         $(MIPDIR)/compat.c
     47        compat.c
     48
     49include $(USPACE_PREFIX)/Makefile.common
    4650
    4751y.tab.c:
    4852        $(YACC) -d cpy.y
    4953
    50 include $(USPACE_PREFIX)/Makefile.common
     54compat.c: $(MIPDIR)/compat.c
     55        ln -s -f $^ $@
    5156
Note: See TracChangeset for help on using the changeset viewer.