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


Ignore:
Timestamp:
2011-03-21T22:00:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
143932e3
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 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/Makefile

    rb50b5af2 r04803bf  
    11#
    2 # Copyright (c) 2005 Martin Decky
    3 # Copyright (c) 2007 Jakub Jermar
     2# Copyright (c) 2010 Jiri Svoboda
    43# All rights reserved.
    54#
     
    2827#
    2928
    30 ## Common compiler flags
    31 #
     29USPACE_PREFIX = ../..
     30LIBS = $(LIBCLUI_PREFIX)/libclui.a
     31EXTRA_CFLAGS = -D__HELENOS__ -I$(LIBCLUI_PREFIX)
    3232
    33 LIBC_PREFIX = ../libc
    34 
    35 ## Setup toolchain
    36 #
    37 
    38 include $(LIBC_PREFIX)/Makefile.toolchain
    39 
    40 CFLAGS += -Iinclude
    41 
    42 ## Sources
    43 #
     33BINARY = sbi
    4434
    4535SOURCES = \
    46         libblock.c
     36        src/builtin/bi_boxed.c \
     37        src/builtin/bi_error.c \
     38        src/builtin/bi_char.c \
     39        src/builtin/bi_console.c \
     40        src/builtin/bi_int.c \
     41        src/builtin/bi_task.c \
     42        src/builtin/bi_textfile.c \
     43        src/builtin/bi_string.c \
     44        src/os/helenos.c \
     45        src/ancr.c \
     46        src/bigint.c \
     47        src/builtin.c \
     48        src/cspan.c \
     49        src/imode.c \
     50        src/input.c \
     51        src/intmap.c \
     52        src/lex.c \
     53        src/list.c \
     54        src/main.c \
     55        src/p_expr.c \
     56        src/p_type.c \
     57        src/parse.c \
     58        src/program.c \
     59        src/rdata.c \
     60        src/run.c \
     61        src/run_expr.c \
     62        src/run_texpr.c \
     63        src/stree.c \
     64        src/strtab.c \
     65        src/stype.c \
     66        src/stype_expr.c \
     67        src/symbol.c \
     68        src/tdata.c
    4769
    48 OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    49 
    50 .PHONY: all clean depend
    51 
    52 all: libblock.a
    53 
    54 -include Makefile.depend
    55 
    56 clean:
    57         -rm -f libblock.a Makefile.depend
    58         find . -name '*.o' -follow -exec rm \{\} \;
    59 
    60 depend:
    61         -makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(SOURCES) > Makefile.depend 2> /dev/null
    62 
    63 libblock.a: depend $(OBJECTS)
    64         $(AR) rc libblock.a $(OBJECTS)
    65 
    66 %.o: %.c
    67         $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     70include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.