~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/arch/um/kernel/Makefile

Version: ~ [ 0.6-2.3.46 ] ~
Architecture: ~ [ um ] ~

  1 LIB = um.a
  2 
  3 OBJS = process.o checksum.o current.o exec_kern.o exec_user.o init_task.o \
  4         irq.o mem.o old-checksum.o process_kern.o reboot.o resource.o \
  5         segment.o semaphore.o setup.o signal_kern.o signal_user.o smp.o \
  6         softirq.o syscall_kern.o syscall_user.o time.o time_kern.o tlb.o \
  7         trap_kern.o trap_user.o um_arch.o user_util.o
  8 
  9 CFLAGS += -I../include
 10 
 11 USER_CFLAGS = $(patsubst -I%,,$(CFLAGS))
 12 USER_CFLAGS += -I../include
 13 
 14 all: $(LIB)
 15 
 16 exec_user.o: exec_user.c
 17         gcc -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 18 
 19 process.o: process.c
 20         gcc -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 21 
 22 syscall_user.o: syscall_user.c
 23         gcc -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 24 
 25 trap_user.o: trap_user.c
 26         gcc -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 27 
 28 signal_user.o: signal_user.c
 29         gcc -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 30 
 31 time.o: time.c
 32         gcc -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 33 
 34 user_util.o: user_util.c
 35         gcc -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 36 
 37 checksum.S: $(TOPDIR)/arch/$(SUBARCH)/lib/checksum.S
 38         ln -s $< $@
 39 
 40 old-checksum.c: $(TOPDIR)/arch/$(SUBARCH)/lib/old-checksum.c
 41         ln -s $< $@
 42 
 43 semaphore.c: $(TOPDIR)/arch/$(SUBARCH)/kernel/semaphore.c
 44         ln -s $< $@
 45 
 46 $(LIB): $(OBJS)
 47         rm -f $@
 48         ar cr $@ $^
 49 
 50 clean:
 51         rm -f $(OBJS)
 52 
 53 fastdep:

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.