Changes in uspace/srv/hid/fb/Makefile [b3d513f:7d42cc9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/Makefile
rb3d513f r7d42cc9 28 28 # 29 29 30 include Makefile.common 30 USPACE_PREFIX = ../../.. 31 ROOT_PATH = $(USPACE_PREFIX)/.. 31 32 32 .PHONY: all clean 33 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 34 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 33 35 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) 36 BINARY = fb 37 37 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 find . -name '*.o' -follow -exec rm \{\} \; 38 -include $(COMMON_MAKEFILE) 39 -include $(CONFIG_MAKEFILE) 40 41 SOURCES = \ 42 main.c \ 43 ppm.c 44 45 ifneq ($(UARCH),ia64) 46 SOURCES += \ 47 fb.c \ 48 font-8x16.c 49 EXTRA_CFLAGS += -DFB_ENABLED 50 endif 51 52 ifeq ($(UARCH),ia32) 53 SOURCES += \ 54 ega.c 55 EXTRA_CFLAGS += -DEGA_ENABLED 56 endif 57 58 ifeq ($(UARCH),ia64) 59 SOURCES += \ 60 ega.c \ 61 ski.c \ 62 serial_console.c 63 EXTRA_CFLAGS += -DSKI_ENABLED -DEGA_ENABLED 64 endif 65 66 ifeq ($(UARCH),amd64) 67 SOURCES += \ 68 ega.c 69 EXTRA_CFLAGS += -DEGA_ENABLED 70 endif 71 72 ifeq ($(UARCH),mips32) 73 SOURCES += \ 74 msim.c \ 75 serial_console.c 76 EXTRA_CFLAGS += -DMSIM_ENABLED 77 endif 78 79 ifeq ($(UARCH),sparc64) 80 ifeq ($(PROCESSOR),sun4v) 81 SOURCES += \ 82 niagara.c \ 83 serial_console.c 84 EXTRA_CFLAGS += -DNIAGARA_ENABLED 85 endif 86 87 ifeq ($(MACHINE),serengeti) 88 SOURCES += \ 89 sgcn.c \ 90 serial_console.c 91 EXTRA_CFLAGS += -DSGCN_ENABLED 92 endif 93 endif 94 95 EXTRA_CFLAGS += -D$(UARCH) 96 97 include $(USPACE_PREFIX)/Makefile.common
Note:
See TracChangeset
for help on using the changeset viewer.