#
# /emx/src/lib/misc/makefile
#
.INCLUDE: /emx/src/lib/libc.mak

local: ;

abort.o: abort.c $(I)stdlib.h $(SIGNAL) $(E)
abs.o: abs.c $(I)stdlib.h
abspath.o: abspath.c $(I)stdlib.h $(ERRNO) $(I)string.h $(I)alloca.h \
            $(I)sys/param.h $(E)
alarm.o: alarm.c $(I)stdlib.h $(E)
assert.o: assert.c $(I)stdlib.h $(I)stdio.h $(I)assert.h
atexit.o: atexit.c $(I)stdlib.h $(E)
brk.o: brk.c $(E) $(I)stdlib.h
bsearch.o: bsearch.c $(I)stdlib.h
chdir.o: chdir.c $(I)stdlib.h $(I)string.h $(E)
chdir2.o: chdir2.c $(I)stdlib.h $(ERRNO) $(E)
chdrive.o: chdrive.c $(I)stdlib.h $(E)
core.o: core.c $(I)stdlib.h $(E)
cuserid.o: cuserid.c $(I)stdio.h $(I)stdlib.h $(I)string.h
defext.o: defext.c $(I)stdlib.h $(I)string.h $(E)
dirent.o: dirent.c $(E) $(I)stdlib.h $(I)sys/types.h $(I)sys/stat.h \
                $(I)dirent.h $(I)sys/dirent.h $(I)io.h $(I)string.h $(ERRNO)
div.o: div.s $(I)stdlib.h
dtread.o: dtread.c $(E) $(I)stdlib.h $(I)string.h $(ERRNO) $(I)time.h \
                   $(I)sys/param.h $(I)sys/types.h $(I)sys/dirent.h \
                   $(I)sys/dirtree.h
dtsort.o: dtsort.c $(I)stdlib.h $(I)string.h $(I)sys/types.h $(I)sys/dirent.h \
                   $(I)sys/nls.h $(I)sys/dirtree.h
dtsplit.o: dtsplit.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)sys/param.h \
                     $(I)sys/dirtree.h
envargs.o: envargs.c $(I)stdlib.h $(I)string.h $(E)
execname.o: execname.c $(I)stdlib.h $(E)
filesys.o: filesys.c $(E) $(I)stdlib.h
fnexplod.o: fnexplod.c $(E) $(I)stdlib.h $(I)string.h $(ERRNO) \
                       $(I)sys/param.h
fngetdrv.o: fngetdrv.c $(I)stdlib.h
fnmatch.o: fnmatch.c $(I)string.h $(I)ctype.h $(I)sys/nls.h $(I)fnmatch.h $(E)
fnisabs.o: fnisabs.c $(I)stdlib.h $(I)ctype.h
fnisrel.o: fnisrel.c $(I)stdlib.h $(I)ctype.h
fpathcon.o: fpathcon.c $(I)unistd.h $(I)limits.h $(ERRNO)
ftw.o: ftw.c $(I)stdlib.h $(I)sys/types.h $(I)sys/stat.h $(I)dirent.h \
             $(I)sys/dirent.h $(I)io.h $(I)string.h $(I)sys/param.h \
             $(ERRNO) $(I)ftw.h
fullpat.o: fullpat.c $(I)stdlib.h $(I)stdio.h $(I)string.h $(I)alloca.h \
                     $(I)sys/param.h $(ERRNO) $(E)
getcwd.o: getcwd.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)sys/param.h $(E)
getcwd1.o: getcwd1.c $(I)stdlib.h $(E)
getcwd2.o: getcwd2.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)sys/param.h $(E)
getdrive.o: getdrive.c $(I)stdlib.h $(E)
getegid.o: getegid.c $(I)sys/types.h $(I)unistd.h
getext.o: getext.c $(I)stdlib.h $(I)string.h $(E)
getext2.o: getext2.c $(I)stdlib.h $(I)string.h
geteuid.o: geteuid.c $(I)sys/types.h $(I)unistd.h
getgid.o: getgid.c $(I)sys/types.h $(I)unistd.h
getgrgid.o: getgrgid.c $(I)sys/types.h $(I)grp.h $(I)string.h
getgrnam.o: getgrnam.c $(I)sys/types.h $(I)grp.h $(I)string.h
getgroup.o: getgroup.c $(I)sys/types.h $(I)unistd.h
getlogin.o: getlogin.c $(I)unistd.h $(I)stdio.h $(I)stdlib.h $(I)string.h
getname.o: getname.c $(I)stdlib.h $(I)string.h $(E)
getopt.o: getopt.c $(I)getopt.h $(I)stdio.h $(I)stdlib.h $(I)string.h
getpages.o: getpages.c $(I)stdlib.h
getpass.o: getpass.c $(I)unistd.h
getpass1.o: getpass1.c $(I)stdio.h $(I)stdlib.h $(I)conio.h $(I)pwd.h \
                     $(I)unistd.h
