"Fossies" - the Fresh Open Source Software Archive

Member "xpm-3.4k/lib/Makefile.noX" (19 Mar 1998, 3465 Bytes) of package /linux/misc/old/xpm-3.4k.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 #  Copyright (C) 1989-95 GROUPE BULL
    3 #
    4 #  Permission is hereby granted, free of charge, to any person obtaining a copy
    5 #  of this software and associated documentation files (the "Software"), to
    6 #  deal in the Software without restriction, including without limitation the
    7 #  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
    8 #  sell copies of the Software, and to permit persons to whom the Software is
    9 #  furnished to do so, subject to the following conditions:
   10 #
   11 #  The above copyright notice and this permission notice shall be included in
   12 #  all copies or substantial portions of the Software.
   13 #
   14 #  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   15 #  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   16 #  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
   17 #  GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
   18 #  AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
   19 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   20 #
   21 #  Except as contained in this notice, the name of GROUPE BULL shall not be
   22 #  used in advertising or otherwise to promote the sale, use or other dealings
   23 #  in this Software without prior written authorization from GROUPE BULL.
   24 #
   25 
   26 #
   27 # XPM Makefile - Arnaud LE HORS
   28 #
   29 
   30 # if your system doesn't provide strcasecmp add -DNEED_STRCASECMP
   31 # if your system doesn't provide strdup add -DNEED_STRDUP
   32 # if your system doesn't provide pipe add -DNO_ZPIPE
   33 # if on your system sprintf doesn't return the number of bytes transmitted
   34 # add -DVOID_SPRINTF
   35 DEFINES =
   36 
   37 # where the library will be installed
   38 DESTLIBDIR=/usr/local/lib/X11
   39 # where the include file (pxm.h) will be installed
   40 DESTINCLUDEDIR=/usr/local/include/X11
   41 
   42 CC = cc
   43 AR = ar r
   44 RANLIB = ranlib
   45 RM = rm -f
   46 # on sysV, define this as cp.
   47 INSTALL = install -c
   48 MKDIRHIER = mkdir
   49 LN = ln -s
   50 
   51 CDEBUGFLAGS= -O
   52 
   53 OBJS= data.o create.o misc.o rgb.o scan.o parse.o hashtab.o \
   54       WrFFrP.o RdFToP.o CrPFrDat.o CrDatFrP.o \
   55       WrFFrI.o RdFToI.o CrIFrDat.o CrDatFrI.o \
   56       CrIFrBuf.o CrPFrBuf.o CrBufFrI.o CrBufFrP.o \
   57       RdFToDat.o WrFFrDat.o \
   58       Attrib.o CrIFrP.o CrPFrI.o Image.o Info.o RdFToBuf.o WrFFrBuf.o
   59 
   60 CFLAGS= $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
   61 
   62 all: ../X11/xpm.h libXpm.a
   63 
   64 clean: 
   65 	$(RM) *.o libXpm.a
   66 
   67 libXpm.a: $(OBJS)
   68 	$(AR) libXpm.a $(OBJS)
   69 	$(RANLIB) libXpm.a
   70 
   71 install:
   72 	$(INSTALL) -m 0664 libXpm.a $(DESTLIBDIR)
   73 	cd $(DESTLIBDIR); $(RANLIB) libXpm.a
   74 	-mkdir $(DESTINCLUDEDIR)
   75 	-chmod ugo+rx $(DESTINCLUDEDIR)
   76 	$(INSTALL) -m 0444 xpm.h $(DESTINCLUDEDIR)
   77 
   78 ../X11/xpm.h: xpm.h
   79 	@if [ -d ../X11 ]; then set +x; \
   80 	else (set -x; $(MKDIRHIER) ../X11); fi
   81 	$(RM) ../X11/xpm.h; \
   82 	$(LN) ../lib/xpm.h ../X11
   83 
   84 # Other dependencies.
   85 CrBufFrI.o:  XpmI.h xpm.h
   86 CrBufFrP.o:  XpmI.h xpm.h
   87 CrDatFI.o:  XpmI.h xpm.h
   88 CrDatFP.o:  XpmI.h xpm.h
   89 CrIFrBuf.o:  XpmI.h xpm.h
   90 CrIFrDat.o:  XpmI.h xpm.h
   91 CrPFrBuf.o:  XpmI.h xpm.h
   92 CrPFrDat.o:  XpmI.h xpm.h
   93 RdFToDat.o:  XpmI.h xpm.h
   94 RdFToI.o:  XpmI.h xpm.h
   95 RdFToP.o:  XpmI.h xpm.h
   96 WrFFrDat.o:  XpmI.h xpm.h
   97 WrFFrI.o:  XpmI.h xpm.h
   98 WrFFrP.o:  XpmI.h xpm.h
   99 create.o:  XpmI.h xpm.h
  100 data.o:  XpmI.h xpm.h
  101 hashtab.o:  XpmI.h xpm.h
  102 misc.o:  XpmI.h xpm.h
  103 parse.o:  XpmI.h xpm.h
  104 rgb.o:  XpmI.h xpm.h
  105 scan.o:  XpmI.h xpm.h
  106 Attrib.o:  XpmI.h xpm.h
  107 CrIFrP.o:  XpmI.h xpm.h
  108 CrPFrI.o:  XpmI.h xpm.h
  109 Image.o:  XpmI.h xpm.h
  110 Info.o:  XpmI.h xpm.h
  111 RdFToBuf.o:  XpmI.h xpm.h
  112 WrFFrBuf.o:  XpmI.h xpm.h