Last change
on this file since 313 was 313, checked in by Paul Smedley, 17 years ago |
adjust location of makefile.inc in configure.cmd and all makefile.os2 files
|
File size:
1.7 KB
|
Line | |
---|
1 | CINCLUDES = ..\include;..\runtime;..\alsa-kernel\include;$(%WATCOM)\H;$(%WATCOM)\H\OS2;
|
---|
2 | AINCLUDES = $(DDK_BASE)\H
|
---|
3 |
|
---|
4 | CDEFINES = -D__KERNEL__ -DMODULE -dTARGET_OS2 -dALSA_BUILD -D__ISAPNP__ -DCONFIG_ISAPNP -D__i386_
|
---|
5 |
|
---|
6 | !if "$(IBM_BUILD)" == "1"
|
---|
7 | CDEFINES += -DIBM_BUILD
|
---|
8 | !endif
|
---|
9 |
|
---|
10 | 32BIT=1
|
---|
11 | !include ..\makefile.inc
|
---|
12 |
|
---|
13 |
|
---|
14 | #===================================================================
|
---|
15 | #
|
---|
16 | # List of source files
|
---|
17 | #
|
---|
18 | #===================================================================
|
---|
19 | FILE1 = spinlock.obj malloc.obj pci.obj irq.obj ioctl.obj
|
---|
20 | FILE2 = memory.obj debug.obj sound.obj soundmixer.obj soundmidi.obj
|
---|
21 | #FILE3 = ossidc.obj semaphore.obj waitqueue.obj misc.obj fminstrload.obj
|
---|
22 | FILE3 = ossidc.obj semaphore.obj waitqueue.obj misc.obj
|
---|
23 | FILE4 = strncpy.obj task.obj
|
---|
24 | FILE5 = strncmp.obj timer.obj
|
---|
25 | FILE6 = instropl2.obj instropl3.obj vsprintf.obj
|
---|
26 | !if $(KEE) == 0
|
---|
27 | FILE7 = stack.obj
|
---|
28 | !else
|
---|
29 | FILE7 =
|
---|
30 | !endif
|
---|
31 | FILE8 =
|
---|
32 | FILELAST =
|
---|
33 | FILES = $(FILE0) $(FILE1) $(FILE2) $(FILE3) $(FILE4) $(FILE5) $(FILE6) $(FILE7) $(FILE8) $(FILE9)
|
---|
34 |
|
---|
35 | TARGET = linuxlib
|
---|
36 |
|
---|
37 | LNKFILE = $(OBJDIR)\$(TARGET).lnk
|
---|
38 |
|
---|
39 |
|
---|
40 | #===================================================================
|
---|
41 | #
|
---|
42 | # Specific dependencies
|
---|
43 | #
|
---|
44 | #===================================================================
|
---|
45 | all: $(OBJDIR)\$(TARGET).lib
|
---|
46 |
|
---|
47 |
|
---|
48 | $(LNKFILE): makefile.os2
|
---|
49 | @%create $(LNKFILE)
|
---|
50 | @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
|
---|
51 |
|
---|
52 | $(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
|
---|
53 | $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
|
---|
54 | copy $(OBJDIR)\$(TARGET).lib $(ALSA_LIB)
|
---|
55 |
|
---|
56 |
|
---|
57 | clean: .SYMBOLIC
|
---|
58 | -@rm *.err 2>nul
|
---|
59 | @cd $(OBJDIR)
|
---|
60 | -rm *.obj *.lnk *.sys *.sym *.lst *.map *.wmap *.lib 2>nul
|
---|
61 | @cd ../..
|
---|
Note:
See
TracBrowser
for help on using the repository browser.