"Fossies" - the Fresh Open Source Software Archive

Member "spnegohelp/Makefile" (10 Apr 2005, 961 Bytes) of package /linux/www/apache_httpd_modules/old/modgssapache-0.0.5.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # Linux:
    3 # -D__LITTLE_ENDIAN__ 
    4 # Solaris:
    5 # -D__BIG_ENDIAN__
    6 #
    7 
    8 CFLAGS = -fpic
    9 
   10 LIB = libspnegohelp.a
   11 SLIB = libspnegohelp.so
   12 
   13 OBJS = derparse.o  spnego.o  spnegohelp.o  spnegoparse.o
   14 
   15 all: 
   16 	make `uname`
   17 
   18 debug:
   19 	make CFLAGS="$(CFLAGS) -DDEBUG" `uname`
   20 
   21 SunOS:
   22 	make CFLAGS="$(CFLAGS) -D__BIG_ENDIAN__" libs
   23 
   24 AIX:
   25 	make CFLAGS="$(CFLAGS) -D__BIG_ENDIAN__" libs
   26 
   27 Linux:
   28 	make CFLAGS="$(CFLAGS) -D__LITTLE_ENDIAN__" libs
   29 
   30 libs: $(LIB) $(SLIB)
   31 
   32 $(LIB): $(OBJS)
   33 	ar -r $(LIB) $(OBJS)
   34 
   35 $(SLIB): $(OBJS)
   36 	gcc --shared -o $(SLIB) $(OBJS)
   37 
   38 derparse.o: derparse.c derparse.h spnego.h Makefile
   39 	gcc -c $(CFLAGS) derparse.c -o $@
   40 
   41 spnego.o: spnego.c derparse.h spnego.h spnegoparse.h Makefile
   42 	gcc -c $(CFLAGS) spnego.c -o $@
   43 
   44 spnegoparse.o: spnegoparse.c derparse.h spnego.h spnegoparse.h Makefile
   45 	gcc -c $(CFLAGS) spnegoparse.c -o $@
   46 
   47 spnegohelp.o: spnegohelp.c spnego.h spnegohelp.h Makefile
   48 	gcc -c $(CFLAGS) spnegohelp.c -o $@
   49 
   50 clean:
   51 	rm $(OBJS) $(LIB) $(SLIB)