Changeset 5889fc74 in mainline for uspace/app/pcc/cc/ccom


Ignore:
Timestamp:
2011-07-25T20:03:53Z (14 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c69d19
Parents:
b9a46fc
Message:

Fixed broken building.

Location:
uspace/app/pcc/cc/ccom
Files:
1 deleted
2 edited

Legend:

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

    rb9a46fc r5889fc74  
    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

    rb9a46fc r5889fc74  
    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
Note: See TracChangeset for help on using the changeset viewer.