home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / share / Os2 / varios / APACHE / MAKEFILE < prev    next >
Encoding:
Text File  |  1996-02-17  |  854 b   |  56 lines

  1. # For gcc
  2. CC= gcc
  3. # For ANSI compilers
  4. #CC= cc
  5.  
  6. #For Optimization
  7. #CFLAGS= -O2
  8. #For debugging
  9. CFLAGS= -g
  10. # For SCO ODT
  11. #EXTRA_LIBS= -lcrypt_i
  12. # For OS/2 port
  13. EXTRA_LIBS= -llibufc
  14.  
  15. RM= /bin/rm -f
  16. #--- You shouldn't have to edit anything else. ---
  17.  
  18. .c.o: 
  19.     $(CC) -c $(CFLAGS) $<
  20.  
  21. all: htpasswd unescape inc2shtml
  22.  
  23. ibm: $(OBJS)
  24.     make all CC=gcc
  25.  
  26. sun: $(OBJS)
  27.     make all CC=gcc
  28.  
  29. hp: $(OBJS)
  30.     make all CC=gcc
  31.  
  32. sgi: $(OBJS)
  33.     make all CC=cc
  34.  
  35. decmips: $(OBJS)
  36.     make all CC=cc
  37.  
  38. decaxp: $(OBJS)
  39.     make all CC=cc
  40.  
  41. tar: htpasswd unescape
  42.     $(RM) htpasswd unescape
  43.  
  44. htpasswd: htpasswd.c
  45.     $(CC) $(CFLAGS) htpasswd.c -o htpasswd $(EXTRA_LIBS)
  46.  
  47. unescape: unescape.c
  48.     $(CC) $(CFLAGS) unescape.c -o unescape
  49.  
  50. inc2shtml: inc2shtml.c
  51.     $(CC) $(CFLAGS) inc2shtml.c -o inc2shtml
  52.     
  53. clean:
  54.     rm -f htpasswd unescape inc2shtml
  55.  
  56.