source: GPL/lib32/makefile.os2@ 18

Last change on this file since 18 was 18, checked in by vladest, 20 years ago

initial import

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