home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / kernex32.zip / mwdd_src.zip / 32bits / ext2-os2 / fsh32 / makefile < prev   
Makefile  |  1997-07-15  |  2KB  |  83 lines

  1. #
  2. # $Header: d:\\32bits\\ext2-os2\\fsh32\\rcs\\makefile,v 1.4 1997/03/15 17:52:54 Willm Exp $
  3. #
  4.  
  5. # 32 bits OS/2 device driver and IFS support. Provides 32 bits kernel
  6. # services (DevHelp) and utility functions to 32 bits OS/2 ring 0 code
  7. # (device drivers and installable file system drivers).
  8. # Copyright (C) 1995, 1996, 1997  Matthieu WILLM
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; either version 2 of the License, or
  13. # (at your option) any later version.
  14. #
  15. # This program is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with this program; if not, write to the Free Software
  22. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  23.  
  24. #
  25. # Path definitions
  26. #
  27. !include ../makefile.inc
  28.  
  29. CC        = icc -q
  30. CFLAGS    = -Ge- -Gs- -Gr+ -Rn -Ss+ -O -G5
  31. #CFLAGS   = -Ge- -Gs- -Gr+ -Rn -Ss+ -Ti+
  32.  
  33. AS        = alp
  34. ASFLAGS   = -Mb -Li
  35.  
  36. CDEFINES  = -DFSD32 -DDYNAMIC_DEVHELP
  37. CINCLUDES = -I.                       \
  38.             -I../../include               \
  39.             -I$(VACPATH)/include      \
  40.             -I$(VACPATH)/include/os2  \
  41.             -I\os2\security\dev\h     \
  42.             -I$(DDKPATH)/h
  43.  
  44. ADEFINES   = -D:FSD32
  45. AINCLUDES = -Fdi:$(DDKPATH)\inc -Fdi:..\include\os2
  46.  
  47. .c.obj:
  48.         @echo $<
  49.         @$(CC) -c $(CFLAGS) $(CDEFINES) -Fa$(@:.obj=.s) -Fo$@ $(CINCLUDES) $<
  50.  
  51. .asm.obj:
  52.         @echo $<
  53.         @$(AS) $(ASFLAGS) $(ADEFINES) $(AINCLUDES) $< -Fo:$@ -Fl:$(@:.obj=.lst)
  54.  
  55. all:fsh32.lib
  56.  
  57. AOBJS = fs_init.obj              \
  58.         fs_thunks.obj            \
  59.         fsh32_devioctl.obj       \
  60.         fsh32_dovolio.obj        \
  61.         fsh32_findduphvpb.obj    \
  62.         fsh32_forcenoswap.obj    \
  63.         fsh32_getvolparm.obj     \
  64.         fsh32_qsysinfo.obj       \
  65.         fsh32_addshare.obj       \
  66.         fsh32_removeshare.obj    \
  67.         fsh32_setvolume.obj      \
  68.         fsh32_ioboost.obj        \
  69.         fsh32_segalloc.obj
  70.  
  71. COBJS =
  72.  
  73. fsh32.lib : $(AOBJS)
  74.         !ilib /noi /noe /q $@ -+$?;
  75.  
  76.  
  77. clean:
  78.         -del *.obj
  79.         -del *.s
  80.         -del *.lst
  81.         -del *.lib
  82.         -del *.bak
  83.