Changes in / [c936c7f:badbb9ad] in mainline


Ignore:
Location:
uspace/app/pcc/cc
Files:
1 added
4 edited

Legend:

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

    rc936c7f rbadbb9ad  
    3535BINARY = cc
    3636
    37 PRE_DEPEND = compat.c
    38 EXTRA_CLEAN = compat.c
     37POSIX_COMPAT = y
    3938
    40 POSIX_COMPAT = y
     39
    4140
    4241SOURCES = \
    4342        cc.c \
    44         compat.c
     43        $(MIPDIR)/compat.c
    4544
    4645include $(USPACE_PREFIX)/Makefile.common
    4746
    48 compat.c: $(MIPDIR)/compat.c
    49         ln -s -f $^ $@
    50 
  • uspace/app/pcc/cc/ccom/Makefile

    rc936c7f rbadbb9ad  
    3434DEFS = -Dmach_$(PLATFORM) -D__helenos__ -DPCC_DEBUG -DGCC_COMPAT -Dfree=free
    3535BINARY = ccom
    36 
    37 PRE_DEPEND = cgram.c scan.c external.c external.h common.c compat.c
    38 EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h common.c compat.c \
    39         $(MIPDIR)/*.o $(MDIR)/*.o
     36EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h
    4037
    4138POSIX_COMPAT = y
     
    5451        $(MIPDIR)/optim2.c \
    5552        $(MIPDIR)/regs.c \
    56         common.c \
    57         compat.c \
     53        $(MIPDIR)/common.c \
     54        $(MIPDIR)/compat.c \
    5855        cgram.c \
    5956        scan.c \
     
    7067        trees.c
    7168
    72 include $(USPACE_PREFIX)/Makefile.common
    73 
    7469cgram.c: cgram.y
    7570        $(YACC) $(YFLAGS) -d $<
     
    8176        mv lex.yy.c scan.c
    8277
    83 compat.c: $(MIPDIR)/compat.c
    84         ln -s -f $^ $@
     78external.c external.h:
     79        ln -s arch/$(PLATFORM)/external.c external.c
     80        ln -s arch/$(PLATFORM)/external.h external.h
    8581
    86 common.c: $(MIPDIR)/common.c
    87         ln -s -f $^ $@
     82include $(USPACE_PREFIX)/Makefile.common
    8883
    89 external.c: arch/$(PLATFORM)/external.c
    90         ln -s -f $^ $@
    91 
    92 external.h: arch/$(PLATFORM)/external.h
    93         ln -s -f $^ $@
    94 
  • uspace/app/pcc/cc/ccom/mkext/Makefile

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

    rc936c7f rbadbb9ad  
    3131ARCHDIR = ../../arch/$(PLATFORM)
    3232EXTRA_CFLAGS = -I$(MIPDIR) -I$(ARCHDIR) -w
     33EXTRA_CLEAN = y.tab.c y.tab.h
    3334DEFS = -DCPP_DEBUG -Dfree=free -DCPPBUF=16384
    3435BINARY = cpp
    35 
    36 PRE_DEPEND = compat.c
    37 EXTRA_CLEAN = compat.c y.tab.c y.tab.h
    3836
    3937POSIX_COMPAT = y
     
    4543        cpp.c \
    4644        token.c \
    47         compat.c
    48 
    49 include $(USPACE_PREFIX)/Makefile.common
     45        $(MIPDIR)/compat.c
    5046
    5147y.tab.c:
    5248        $(YACC) -d cpy.y
    5349
    54 compat.c: $(MIPDIR)/compat.c
    55         ln -s -f $^ $@
     50include $(USPACE_PREFIX)/Makefile.common
    5651
Note: See TracChangeset for help on using the changeset viewer.