Changes in uspace/srv/pci/Makefile [fcd7053:cb0ea39] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/pci/Makefile
rfcd7053 rcb0ea39 35 35 include $(LIBC_PREFIX)/Makefile.toolchain 36 36 37 CFLAGS += -I../libipc/include 37 38 38 LIBS = libpci/libpci.a$(LIBC_PREFIX)/libc.a39 LIBS = $(LIBC_PREFIX)/libc.a 39 40 40 41 ## Sources … … 43 44 OUTPUT = pci 44 45 SOURCES = \ 45 pci.c 46 main.c \ 47 pci.c \ 48 intel_piix3.c \ 49 isa.c \ 50 serial.c 51 52 ifeq ($(PROCESSOR), us) 53 SOURCES += psycho.c 54 endif 55 56 ifeq ($(UARCH), ia32) 57 SOURCES += intel_method1.c 58 endif 59 60 CFLAGS += -D$(UARCH) 46 61 47 62 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) … … 49 64 .PHONY: all clean depend disasm 50 65 51 all: $(OUTPUT) disasm66 all: $(OUTPUT) $(OUTPUT).disasm 52 67 53 68 -include Makefile.depend … … 55 70 clean: 56 71 -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend $(OBJECTS) 57 $(MAKE) -C libpci clean58 72 59 73 depend: … … 61 75 62 76 $(OUTPUT): $(OBJECTS) $(LIBS) 63 $(MAKE) -C libpci64 77 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 65 78 66 disasm: 67 $(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm 79 disasm: $(OUTPUT).disasm 80 81 $(OUTPUT).disasm: $(OUTPUT) 82 $(OBJDUMP) -d $< >$@ 68 83 69 84 %.o: %.S … … 75 90 %.o: %.c 76 91 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 77 78 libpci/libpci.a:79 $(MAKE) -C libpci
Note:
See TracChangeset
for help on using the changeset viewer.