# $Id: makefile,v 1.1.1.1 2003/10/04 08:36:18 prokushev Exp $
#
# Makefile for Watcom/LIBC interface layer

ROOT=..\..
ADD_COPT = -i=..\include
!include $(ROOT)\makefile.inc

# For performance/compatibility reasons, we build a "_System" and
# "_Optlink"-like libraries, corresponding to "-5r" and "-5s" options of
# Watcom compiler.

all: $(ROOT)\lib\all_shared.lib msg

OBJS = all_messages.obj all_querycurrentdisk.obj all_queryfsname.obj &
        all_dlist.obj all_pathmanipulation.obj all_performrecursiveaction.obj

$(ROOT)\lib\all_shared.lib: $(OBJS)
 -@if exist $@ del $@
 wlib $@ +$<

msg: .symbolic
 -md msg
 $(MC) @oso001.rsf
 $(MC) @oso001h.rsf
 -del $(ROOT)\bin\os2\nls\msg\oso001.*
 -del $(ROOT)\bin\os2\nls\msg\oso001h.*
 move msg\* $(ROOT)\bin\os2\nls\msg
 -rd msg

# Clean all

clean:
 -del $(LIBS)
 -del *.obj
 -del *.sbr
 -del *.map
