VirtualBox

source: kBuild/trunk/src/kmk/testcase/nmaketest.mak@ 151

Last change on this file since 151 was 32, checked in by bird, 22 years ago

for try and fail purposes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1# @(#)Makefile 5.2 (Berkeley) 12/28/90
2# $FreeBSD: src/usr.bin/make/Makefile,v 1.13.2.1 2001/05/25 08:33:40 sobomax Exp $
3
4CC = icc
5CFLAGS = /Q /Ti+ /Ge+ /I. /I./include /I../kLib/Generic/include \
6 -DUSE_KLIB -DOS2 -D__i386__ -D__32BIT__ -DMACHINE=\"ibmos2\" -DMACHINE_ARCH=\"x86\" -DMACHINE_CPU=\"386\" \
7
8CC = gcc
9CFLAGS = -I. -I../kLib/Generic/include \
10 -DMACHINE=\"ibmos2\" -DMACHINE_ARCH=\"x86\" -DMACHINE_CPU=\"386\" \
11
12OBJDIR=obj
13
14LSTOBJS=\
15$(OBJDIR)/lstAppend.o \
16$(OBJDIR)/lstAtEnd.o \
17$(OBJDIR)/lstAtFront.o \
18$(OBJDIR)/lstClose.o \
19$(OBJDIR)/lstConcat.o \
20$(OBJDIR)/lstDatum.o \
21$(OBJDIR)/lstDeQueue.o \
22$(OBJDIR)/lstDestroy.o \
23$(OBJDIR)/lstDupl.o \
24$(OBJDIR)/lstEnQueue.o \
25$(OBJDIR)/lstFind.o \
26$(OBJDIR)/lstFindFrom.o \
27$(OBJDIR)/lstFirst.o \
28$(OBJDIR)/lstForEach.o \
29$(OBJDIR)/lstForEachFrom.o \
30$(OBJDIR)/lstInit.o \
31$(OBJDIR)/lstInsert.o \
32$(OBJDIR)/lstIsAtEnd.o \
33$(OBJDIR)/lstIsEmpty.o \
34$(OBJDIR)/lstLast.o \
35$(OBJDIR)/lstMember.o \
36$(OBJDIR)/lstNext.o \
37$(OBJDIR)/lstOpen.o \
38$(OBJDIR)/lstRemove.o \
39$(OBJDIR)/lstReplace.o \
40$(OBJDIR)/lstSucc.o
41
42BASEOBJS=\
43$(OBJDIR)/arch.o\
44$(OBJDIR)/buf.o\
45# $(OBJDIR)\compat.o\
46$(OBJDIR)/cond.o\
47$(OBJDIR)/dir.o\
48$(OBJDIR)/for.o\
49$(OBJDIR)/hash.o\
50# $(OBJDIR)\job.o\
51$(OBJDIR)/main.o\
52$(OBJDIR)/make.o\
53$(OBJDIR)/parse.o\
54$(OBJDIR)/str.o\
55$(OBJDIR)/suff.o\
56$(OBJDIR)/targ.o\
57$(OBJDIR)/var.o\
58$(OBJDIR)/util.o\
59
60INCOBJS=\
61#$(OBJDIR)/dirent.o\
62
63
64all: kmk.exe
65
66kmk.exe: $(BASEOBJS) $(LSTOBJS) $(INCOBJS)
67 $(CC) $(CFLAGS) $? -o $@
68
69$(LSTOBJS): lst.lib/$(@B).c list.h lst.h
70 @mkdir -p $(OBJDIR)
71 $(CC) -c $(CFLAGS) -o $(OBJDIR)/$(@B).o lst.lib/$(@B).c
72
73$(BASEOBJS): $(@B).c list.h lst.h make.h
74 @mkdir -p $(OBJDIR)
75 $(CC) -c $(CFLAGS) $(@B).c -o $(OBJDIR)/$(@B).o
76
77$(INCOBJS): include/$(@B).c list.h lst.h make.h
78 @mkdir -p $(OBJDIR)
79 $(CC) -c $(CFLAGS) -o $(OBJDIR)/$(@B).o include/$(@B).c
80
81
82#
83#PROG= make
84#CFLAGS+= -I${.CURDIR}
85#SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
86# make.c parse.c str.c suff.c targ.c var.c util.c
87#SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
88# lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \
89# lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \
90# lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \
91# lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
92#.PATH: ${.CURDIR}/lst.lib
93
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette