IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2005, 2:54:13 PM (21 years ago)
Author:
desonia
Message:

Added SWIG and autoconf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/Makefile

    r1787 r3115  
    1 ###############################################################################
    2 ##
    3 ##  Makefile:   collections
    4 ##
    5 ##  $Revision: 1.6 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-09-11 00:43:54 $
    7 ##
    8 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    9 ###############################################################################
    10 
    11 # Define variable prefix to the top level project - psLib
    12 # This is necessary for definition is Makefile.Globals uses prefix
    13 
    14 ifndef prefix
    15     export prefix=$(shell cd ../..;pwd)
    16 endif
    17 
    18 # Define the two targets to be built
    19 
    20 TARGET_STATIC  = libpslib.a
    21 
    22 # Include the make global definitions for the project
    23 
    24 include ../Makefile.Globals
    25 
    26 # Set CFLAGS used by the implicit rule to compile .c
    27 
    28 CFLAGS := $(CFLAGS_RELOC) -I../sysUtils -I../dataManip -I../collections -I..
    29 
    30 # Define the source objects
    31  
    32 SRC_OBJS = psImage.o \
    33            psImageExtraction.o \
    34            psImageIO.o \
    35            psImageManip.o \
    36            psImageStats.o \
    37            psImageFFT.o \
    38            psImageConvolve.o
    39 
    40 OBJS = $(addprefix makedir/,$(SRC_OBJS))
    41 
    42 HEADERS = $(SRC_OBJS:.o=.h)
    43 
    44 # Define PHONY target "all" which will make all the necessary items
    45 
    46 all: $(TARGET_STATIC)
     1# Makefile.in generated by automake 1.9.1 from Makefile.am.
     2# src/image/Makefile.  Generated from Makefile.in by configure.
     3
     4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
     5# 2003, 2004  Free Software Foundation, Inc.
     6# This Makefile.in is free software; the Free Software Foundation
     7# gives unlimited permission to copy and/or distribute it,
     8# with or without modifications, as long as this notice is preserved.
     9
     10# This program is distributed in the hope that it will be useful,
     11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     13# PARTICULAR PURPOSE.
     14
     15
     16
     17
     18SOURCES = $(libpslibimage_la_SOURCES)
     19
     20srcdir = .
     21top_srcdir = ../..
     22
     23pkgdatadir = $(datadir)/pslib
     24pkglibdir = $(libdir)/pslib
     25pkgincludedir = $(includedir)/pslib
     26top_builddir = ../..
     27am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     28INSTALL = /usr/bin/install -c
     29install_sh_DATA = $(install_sh) -c -m 644
     30install_sh_PROGRAM = $(install_sh) -c
     31install_sh_SCRIPT = $(install_sh) -c
     32INSTALL_HEADER = $(INSTALL_DATA)
     33transform = $(program_transform_name)
     34NORMAL_INSTALL = :
     35PRE_INSTALL = :
     36POST_INSTALL = :
     37NORMAL_UNINSTALL = :
     38PRE_UNINSTALL = :
     39POST_UNINSTALL = :
     40build_triplet = x86_64-unknown-linux-gnu
     41host_triplet = x86_64-unknown-linux-gnu
     42subdir = src/image
     43DIST_COMMON = $(pslibinclude_HEADERS) $(srcdir)/Makefile.am \
     44        $(srcdir)/Makefile.in
     45ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     46am__aclocal_m4_deps = $(top_srcdir)/configure.in
     47am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     48        $(ACLOCAL_M4)
     49mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     50CONFIG_HEADER = $(top_builddir)/src/config.h
     51CONFIG_CLEAN_FILES =
     52LTLIBRARIES = $(noinst_LTLIBRARIES)
     53libpslibimage_la_LIBADD =
     54am_libpslibimage_la_OBJECTS = psImage.lo psImageExtraction.lo \
     55        psImageIO.lo psImageManip.lo psImageStats.lo psImageFFT.lo \
     56        psImageConvolve.lo
     57libpslibimage_la_OBJECTS = $(am_libpslibimage_la_OBJECTS)
     58DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
     59depcomp = $(SHELL) $(top_srcdir)/depcomp
     60am__depfiles_maybe = depfiles
     61COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     62        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     63LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
     64        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     65        $(AM_CFLAGS) $(CFLAGS)
     66CCLD = $(CC)
     67LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     68        $(AM_LDFLAGS) $(LDFLAGS) -o $@
     69SOURCES = $(libpslibimage_la_SOURCES)
     70DIST_SOURCES = $(libpslibimage_la_SOURCES)
     71am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     72am__vpath_adj = case $$p in \
     73    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     74    *) f=$$p;; \
     75  esac;
     76am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     77am__installdirs = "$(DESTDIR)$(pslibincludedir)"
     78pslibincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     79HEADERS = $(pslibinclude_HEADERS)
     80ETAGS = etags
     81CTAGS = ctags
     82DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     83ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9
     84AMDEP_FALSE = #
     85AMDEP_TRUE =
     86AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar
     87AR = ar
     88AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf
     89AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader
     90AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9
     91AWK = gawk
     92CC = gcc
     93CCDEPMODE = depmode=gcc3
     94CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE   -I/usr/include -I/usr/include/libxml2
     95CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config
     96CPP = gcc -E
     97CPPFLAGS =
     98CXX = g++
     99CXXCPP = g++ -E
     100CXXDEPMODE = depmode=gcc3
     101CXXFLAGS = -g -O2
     102CYGPATH_W = echo
     103DEFS = -DHAVE_CONFIG_H
     104DEPDIR = .deps
     105ECHO = echo
     106ECHO_C =
     107ECHO_N = -n
     108ECHO_T =
     109EGREP = grep -E
     110EXEEXT =
     111F77 = g77
     112FFLAGS = -fno-second-underscore -O -fno-f2c
     113GSL_CONFIG = /usr/bin/gsl-config
     114INSTALL_DATA = ${INSTALL} -m 644
     115INSTALL_PROGRAM = ${INSTALL}
     116INSTALL_SCRIPT = ${INSTALL}
     117INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
     118LDFLAGS =
     119LIBOBJS =
     120LIBS =
     121LIBTOOL = $(SHELL) $(top_builddir)/libtool
     122LN_S = ln -s
     123LTLIBOBJS =
     124MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo
     125OBJEXT = o
     126PACKAGE = pslib
     127PACKAGE_BUGREPORT =
     128PACKAGE_NAME =
     129PACKAGE_STRING =
     130PACKAGE_TARNAME =
     131PACKAGE_VERSION =
     132PATH_SEPARATOR = :
     133PERL = /usr/bin/perl
     134PSLIB_CFLAGS = -I${prefix}/include
     135PSLIB_LIBS = -L${exec_prefix}/lib -lpslib   -lcfitsio  -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm
     136RANLIB = ranlib
     137SET_MAKE =
     138SHELL = /bin/sh
     139STRIP = strip
     140SWIG = /usr/bin/swig
     141VERSION = 1.5
     142XML_CONFIG = /usr/bin/xml2-config
     143ac_ct_AR = ar
     144ac_ct_CC = gcc
     145ac_ct_CXX = g++
     146ac_ct_F77 = g77
     147ac_ct_RANLIB = ranlib
     148ac_ct_STRIP = strip
     149am__fastdepCC_FALSE = #
     150am__fastdepCC_TRUE =
     151am__fastdepCXX_FALSE = #
     152am__fastdepCXX_TRUE =
     153am__include = include
     154am__leading_dot = .
     155am__quote =
     156am__tar = ${AMTAR} chof - "$$tardir"
     157am__untar = ${AMTAR} xf -
     158bindir = ${exec_prefix}/bin
     159build = x86_64-unknown-linux-gnu
     160build_alias =
     161build_cpu = x86_64
     162build_os = linux-gnu
     163build_vendor = unknown
     164datadir = ${prefix}/share
     165exec_prefix = ${prefix}
     166host = x86_64-unknown-linux-gnu
     167host_alias =
     168host_cpu = x86_64
     169host_os = linux-gnu
     170host_vendor = unknown
     171includedir = ${prefix}/include
     172infodir = ${prefix}/info
     173install_sh = /home/desonia/panstarrs/psLib/install-sh
     174libdir = ${exec_prefix}/lib
     175libexecdir = ${exec_prefix}/libexec
     176localstatedir = ${prefix}/var
     177mandir = ${prefix}/man
     178mkdir_p = mkdir -p --
     179oldincludedir = /usr/include
     180prefix = /home/desonia/panstarrs/psLib
     181program_transform_name = s,x,x,
     182sbindir = ${exec_prefix}/sbin
     183sharedstatedir = ${prefix}/com
     184sysconfdir = ${prefix}/etc
     185target_alias =
     186
     187#Makefile for image functions of psLib
     188#
     189INCLUDES = \
     190        -I$(top_srcdir)/src/astronomy \
     191        -I$(top_srcdir)/src/collections \
     192        -I$(top_srcdir)/src/dataManip \
     193        -I$(top_srcdir)/src/fileUtils \
     194        -I$(top_srcdir)/src/sysUtils \
     195        $(all_includes)
     196
     197noinst_LTLIBRARIES = libpslibimage.la
     198libpslibimage_la_SOURCES = \
     199        psImage.c \
     200        psImageExtraction.c \
     201        psImageIO.c \
     202        psImageManip.c \
     203        psImageStats.c \
     204        psImageFFT.c \
     205        psImageConvolve.c
     206
     207BUILT_SOURCES = psImageErrors.h
     208EXTRA_DIST = psImageErrors.dat psImageErrors.h
     209pslibincludedir = $(includedir)/pslib
     210pslibinclude_HEADERS = \
     211        psImage.h \
     212        psImageExtraction.h \
     213        psImageIO.h \
     214        psImageManip.h \
     215        psImageStats.h \
     216        psImageFFT.h \
     217        psImageConvolve.h
     218
     219all: $(BUILT_SOURCES)
     220        $(MAKE) $(AM_MAKEFLAGS) all-am
     221
     222.SUFFIXES:
     223.SUFFIXES: .c .lo .o .obj
     224$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
     225        @for dep in $?; do \
     226          case '$(am__configure_deps)' in \
     227            *$$dep*) \
     228              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
     229                && exit 0; \
     230              exit 1;; \
     231          esac; \
     232        done; \
     233        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/image/Makefile'; \
     234        cd $(top_srcdir) && \
     235          $(AUTOMAKE) --gnu  src/image/Makefile
     236.PRECIOUS: Makefile
     237Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     238        @case '$?' in \
     239          *config.status*) \
     240            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
     241          *) \
     242            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
     243            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     244        esac;
     245
     246$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     247        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     248
     249$(top_srcdir)/configure:  $(am__configure_deps)
     250        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     251$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
     252        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
     253
     254clean-noinstLTLIBRARIES:
     255        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
     256        @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     257          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
     258          test "$$dir" != "$$p" || dir=.; \
     259          echo "rm -f \"$${dir}/so_locations\""; \
     260          rm -f "$${dir}/so_locations"; \
     261        done
     262libpslibimage.la: $(libpslibimage_la_OBJECTS) $(libpslibimage_la_DEPENDENCIES)
     263        $(LINK)  $(libpslibimage_la_LDFLAGS) $(libpslibimage_la_OBJECTS) $(libpslibimage_la_LIBADD) $(LIBS)
     264
     265mostlyclean-compile:
     266        -rm -f *.$(OBJEXT)
     267
     268distclean-compile:
     269        -rm -f *.tab.c
     270
     271include ./$(DEPDIR)/psImage.Plo
     272include ./$(DEPDIR)/psImageConvolve.Plo
     273include ./$(DEPDIR)/psImageExtraction.Plo
     274include ./$(DEPDIR)/psImageFFT.Plo
     275include ./$(DEPDIR)/psImageIO.Plo
     276include ./$(DEPDIR)/psImageManip.Plo
     277include ./$(DEPDIR)/psImageStats.Plo
     278
     279.c.o:
     280        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     281        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     282#       source='$<' object='$@' libtool=no \
     283#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     284#       $(COMPILE) -c $<
     285
     286.c.obj:
     287        if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
     288        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     289#       source='$<' object='$@' libtool=no \
     290#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     291#       $(COMPILE) -c `$(CYGPATH_W) '$<'`
     292
     293.c.lo:
     294        if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
     295        then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
     296#       source='$<' object='$@' libtool=yes \
     297#       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
     298#       $(LTCOMPILE) -c -o $@ $<
     299
     300mostlyclean-libtool:
     301        -rm -f *.lo
     302
     303clean-libtool:
     304        -rm -rf .libs _libs
     305
     306distclean-libtool:
     307        -rm -f libtool
     308uninstall-info-am:
     309install-pslibincludeHEADERS: $(pslibinclude_HEADERS)
     310        @$(NORMAL_INSTALL)
     311        test -z "$(pslibincludedir)" || $(mkdir_p) "$(DESTDIR)$(pslibincludedir)"
     312        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     313          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     314          f=$(am__strip_dir) \
     315          echo " $(pslibincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     316          $(pslibincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pslibincludedir)/$$f"; \
     317        done
     318
     319uninstall-pslibincludeHEADERS:
     320        @$(NORMAL_UNINSTALL)
     321        @list='$(pslibinclude_HEADERS)'; for p in $$list; do \
     322          f=$(am__strip_dir) \
     323          echo " rm -f '$(DESTDIR)$(pslibincludedir)/$$f'"; \
     324          rm -f "$(DESTDIR)$(pslibincludedir)/$$f"; \
     325        done
     326
     327ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     328        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     329        unique=`for i in $$list; do \
     330            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     331          done | \
     332          $(AWK) '    { files[$$0] = 1; } \
     333               END { for (i in files) print i; }'`; \
     334        mkid -fID $$unique
     335tags: TAGS
     336
     337TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     338                $(TAGS_FILES) $(LISP)
     339        tags=; \
     340        here=`pwd`; \
     341        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     342        unique=`for i in $$list; do \
     343            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     344          done | \
     345          $(AWK) '    { files[$$0] = 1; } \
     346               END { for (i in files) print i; }'`; \
     347        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     348          test -n "$$unique" || unique=$$empty_fix; \
     349          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     350            $$tags $$unique; \
     351        fi
     352ctags: CTAGS
     353CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     354                $(TAGS_FILES) $(LISP)
     355        tags=; \
     356        here=`pwd`; \
     357        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     358        unique=`for i in $$list; do \
     359            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     360          done | \
     361          $(AWK) '    { files[$$0] = 1; } \
     362               END { for (i in files) print i; }'`; \
     363        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     364          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     365             $$tags $$unique
     366
     367GTAGS:
     368        here=`$(am__cd) $(top_builddir) && pwd` \
     369          && cd $(top_srcdir) \
     370          && gtags -i $(GTAGS_ARGS) $$here
     371
     372distclean-tags:
     373        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     374
     375distdir: $(DISTFILES)
     376        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
     377        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     378        list='$(DISTFILES)'; for file in $$list; do \
     379          case $$file in \
     380            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
     381            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
     382          esac; \
     383          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
     384          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
     385          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
     386            dir="/$$dir"; \
     387            $(mkdir_p) "$(distdir)$$dir"; \
     388          else \
     389            dir=''; \
     390          fi; \
     391          if test -d $$d/$$file; then \
     392            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
     393              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
     394            fi; \
     395            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
     396          else \
     397            test -f $(distdir)/$$file \
     398            || cp -p $$d/$$file $(distdir)/$$file \
     399            || exit 1; \
     400          fi; \
     401        done
     402check-am: all-am
     403check: $(BUILT_SOURCES)
     404        $(MAKE) $(AM_MAKEFLAGS) check-am
     405all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     406installdirs:
     407        for dir in "$(DESTDIR)$(pslibincludedir)"; do \
     408          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     409        done
     410install: $(BUILT_SOURCES)
     411        $(MAKE) $(AM_MAKEFLAGS) install-am
     412install-exec: install-exec-am
     413install-data: install-data-am
     414uninstall: uninstall-am
     415
     416install-am: all-am
     417        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     418
     419installcheck: installcheck-am
     420install-strip:
     421        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
     422          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
     423          `test -z '$(STRIP)' || \
     424            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
     425mostlyclean-generic:
     426
     427clean-generic:
     428
     429distclean-generic:
     430        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
     431
     432maintainer-clean-generic:
     433        @echo "This command is intended for maintainers to use"
     434        @echo "it deletes files that may require special tools to rebuild."
     435        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
     436clean: clean-am
     437
     438clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     439        mostlyclean-am
     440
     441distclean: distclean-am
     442        -rm -rf ./$(DEPDIR)
     443        -rm -f Makefile
     444distclean-am: clean-am distclean-compile distclean-generic \
     445        distclean-libtool distclean-tags
     446
     447dvi: dvi-am
     448
     449dvi-am:
     450
     451html: html-am
     452
     453info: info-am
     454
     455info-am:
     456
     457install-data-am: install-pslibincludeHEADERS
     458
     459install-exec-am:
     460
     461install-info: install-info-am
     462
     463install-man:
     464
     465installcheck-am:
     466
     467maintainer-clean: maintainer-clean-am
     468        -rm -rf ./$(DEPDIR)
     469        -rm -f Makefile
     470maintainer-clean-am: distclean-am maintainer-clean-generic
     471
     472mostlyclean: mostlyclean-am
     473
     474mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     475        mostlyclean-libtool
     476
     477pdf: pdf-am
     478
     479pdf-am:
     480
     481ps: ps-am
     482
     483ps-am:
     484
     485uninstall-am: uninstall-info-am uninstall-pslibincludeHEADERS
     486
     487.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
     488        clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     489        distclean-compile distclean-generic distclean-libtool \
     490        distclean-tags distdir dvi dvi-am html html-am info info-am \
     491        install install-am install-data install-data-am install-exec \
     492        install-exec-am install-info install-info-am install-man \
     493        install-pslibincludeHEADERS install-strip installcheck \
     494        installcheck-am installdirs maintainer-clean \
     495        maintainer-clean-generic mostlyclean mostlyclean-compile \
     496        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     497        tags uninstall uninstall-am uninstall-info-am \
     498        uninstall-pslibincludeHEADERS
     499
    47500
    48501psImageErrors.h: psImageErrors.dat
    49         perl ../parseErrorCodes.pl --data=$? $@
    50 
    51 # Rule to make static library
    52 
    53 libpslib.a: $(OBJS)
    54 # The ar option -r is to add/replace object and -s is to create
    55 # a symbol table in the archive
    56         $(AR) rcs ../$@ $(OBJS)
    57 
    58 # Define PHONY target "install" which will install necessary files
    59 
    60 install: $(TARGET_STATIC)
    61         install $(HEADERS) $(includedir)
    62 
    63 # Define PHONY target "distclean" which will cleanup the distribution
    64 
    65 distclean:      clean
    66         $(RM) ../$(TARGET_STATIC)
    67 
    68 # Define PHONY target "clean" which will cleanup the development area
    69 
    70 clean:
    71         @echo "    Deleting intermediate files for 'collections'"
    72         $(RM) $(OBJS) *.lint $(SRC_OBJS:.o=.i)
    73 
    74 cleandep:
    75         $(RM) $(OBJS:.o=.d)
    76 
    77 %.lint: %.c
    78         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    79 
    80 %.i: %.c
    81         $(CC) -E $(CFLAGS) -o $@ $<
    82 
    83 makedir/%.o: %.c
    84         $(CC) -c $(CFLAGS) -o $@ $<
    85 
    86 makedir/%.d: %.c
    87         $(CC) -MM $(CFLAGS) $< > $@.tmp
    88         sed 's|\($*\)\.o[ :]*|\1.o $@ : |g' $@.tmp > $@
    89         $(RM) -f $@.tmp
    90 
    91 include $(OBJS:.o=.d)
     502        perl $(top_srcdir)/src/parseErrorCodes.pl --data=$? $@
     503# Tell versions [3.59,3.63) of GNU make to not export all variables.
     504# Otherwise a system limit (for SysV at least) may be exceeded.
     505.NOEXPORT:
Note: See TracChangeset for help on using the changeset viewer.