getpass2.o: getpass2.c $(I)unistd.h $(I)sys/ioctl.h
getpgrp.o: getpgrp.c $(I)sys/types.h $(I)unistd.h
getpwuid.o: getpwuid.c $(I)sys/types.h $(I)pwd.h $(E)
getpwnam.o: getpwnam.c $(I)sys/types.h $(I)pwd.h $(ERRNO) $(E)
getuid.o: getuid.c $(I)sys/types.h $(I)unistd.h
getvol.o: getvol.c $(I)stdlib.h $(I)string.h $(I)os2emx.h $(E)
getwd.o: getwd.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)sys/param.h $(E)
int86.o: int86.s $(I)dos.h
labs.o: labs.c $(I)stdlib.h
makepath.o: makepath.c $(I)stdlib.h
memacc.o: memacc.c $(E) $(I)sys/hw.h
mkdir.o: mkdir.c $(E) $(I)stdlib.h $(ERRNO)
os2bad.o: os2bad.c $(I)stdlib.h $(E)
path.o: path.c $(I)string.h $(I)stdlib.h $(ERRNO) $(I)io.h
pathconf.o: pathconf.c $(I)unistd.h $(I)limits.h $(ERRNO)
perror.o: perror.c $(I)stdlib.h
portacc.o: portacc.c $(E) $(I)sys/hw.h
pwd.o: pwd.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)pwd.h $(I)unistd.h $(E)
qsort.o: qsort.c $(I)stdlib.h $(I)memory.h
rand.o: rand.c $(I)stdlib.h $(E)
readkbd.o: readkbd.c $(I)stdlib.h $(E)
remext.o: remext.c $(I)stdlib.h $(I)string.h $(E)
response.o: response.c $(I)stdlib.h $(I)stdio.h $(I)string.h $(E)
rmdir.o: rmdir.c $(E) $(I)stdlib.h $(ERRNO)
sbrk.o: sbrk.c $(E) $(I)stdlib.h
scrsize.o: scrsize.c $(E)
searchen.o: searchen.c $(I)stdlib.h $(I)string.h $(I)io.h
setgid.o: setgid.c $(I)unistd.h $(I)sys/types.h $(ERRNO)
setjmp.o: setjmp.s $(I)setjmp.h
setpgid.o: setpgid.c $(I)sys/types.h $(I)unistd.h $(ERRNO)
setsid.o: setsid.c $(I)sys/types.h $(I)unistd.h $(ERRNO)
setuid.o: setuid.c $(I)unistd.h $(I)sys/types.h $(ERRNO)
sigsetjm.o: sigsetjm.s $(I)setjmp.h
sleep.o: sleep.c $(I)stdlib.h $(E)
sleep2.o: sleep2.c $(I)stdlib.h $(E)
splitarg.o: splitarg.c $(I)stdlib.h $(ERRNO)
splitpat.o: splitpat.c $(I)stdlib.h $(I)string.h
swchar.o: swchar.c $(I)stdlib.h $(E)
sysconf.o: sysconf.c $(I)unistd.h $(I)limits.h $(I)time.h $(ERRNO)
syserr.o: syserr.c
syserrno.o: syserrno.c $(E)
uldiv.o: uldiv.s $(I)stdlib.h
ulimit.o: ulimit.c $(I)stdlib.h $(ERRNO) $(E)
uname.o: uname.c $(I)stdlib.h $(I)string.h $(I)sys/utsname.h
wildcard.o: wildcard.c $(I)stdlib.h $(I)stdio.h $(I)string.h $(E)


$(DSTLIB): abort.o assert.o syserr.o qsort.o getpass.o getpass1.o getpass2.o \
    getegid.o geteuid.o getgid.o getpgrp.o getuid.o \
    setgid.o setpgid.o setsid.o setuid.o \
    ulimit.o atexit.o perror.o rand.o pwd.o getpwuid.o getpwnam.o \
    bsearch.o chdir.o mkdir.o rmdir.o getcwd.o getwd.o \
    getpages.o response.o searchen.o wildcard.o dirent.o alarm.o sleep.o \
    sleep2.o abs.o labs.o getopt.o getgrgid.o getgrnam.o getlogin.o os2bad.o \
    int86.o setjmp.o sigsetjm.o div.o sbrk.o brk.o cuserid.o \
    path.o envargs.o sysconf.o fpathcon.o pathconf.o getgroup.o \
    splitarg.o splitpat.o fnisabs.o remext.o getext.o getext2.o getname.o \
    uldiv.o defext.o fngetdrv.o fullpath.o getcwd1.o getcwd2.o chdir2.o \
    uname.o swchar.o readkbd.o getdrive.o core.o chdrive.o scrsize.o \
    abspath.o syserrno.o filesys.o fnexplod.o fnmatch.o ftw.o getvol.o \
    dtread.o dtsort.o dtsplit.o fnisrel.o makepath.o execname.o \
    memacces.o portacce.o
	-$(AR) d $(DSTLIB) __.SYMDEF
	$(AR) r $(DSTLIB) *.o
	$(AR) s $(DSTLIB)
