Changeset 04803bf in mainline for uspace/app/trace/Makefile


Ignore:
Timestamp:
2011-03-21T22:00:17Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
143932e
Parents:
b50b5af2 (diff), 7308e84 (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 mainline changes (needs fixes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/Makefile

    rb50b5af2 r04803bf  
    11#
    22# Copyright (c) 2005 Martin Decky
     3# Copyright (c) 2007 Jakub Jermar
    34# All rights reserved.
    45#
     
    2728#
    2829
    29 ## Setup toolchain
    30 #
     30USPACE_PREFIX = ../..
     31BINARY = trace
    3132
    32 LIBC_PREFIX = ../../lib/libc
    33 SOFTINT_PREFIX = ../../lib/softint
    34 
    35 include $(LIBC_PREFIX)/Makefile.toolchain
    36 include $(LIBC_PREFIX)/Makefile.app
    37 
    38 CFLAGS += -I../../srv/kbd/include
    39 
    40 ## Sources
    41 #
    42 
    43 OUTPUT = trace
    44 SOURCES = trace.c \
     33SOURCES = \
     34        trace.c \
    4535        syscalls.c \
    4636        ipcp.c \
     
    4939        errors.c
    5040
    51 OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    52 
    53 .PHONY: all clean depend disasm
    54 
    55 all: $(OUTPUT) disasm
    56 
    57 -include Makefile.depend
    58 
    59 clean:
    60         -rm -f $(OUTPUT) $(OBJECTS) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend
    61 
    62 depend:
    63         $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend
    64 
    65 $(OUTPUT): $(OBJECTS) $(LIBS)
    66         $(LD) -T $(LD_SCRIPT) $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
    67 
    68 disasm:
    69         $(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm
    70 
    71 %.o: %.S
    72         $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
    73 
    74 %.o: %.s
    75         $(AS) $(AFLAGS) $< -o $@
    76 
    77 %.o: %.c
    78         $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     41include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.