Rev | Line | |
---|
[555] | 1 | CINCLUDES = $(%WATCOM)\H;..\include;..\runtime
|
---|
[354] | 2 | AINCLUDES = $(%DDK)\BASE\H
|
---|
| 3 |
|
---|
[559] | 4 | CDEFINES = -D__KERNEL__ -DPRIVATE_PCM_VOLUME -DMODULE -dTARGET_OS2
|
---|
[354] | 5 |
|
---|
| 6 | 32BIT=1
|
---|
| 7 | !include ..\makefile.inc
|
---|
| 8 | !include ..\include\sblive32.mak
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | #===================================================================
|
---|
| 12 | #
|
---|
| 13 | # List of source files
|
---|
| 14 | #
|
---|
| 15 | #===================================================================
|
---|
| 16 | FILE1 = spinlock.obj
|
---|
| 17 | FILE2 = memory.obj debug.obj sound.obj pci.obj irq.obj
|
---|
| 18 | FILE3 = ossidc.obj semaphore.obj waitqueue.obj misc.obj
|
---|
| 19 | FILE4 = strncpy.obj task.obj
|
---|
| 20 | FILE5 =
|
---|
| 21 | FILE6 =
|
---|
| 22 | FILE7 =
|
---|
| 23 | FILE8 =
|
---|
| 24 | FILELAST =
|
---|
| 25 | FILES = $(FILE0) $(FILE1) $(FILE2) $(FILE3) $(FILE4) $(FILE5) $(FILE6) $(FILE7) $(FILE8) $(FILE9)
|
---|
| 26 |
|
---|
| 27 | !if "$(KEE)" == "1"
|
---|
| 28 | TARGET = linuxlibkee
|
---|
| 29 | !else
|
---|
| 30 | TARGET = linuxlib
|
---|
| 31 | !endif
|
---|
| 32 |
|
---|
| 33 | LNKFILE = $(OBJDIR)\$(TARGET).lnk
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | #===================================================================
|
---|
| 37 | #
|
---|
| 38 | # Specific dependencies
|
---|
| 39 | #
|
---|
| 40 | #===================================================================
|
---|
| 41 | all: $(OBJDIR)\$(TARGET).lib
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 | $(LNKFILE): makefile.os2
|
---|
| 45 | @%create $(LNKFILE)
|
---|
| 46 | @for %f in ($(FILES)) do @%append $(LNKFILE) -+$(OBJDIR)\%f
|
---|
| 47 |
|
---|
| 48 | $(OBJDIR)\$(TARGET).lib: $(LNKFILE) $(FILES)
|
---|
| 49 | $(LIB) $(OBJDIR)\$(TARGET).lib @$(LNKFILE)
|
---|
| 50 | copy $(OBJDIR)\$(TARGET).lib $(SBLIVE_LIB)
|
---|
| 51 |
|
---|
[558] | 52 | #############################################################################
|
---|
| 53 | # Cleanup directory
|
---|
| 54 | #############################################################################
|
---|
| 55 | .IGNORE
|
---|
[354] | 56 |
|
---|
| 57 | clean:
|
---|
[558] | 58 | cd $(OBJDIR)
|
---|
| 59 | del *.obj *.err *.lnk *.sys *.sym *.lst *.map *.wmap *.lib *.bak 2>nul
|
---|
| 60 | cd ..\..
|
---|
| 61 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.