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

Linux Cross Reference
cvs/emstar/fusd/Makefile


  1 #
  2 # Makefile for building FUSD stand-alone
  3 #
  4 # fusdd, kfusd.ko, and libfusd.a will appear in the exe directory.
  5 #
  6 
  7 KDIR := /lib/modules/$(shell uname -r)/build
  8 PWD := $(shell pwd)/kfusd
  9 obj-m := kfusd.o
 10 MAKE := make
 11 
 12 all: exe exe/libfusd.a exe/fusdd exe/kfusd.ko
 13 
 14 exe:
 15         mkdir exe
 16 
 17 exe/libfusd.a: exe
 18         gcc -Wall -o exe/libfusd.o -c libfusd/libfusd.c -Iinclude -DCVSTAG="\"none\"" 
 19         ar -cr exe/libfusd.a exe/libfusd.o
 20 
 21 exe/fusdd: exe/libfusd.a
 22         gcc -Wall -o exe/fusdd fusdd/fusdd.c fusdd/fusdd_main.c \
 23                 exe/libfusd.a -Iinclude -DCVSTAG="\"none\"" 
 24 
 25 exe/kfusd.ko: exe
 26         @echo Building kfusd.ko for in kernel $(KDIR)
 27         $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
 28         cp kfusd/kfusd.ko exe

~ [ 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.