"Fossies" - the Fresh Open Source Software Archive

Member "dosemu-1.4.0/src/dosext/net/v-net/Makefile" (4 May 2007, 1231 Bytes) of package /linux/misc/old/dosemu-1.4.0.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # (C) Copyright 1992, ..., 2007 the "DOSEMU-Development-Team".
    3 #
    4 # for details see file COPYING.DOSEMU in the DOSEMU distribution
    5 #
    6 
    7 top_builddir=../../../..
    8 include $(top_builddir)/Makefile.conf
    9 
   10 #
   11 # This is the Makefile for the v-net - subdirectory of the DOS-emulator
   12 # for Linux.
   13 #
   14 
   15 KERNEL_INCDIR="/lib/modules/`uname -r`/build/include"
   16 DOSEMU_INCDIR="../../../include"
   17 
   18 CFILES = dosnet.c
   19 HFILES = dosnet.h
   20 
   21 # Insert all source- and header-files here.
   22 
   23 ALL = $(CFILES) $(HFILES) dosnet.README
   24 
   25 # All object-files are included here.
   26 
   27 OBJS = dosnet.o
   28 
   29 CFLAGS += $(KERNEL2)
   30 
   31 all: $(OBJS)
   32 
   33 dosnet.o:  dosnet.c
   34 	$(CC) $(INCDIR) -D__KERNEL__ -Wall -Wstrict-prototypes -O2 \
   35 	-fno-strength-reduce -I$(KERNEL_INCDIR) -I$(DOSEMU_INCDIR) \
   36 	-DMODULE \
   37 	-fomit-frame-pointer -c -o dosnet.o dosnet.c 
   38 
   39 checkin:
   40 	-ci -l $(ALL) Makefile
   41 
   42 checkout:
   43 	-co -M -l $(ALL) Makefile
   44 
   45 clean:
   46 	rm -f *.o 
   47 
   48 realclean: clean
   49 	rm -f .depend
   50 
   51 install:
   52 
   53 dist: $(ALL) Makefile
   54 	install -d $(DISTPATH)/v-net
   55 	install -m 0644 $(ALL) Makefile $(DISTPATH)/v-net
   56 
   57 depend dep: $(CFILES) $(HFILES)
   58 	$(CPP) -MM $(CFLAGS) $(CFILES) $(INCDIR) > .depend
   59 
   60 dummy:
   61 
   62 #
   63 # include a dependency file if one exists
   64 #
   65 ifeq (.depend,$(wildcard .depend))
   66 include .depend
   67 endif