Changeset 371bd7d in mainline for uspace/srv/net/tl/udp/Makefile


Ignore:
Timestamp:
2010-03-27T09:22:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36a75a2
Parents:
cd82bb1 (diff), eaf22d4 (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.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/udp/Makefile

    rcd82bb1 r371bd7d  
    2828#
    2929
    30 ## Setup toolchain
    31 #
    32 
    33 include Makefile.common
    34 include $(LIBC_PREFIX)/Makefile.toolchain
    35 
    36 ## Sources
    37 #
     30NET_BASE = ../..
     31USPACE_PREFIX = ../../../..
     32BINARY = udp
    3833
    3934SOURCES = \
    40         init.c
     35        udp.c \
     36        udp_module.c \
     37        $(NET_BASE)/checksum.c \
     38        $(NET_BASE)/module.c \
     39        $(NET_BASE)/modules.c \
     40        $(NET_BASE)/il/ip/ip_client.c \
     41        $(NET_BASE)/il/ip/ip_remote.c \
     42        $(NET_BASE)/net/net_remote.c \
     43        $(NET_BASE)/socket/socket_core.c \
     44        $(NET_BASE)/tl/icmp/icmp_client.c \
     45        $(NET_BASE)/tl/icmp/icmp_common.c \
     46        $(NET_BASE)/tl/icmp/icmp_remote.c \
     47        $(NET_BASE)/tl/tl_common.c \
     48        $(NET_BASE)/structures/char_map.c \
     49        $(NET_BASE)/structures/dynamic_fifo.c \
     50        $(NET_BASE)/structures/measured_strings.c \
     51        $(NET_BASE)/structures/packet/packet.c \
     52        $(NET_BASE)/structures/packet/packet_client.c \
     53        $(NET_BASE)/structures/packet/packet_remote.c
    4154
    42 OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    43 
    44 .PHONY: all
    45 
    46 all: $(OUTPUT) $(OUTPUT).disasm
    47 
    48 -include $(DEPEND)
    49 
    50 $(OUTPUT).disasm: $(OUTPUT)
    51         $(OBJDUMP) -d $< > $@
    52 
    53 $(OUTPUT): $(OBJECTS) $(LIBS)
    54         $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
    55 
    56 %.o: %.c $(DEPEND)
    57         $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 
    59 $(DEPEND):
    60         makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(SOURCES) > $@ 2> /dev/null
    61         -[ -f $(DEPEND_PREV) ] && diff -q $(DEPEND_PREV) $@ && mv -f $(DEPEND_PREV) $@
     55include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.