home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lxapi32.zip
/
Lib32
/
makefile
< prev
Wrap
Makefile
|
2002-04-26
|
2KB
|
76 lines
# $Id: makefile,v 1.2 2002/04/26 23:09:26 smilcke Exp $
#===================================================================
# Makefile for BT32 driver
#===================================================================
DEVTYPE=LIB32
!if "$(KEE)" == "1"
TARGET = linuxkee
!else
TARGET = linux
!endif
#EVERYTHING_AS_CPP=1
32BIT=1
!Message ************************
!Message Building $(TARGET)
!Message ************************
!include ..\makes\paths.mak
!ifndef DRV_BASE
!error No DRV paths defined.
!endif
CINCLUDES = $(%WATCOM)\H;..\include;..\runtime;..\sblive
AINCLUDES = $(%DDK)\H
CDEFINES = -D__KERNEL__ -DMODULE -dTARGET_OS2
#===================================================================
#
# List of source files
#
#===================================================================
OBJ1 = lxspinlock.obj lxmodule.obj
OBJ2 = lxmemory.obj lxmalloc.obj lxdebug.obj lxirq.obj
OBJ3 = lxsched.obj lxtimer.obj lxresource.obj lxioremap.obj
OBJ4 = lxsemaphor.obj lxwaitq.obj lxmisc.obj lxsprintf.obj
OBJ5 = lxstr.obj lxtask.obj lxkmod.obj
OBJ6 = lxvideodev.obj lxos2fn.obj
OBJ7 =
OBJ8 =
OBJ9 =
OBJLAST =
OBJS = $(OBJ0) $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJ8) $(OBJ9) $(OBJLAST)
!include $(DRV_MAKES)\envchk.mak
!include $(DRV_MAKES)\common.mak
!include $(LX_MAINMAKE)
LNKFILE = $(DRV_OBJ)\$(TARGET).lrf
#===================================================================
#
# Specific dependencies
#
#===================================================================
all: $(DRV_LIB)\$(TARGET).lib
$(LNKFILE): makefile
@%create $(LNKFILE)
@for %f in ($(OBJS)) do @%append $(LNKFILE) -+$(DRV_OBJ)\%f
$(DRV_LIB)\$(TARGET).lib: $(LNKFILE) $(OBJS)
@echo ------------------- $^&.lib
$(LIB) $(DRV_LIB)\$(TARGET).lib @$(LNKFILE)
clean: .SYMBOLIC
@if exist $(DRV_OBJ)\*.obj del $(DRV_OBJ)\*.obj
@if exist $(DRV_OBJ)\*.lrf del $(DRV_OBJ)\*.lrf
@if exist $(DRV_OBJ)\*.lst del $(DRV_OBJ)\*.lst
@if exist $(DRV_SRC)\*.err del $(DRV_SRC)\*.err
@if exist $(DRV_LIB)\$(TARGET).lib del $(DRV_LIB)\$(TARGET).lib