Changeset 15 for trunk


Ignore:
Timestamp:
Sep 16, 2010, 2:48:58 PM (15 years ago)
Author:
markus
Message:

more try and error on linking the driver with Watcom - no success yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/wmakefile

    r14 r15  
    6868
    6969#              the linker wants this on one line, no spaces...
    70 LIB_DIRS     = $(DDK)$(PS)BASE$(PS)LIB$;$(DDK)$(PS)BASE$(PS)SRC$(PS)DEV$(PS)DASD$(PS)DEVHLP;$(WATCOM)$(PS)LIB
     70LIB_DIRS     = $(DDK)$(PS)BASE$(PS)LIB$;$(DDK)$(PS)BASE$(PS)SRC$(PS)DEV$(PS)DASD$(PS)DEVHLP;$(WATCOM)$(PS)LIB286$(PS)os2
    7171
    7272
     
    7676TARGET   = os2ahci.add
    7777
    78 LIBS     = os2,addcalls,dhcalls,doscalls,rmcalls
     78LIBS     = addcalls,dhcalls,doscalls,rmcalls,clibc
    7979
    8080SRCS     = init.asm libc.c os2ahci.c pci.c ahci.c ata.c atapi.c ctxhook.c
     
    9999# compiler/linker flags
    100100
    101 AFLAGS        = -2 -bt=os2 -w3 -zq -ms -zcm
    102 CFLAGS        = -bt=os2 -ms -s -zdp -zff -zgf -zu -zl -2 -w2 -wcd=138 -zp=1 -q
     101AFLAGS        = -2 -bt=os2 -w3 -zq -ms
     102CFLAGS        = -ecc -bt=os2 -ms -zu -2 -w2 -wcd=138 -zp=1 -q -s -zdf
    103103CFLAGS_DEBUG  = -d3 -hc
    104 LFLAGS        = name $(TARGET) sys os2 dll initglobal option map option quiet &
     104LFLAGS        = name $(TARGET) system os2 dll initglobal option map option quiet &
    105105                option nodefaultlibs libpath $(LIB_DIRS) file $(LDOBJS) &
    106                 library $(LIBS)
     106                library $(LIBS) option nocaseexact #option packd=64k
    107107LFLAGS_DEBUG  = DEBUG CODEVIEW option cvpack
    108108
     
    136136.asm.obj:
    137137        $(AS) $(AFLAGS) $(AS_INCLUDE) $*.asm -fo=$*.obj
     138        wdis -l $*.obj
    138139
    139140.c.obj:
    140141        $(CC) $(CFLAGS) $(CC_INCLUDE) $*.c
     142        wdis -l $*.obj
    141143
    142144$(TARGET): $(OBJS) os2ahci.def wmakefile
Note: See TracChangeset for help on using the changeset viewer.