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