Changeset 46c20c8 in mainline for uspace/srv/hid/kbd/Makefile


Ignore:
Timestamp:
2010-11-26T20:08:10Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (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 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/kbd/Makefile

    rfb150d78 r46c20c8  
    2828#
    2929
    30 include Makefile.common
     30USPACE_PREFIX = ../../..
     31ROOT_PATH = $(USPACE_PREFIX)/..
    3132
    32 .PHONY: all clean
     33COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
     34CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3335
    34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    35         -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36EXTRA_CFLAGS = -Iinclude
     37BINARY = kbd
    3738
    38 clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    40         find . -name '*.o' -follow -exec rm \{\} \;
     39-include $(COMMON_MAKEFILE)
     40-include $(CONFIG_MAKEFILE)
     41
     42## Sources
     43#
     44
     45SOURCES = \
     46        generic/kbd.c \
     47        genarch/gsp.c \
     48        genarch/stroke.c \
     49        layout/cz.c \
     50        layout/us_qwerty.c \
     51        layout/us_dvorak.c
     52
     53ifeq ($(UARCH),amd64)
     54        SOURCES += \
     55                port/chardev.c \
     56                ctl/pc.c
     57endif
     58
     59ifeq ($(UARCH),arm32)
     60        ifeq ($(MACHINE),gta02)
     61                SOURCES += \
     62                        port/chardev.c \
     63                        ctl/stty.c
     64        endif
     65        ifeq ($(MACHINE),testarm)
     66                SOURCES += \
     67                        port/gxemul.c
     68               
     69                ifeq ($(CONFIG_FB),y)
     70                        SOURCES += \
     71                                ctl/gxe_fb.c
     72                else
     73                        SOURCES += \
     74                                ctl/stty.c
     75                endif
     76        endif
     77        ifeq ($(MACHINE),integratorcp)
     78                SOURCES += \
     79                        port/pl050.c \
     80                        ctl/pl050.c
     81        endif
     82endif
     83
     84ifeq ($(UARCH),ia32)
     85        SOURCES += \
     86                port/chardev.c \
     87                ctl/pc.c
     88endif
     89
     90ifeq ($(MACHINE),i460GX)
     91        SOURCES += \
     92                port/chardev.c \
     93                ctl/pc.c
     94endif
     95
     96ifeq ($(MACHINE),ski)
     97        SOURCES += \
     98                port/ski.c \
     99                ctl/stty.c
     100endif
     101
     102ifeq ($(MACHINE),msim)
     103        SOURCES += \
     104                port/msim.c \
     105                ctl/stty.c
     106endif
     107
     108ifeq ($(MACHINE),lgxemul)
     109        SOURCES += \
     110                port/gxemul.c
     111       
     112        ifeq ($(CONFIG_FB),y)
     113                SOURCES += \
     114                        ctl/gxe_fb.c
     115        else
     116                SOURCES += \
     117                        ctl/stty.c
     118        endif
     119endif
     120
     121ifeq ($(MACHINE),bgxemul)
     122        SOURCES += \
     123                port/gxemul.c
     124       
     125        ifeq ($(CONFIG_FB),y)
     126                SOURCES += \
     127                        ctl/gxe_fb.c
     128        else
     129                SOURCES += \
     130                        ctl/stty.c
     131        endif
     132endif
     133
     134ifeq ($(UARCH),ppc32)
     135        SOURCES += \
     136                port/adb.c \
     137                ctl/apple.c
     138endif
     139
     140ifeq ($(UARCH),sparc64)
     141        ifeq ($(PROCESSOR),sun4v)
     142                SOURCES += \
     143                        port/niagara.c \
     144                        ctl/stty.c
     145        else
     146                ifeq ($(MACHINE),serengeti)
     147                        SOURCES += \
     148                                port/sgcn.c \
     149                                ctl/stty.c
     150                endif
     151                ifeq ($(MACHINE),generic)
     152                        SOURCES += \
     153                        port/sun.c \
     154                        port/z8530.c \
     155                        port/ns16550.c \
     156                        ctl/sun.c
     157                endif
     158        endif
     159endif
     160
     161ifeq ($(UARCH),abs32le)
     162        SOURCES += \
     163                port/dummy.c \
     164                ctl/pc.c
     165endif
     166
     167include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.