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

local: ;

abort.o: abort.c $(I)stdlib.h $(SIGNAL) $(I)emx/startup.h
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 $(I)emx/syscalls.h $(I)sys/nls.h
alarm.o: alarm.c $(I)stdlib.h $(I)emx/syscalls.h
assert.o: assert.c $(I)stdlib.h $(I)stdio.h $(I)assert.h
atexit.o: atexit.c $(I)stdlib.h $(I)emx/startup.h
brk.o: brk.c $(I)emx/syscalls.h $(I)stdlib.h
bsearch.o: bsearch.c $(I)stdlib.h
chdir.o: chdir.c $(I)stdlib.h $(I)string.h $(I)emx/syscalls.h $(I)emx/io.h
chdir2.o: chdir2.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)emx/syscalls.h \
		$(I)emx/io.h
chdrive.o: chdrive.c $(I)stdlib.h $(I)emx/syscalls.h
core.o: core.c $(I)stdlib.h $(I)emx/syscalls.h
cuserid.o: cuserid.c $(I)stdio.h $(I)stdlib.h $(I)string.h
defext.o: defext.c $(I)stdlib.h $(I)string.h $(I)sys/nls.h
dirent.o: dirent.c $(I)emx/syscalls.h $(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) $(I)emx/io.h
div.o: div.s $(ASM386H)
dtread.o: dtread.c $(I)emx/syscalls.h $(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 $(I)emx/time.h $(I)emx/io.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 $(I)emx/io.h
envargs.o: envargs.c $(I)stdlib.h $(I)string.h $(I)emx/startup.h
execname.o: execname.c $(I)stdlib.h $(I)emx/syscalls.h
filesys.o: filesys.c $(I)emx/syscalls.h $(I)stdlib.h
fnexplod.o: fnexplod.c $(I)emx/syscalls.h $(I)stdlib.h $(I)string.h $(ERRNO) \
		$(I)sys/param.h $(S)types.h $(S)stat.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
fnisabs.o: fnisabs.c $(I)stdlib.h $(I)ctype.h
fnisrel.o: fnisrel.c $(I)stdlib.h $(I)ctype.h
fnslashi.o: fnslashi.c $(I)stdlib.h $(I)sys/nls.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 $(I)emx/io.h
fullpath.o: fullpath.c $(I)stdlib.h $(I)stdio.h $(I)string.h $(I)sys/param.h \
		$(I)sys/nls.h $(ERRNO) $(I)emx/syscalls.h $(I)emx/io.h
getcwd.o: getcwd.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)sys/param.h \
		$(I)emx/syscalls.h
getcwd1.o: getcwd1.c $(I)stdlib.h $(I)emx/syscalls.h
getcwd2.o: getcwd2.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)sys/param.h \
		$(I)emx/syscalls.h
getdrive.o: getdrive.c $(I)stdlib.h $(I)emx/syscalls.h
getegid.o: getegid.c $(I)sys/types.h $(I)unistd.h
getext.o: getext.c $(I)stdlib.h $(I)string.h $(I)sys/nls.h
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 $(I)sys/nls.h
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 $(I)emx/pwd.h
getpwnam.o: getpwnam.c $(I)stdlib.h $(I)sys/types.h $(I)pwd.h $(ERRNO) \
		$(I)emx/pwd.h
getuid.o: getuid.c $(I)stdlib.h $(I)sys/types.h $(I)unistd.h
getvol.o: getvol.c $(I)stdlib.h $(I)string.h $(I)os2emx.h $(I)emx/syscalls.h \
		$(I)emx/thread.h
getwd.o: getwd.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)sys/param.h \
		$(I)emx/syscalls.h
glob.o: glob.c $(I)stdlib.h $(I)string.h $(ERRNO) $(I)unistd.h $(I)fnmatch.h \
		$(I)glob.h $(I)sys/types.h $(I)dirent.h $(I)sys/dirent.h \
		$(I)sys/stat.h $(I)sys/param.h
int86.o: int86.s $(ASM386H)
labs.o: labs.c $(I)stdlib.h
makepath.o: makepath.c $(I)stdlib.h $(I)sys/nls.h
memacc.o: memacc.c $(I)emx/syscalls.h $(I)sys/hw.h
mkdir.o: mkdir.c $(I)emx/syscalls.h $(I)stdlib.h $(ERRNO)
os2bad.o: os2bad.c $(I)stdlib.h $(I)emx/syscalls.h
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 $(I)emx/syscalls.h $(I)sys/hw.h
pwd.o: pwd.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)pwd.h $(I)unistd.h \
		$(I)emx/pwd.h
qsort.o: qsort.c $(I)stdlib.h $(I)memory.h
rand.o: rand.c $(I)stdlib.h $(I)emx/thread.h
readkbd.o: readkbd.c $(I)stdlib.h $(I)emx/syscalls.h
remext.o: remext.c $(I)stdlib.h $(I)string.h $(I)sys/nls.h
response.o: response.c $(I)stdlib.h $(I)stdio.h $(I)string.h $(I)emx/startup.h
rmdir.o: rmdir.c $(I)emx/syscalls.h $(I)stdlib.h $(ERRNO)
sbrk.o: sbrk.c $(I)emx/syscalls.h $(I)stdlib.h
scrsize.o: scrsize.c $(I)emx/syscalls.h
searchen.o: searchen.c $(I)stdlib.h $(I)string.h $(I)io.h $(I)emx/io.h
setgid.o: setgid.c $(I)unistd.h $(I)sys/types.h $(ERRNO)
setjmp.o: setjmp.s $(ASM386H)
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 $(ASM386H)
sleep.o: sleep.c $(I)stdlib.h $(I)emx/syscalls.h
sleep2.o: sleep2.c $(I)stdlib.h $(I)emx/syscalls.h
splitarg.o: splitarg.c $(I)stdlib.h $(ERRNO)
splitpat.o: splitpat.c $(I)stdlib.h $(I)string.h $(I)sys/nls.h
swchar.o: swchar.c $(I)stdlib.h $(I)emx/syscalls.h
sysconf.o: sysconf.c $(I)unistd.h $(I)limits.h $(I)time.h $(ERRNO)
syserr.o: syserr.c
syserrno.o: syserrno.c $(I)emx/syscalls.h
uflags.o: uflags.c $(I)emx/syscalls.h $(S)uflags.h
uldiv.o: uldiv.s $(ASM386H)
ulimit.o: ulimit.c $(I)stdarg.h $(I)stdlib.h $(I)ulimit.h $(S)ulimit.h \
		$(ERRNO) $(I)emx/syscalls.h
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 \
		$(I)emx/syscalls.h $(I)emx/startup.h


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