Changeset 3115 for trunk/psLib/src/Makefile
- Timestamp:
- Feb 2, 2005, 2:54:13 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/Makefile
r3054 r3115 1 ############################################################################### 2 ## 3 ## Makefile: psLib 4 ## 5 ## $Revision: 1.20 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 01:15:21 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 # Define variable prefix to the top level project - psLib 13 # This is necessary for definition in Makefile.Globals 14 15 ifndef prefix 16 export prefix=$(shell cd ..;pwd) 17 endif 18 19 # Include the make global definitions for the project 20 21 include Makefile.Globals 22 23 # Detect and save the CVS for this makefile 24 25 NAME:= "$Name: not supported by cvs2svn $ " 26 ifeq ($(NAME), "ame: $ ") 27 VERSION:= ": Project Version: Unknown " 28 else 29 VERSION:= ": Project Version: $(NAME) " 30 endif 31 32 # Define the target to build 33 34 ALLTARGETS = sysUtils collections image dataManip astronomy fileUtils 35 36 TARGET_DYNAMIC = libpslib.$(DLL) 37 TARGET_STATIC = libpslib.a 38 39 # Define the installation targets 40 41 INSTALLTARGETS = installSysUtils installCollections installImage installDataManip installAstronomy installFileUtils 42 43 # Define the clean up targets 44 45 CLEANTARGETS = cleanSysUtils cleanCollections cleanImage cleanDataManip cleanAstronomy cleanFileUtils 46 47 CLEANDEPTARGETS = cleandepSysUtils cleandepCollections cleandepImage cleandepDataManip cleandepAstronomy cleandepFileUtils 48 49 # Define the distribution clean up targets 50 51 DISTCLEANTARGETS = distcleanSysUtils distcleanCollections distcleanImage distcleanDataManip distcleanAstronomy distcleanFileUtils 52 53 # Define PHONY target "all" which will make all necessary items 54 55 all: $(ALLTARGETS) 56 sed 's|PREFIX|$(prefix)|' $(TIME_CONFIG_FILE).template > $(TIME_CONFIG_FILE) 57 $(BUILD_DYNAMIC1) $(TARGET_STATIC) $(BUILD_DYNAMIC2) $(TARGET_DYNAMIC) 58 @echo "" 59 @echo " ---- All targets built successfully $(VERSION) ----" 60 @echo "" 61 62 # Define PHONY target "sysUtils" which will make the system utilites 63 # portion of the psLib 64 65 sysUtils: 66 $(MAKE) --directory=sysUtils all 67 68 image: 69 $(MAKE) --directory=image all 70 71 collections: 72 $(MAKE) --directory=collections all 73 74 dataManip: 75 $(MAKE) --directory=dataManip all 76 77 astronomy: 78 $(MAKE) --directory=astronomy all 79 80 fileUtils: 81 $(MAKE) --directory=fileUtils all 82 83 ## ADD ADDITIONAL PORTIONS OF PSLIB HERE 84 85 # Define PHONY target "installSysUtils" which will install all the necessary 86 # files for system utilities portion of psLib 87 88 installSysUtils: 89 $(MAKE) --directory=sysUtils install 90 91 installImage: 92 $(MAKE) --directory=image install 93 94 installCollections: 95 $(MAKE) --directory=collections install 96 97 installDataManip: 98 $(MAKE) --directory=dataManip install 99 100 installAstronomy: 101 $(MAKE) --directory=astronomy install 102 103 installFileUtils: 104 $(MAKE) --directory=fileUtils install 105 106 # Define PHONY target "cleanSysUtils" which will clean up the development 107 # area for system utilites 108 109 cleanSysUtils: 110 $(MAKE) --directory=sysUtils clean 111 112 cleanImage: 113 $(MAKE) --directory=image clean 114 115 cleanCollections: 116 $(MAKE) --directory=collections clean 117 118 cleanDataManip: 119 $(MAKE) --directory=dataManip clean 120 121 cleanAstronomy: 122 $(MAKE) --directory=astronomy clean 123 124 cleanFileUtils: 125 $(MAKE) --directory=fileUtils clean 126 127 #Define PHONY target "cleandep*" which will clean up the dependency files 128 129 cleandepSysUtils: 130 $(MAKE) --directory=sysUtils cleandep 131 132 cleandepImage: 133 $(MAKE) --directory=image cleandep 134 135 cleandepCollections: 136 $(MAKE) --directory=collections cleandep 137 138 cleandepDataManip: 139 $(MAKE) --directory=dataManip cleandep 140 141 cleandepAstronomy: 142 $(MAKE) --directory=astronomy cleandep 143 144 cleandepFileUtils: 145 $(MAKE) --directory=fileUtils cleandep 146 147 # Define PHONY target "distcleanSysUtils which will clean up the distribution 148 # files related to system utilities 149 150 distcleanSysUtils: 151 $(MAKE) --directory=sysUtils distclean 152 153 distcleanImage: 154 $(MAKE) --directory=image distclean 155 156 distcleanCollections: 157 $(MAKE) --directory=collections distclean 158 159 distcleanDataManip: 160 $(MAKE) --directory=dataManip distclean 161 162 distcleanAstronomy: 163 $(MAKE) --directory=astronomy distclean 164 165 distcleanFileUtils: 166 $(MAKE) --directory=fileUtils distclean 167 168 169 # Rule to make include directory if needed 170 171 $(includedir): 172 mkdir -p $(includedir) 173 174 # Rule to make bin directory if needed 175 176 $(bindir): 177 mkdir -p $(bindir) 178 179 # Rule to make lib directory if needed 180 181 $(libexecdir): 182 mkdir -p $(libexecdir) 183 184 # Rule to make man directory if needed 185 186 $(mandir): 187 mkdir -p $(mandir) 188 189 $(mandir)/man3: $(mandir) 190 mkdir -p $(mandir)/man3 191 192 # Rule to make the installation directories if needed 193 194 installdirs: $(includedir) $(bindir) $(libexecdir) $(mandir) 195 196 # Define PHONY target "install" to make the necessary directories for 197 # the installation 198 199 install: all installdirs $(INSTALLTARGETS) 200 install *.h $(includedir) 201 install $(TARGET_STATIC) $(libexecdir) 202 install $(TARGET_DYNAMIC) $(libexecdir) 203 install $(TARGET_DYNAMIC) $(libexecdir) 204 205 # Define PHONY target "clean" to clean up the development areas for 206 # psLib 207 208 clean: $(CLEANTARGETS) 209 $(RM) -f $(TARGET_STATIC) 210 $(RM) -f $(TARGET_DYNAMIC) 211 212 cleandep: $(CLEANDEPTARGETS) 213 214 # Define PHONY target "distclean" to clean up the distribution area for 215 # psLib 216 217 distclean: $(DISTCLEANTARGETS) 218 $(RM) -f $(libexecdir)/$(TARGET_STATIC) 219 $(RM) -f $(libexecdir)/$(TARGET_DYNAMIC) 220 $(RM) -f $(TARGET_DYNAMIC) 221 $(RM) -f $(TARGET_STATIC) 222 223 # Define PHONY target "docs" to generate the Doxygen files for psLib 224 225 docs: 226 $(DOCS) 227 228 tags: 229 etags `find . \( -name \*.[chy] \) -print` 230 231 # List of PHONY targets with make file 232 .PHONY: sysUtils collections image dataManip astronomy fileUtils 1 # Makefile.in generated by automake 1.9.1 from Makefile.am. 2 # src/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 SOURCES = $(libpslib_la_SOURCES) 18 19 srcdir = . 20 top_srcdir = .. 21 22 pkgdatadir = $(datadir)/pslib 23 pkglibdir = $(libdir)/pslib 24 pkgincludedir = $(includedir)/pslib 25 top_builddir = .. 26 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 27 INSTALL = /usr/bin/install -c 28 install_sh_DATA = $(install_sh) -c -m 644 29 install_sh_PROGRAM = $(install_sh) -c 30 install_sh_SCRIPT = $(install_sh) -c 31 INSTALL_HEADER = $(INSTALL_DATA) 32 transform = $(program_transform_name) 33 NORMAL_INSTALL = : 34 PRE_INSTALL = : 35 POST_INSTALL = : 36 NORMAL_UNINSTALL = : 37 PRE_UNINSTALL = : 38 POST_UNINSTALL = : 39 build_triplet = x86_64-unknown-linux-gnu 40 host_triplet = x86_64-unknown-linux-gnu 41 subdir = src 42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 43 $(srcdir)/config.h.in 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 45 am__aclocal_m4_deps = $(top_srcdir)/configure.in 46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 47 $(ACLOCAL_M4) 48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 49 CONFIG_HEADER = config.h 50 CONFIG_CLEAN_FILES = 51 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 52 am__vpath_adj = case $$p in \ 53 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 54 *) f=$$p;; \ 55 esac; 56 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 57 am__installdirs = "$(DESTDIR)$(libdir)" 58 libLTLIBRARIES_INSTALL = $(INSTALL) 59 LTLIBRARIES = $(lib_LTLIBRARIES) 60 libpslib_la_DEPENDENCIES = \ 61 $(top_builddir)/src/astronomy/libpslibastronomy.la \ 62 $(top_builddir)/src/collections/libpslibcollections.la \ 63 $(top_builddir)/src/dataManip/libpslibdataManip.la \ 64 $(top_builddir)/src/fileUtils/libpslibfileUtils.la \ 65 $(top_builddir)/src/image/libpslibimage.la \ 66 $(top_builddir)/src/sysUtils/libpslibsysUtils.la 67 am_libpslib_la_OBJECTS = psTest.lo 68 libpslib_la_OBJECTS = $(am_libpslib_la_OBJECTS) 69 DEFAULT_INCLUDES = -I. -I$(srcdir) -I. 70 depcomp = $(SHELL) $(top_srcdir)/depcomp 71 am__depfiles_maybe = depfiles 72 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 73 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 74 LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \ 75 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ 76 $(AM_CFLAGS) $(CFLAGS) 77 CCLD = $(CC) 78 LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 79 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 80 SOURCES = $(libpslib_la_SOURCES) 81 DIST_SOURCES = $(libpslib_la_SOURCES) 82 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 83 html-recursive info-recursive install-data-recursive \ 84 install-exec-recursive install-info-recursive \ 85 install-recursive installcheck-recursive installdirs-recursive \ 86 pdf-recursive ps-recursive uninstall-info-recursive \ 87 uninstall-recursive 88 ETAGS = etags 89 CTAGS = ctags 90 DIST_SUBDIRS = $(SUBDIRS) 91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 92 ACLOCAL = ${SHELL} /home/desonia/panstarrs/psLib/missing --run aclocal-1.9 93 AMDEP_FALSE = # 94 AMDEP_TRUE = 95 AMTAR = ${SHELL} /home/desonia/panstarrs/psLib/missing --run tar 96 AR = ar 97 AUTOCONF = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoconf 98 AUTOHEADER = ${SHELL} /home/desonia/panstarrs/psLib/missing --run autoheader 99 AUTOMAKE = ${SHELL} /home/desonia/panstarrs/psLib/missing --run automake-1.9 100 AWK = gawk 101 CC = gcc 102 CCDEPMODE = depmode=gcc3 103 CFLAGS = -g -O2 -g2 -Wall -std=c99 -D_GNU_SOURCE -I/usr/include -I/usr/include/libxml2 104 CONFIG_FILE = /home/desonia/panstarrs/psLib/config/psTime.config 105 CPP = gcc -E 106 CPPFLAGS = 107 CXX = g++ 108 CXXCPP = g++ -E 109 CXXDEPMODE = depmode=gcc3 110 CXXFLAGS = -g -O2 111 CYGPATH_W = echo 112 DEFS = -DHAVE_CONFIG_H 113 DEPDIR = .deps 114 ECHO = echo 115 ECHO_C = 116 ECHO_N = -n 117 ECHO_T = 118 EGREP = grep -E 119 EXEEXT = 120 F77 = g77 121 FFLAGS = -fno-second-underscore -O -fno-f2c 122 GSL_CONFIG = /usr/bin/gsl-config 123 INSTALL_DATA = ${INSTALL} -m 644 124 INSTALL_PROGRAM = ${INSTALL} 125 INSTALL_SCRIPT = ${INSTALL} 126 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s 127 LDFLAGS = 128 LIBOBJS = 129 LIBS = 130 LIBTOOL = $(SHELL) $(top_builddir)/libtool 131 LN_S = ln -s 132 LTLIBOBJS = 133 MAKEINFO = ${SHELL} /home/desonia/panstarrs/psLib/missing --run makeinfo 134 OBJEXT = o 135 PACKAGE = pslib 136 PACKAGE_BUGREPORT = 137 PACKAGE_NAME = 138 PACKAGE_STRING = 139 PACKAGE_TARNAME = 140 PACKAGE_VERSION = 141 PATH_SEPARATOR = : 142 PERL = /usr/bin/perl 143 PSLIB_CFLAGS = -I${prefix}/include 144 PSLIB_LIBS = -L${exec_prefix}/lib -lpslib -lcfitsio -lfftw3f -L/usr/lib64 -lgsl -lgslcblas -lm -lxml2 -lz -lpthread -lm 145 RANLIB = ranlib 146 SET_MAKE = 147 SHELL = /bin/sh 148 STRIP = strip 149 SWIG = /usr/bin/swig 150 VERSION = 1.5 151 XML_CONFIG = /usr/bin/xml2-config 152 ac_ct_AR = ar 153 ac_ct_CC = gcc 154 ac_ct_CXX = g++ 155 ac_ct_F77 = g77 156 ac_ct_RANLIB = ranlib 157 ac_ct_STRIP = strip 158 am__fastdepCC_FALSE = # 159 am__fastdepCC_TRUE = 160 am__fastdepCXX_FALSE = # 161 am__fastdepCXX_TRUE = 162 am__include = include 163 am__leading_dot = . 164 am__quote = 165 am__tar = ${AMTAR} chof - "$$tardir" 166 am__untar = ${AMTAR} xf - 167 bindir = ${exec_prefix}/bin 168 build = x86_64-unknown-linux-gnu 169 build_alias = 170 build_cpu = x86_64 171 build_os = linux-gnu 172 build_vendor = unknown 173 datadir = ${prefix}/share 174 exec_prefix = ${prefix} 175 host = x86_64-unknown-linux-gnu 176 host_alias = 177 host_cpu = x86_64 178 host_os = linux-gnu 179 host_vendor = unknown 180 includedir = ${prefix}/include 181 infodir = ${prefix}/info 182 install_sh = /home/desonia/panstarrs/psLib/install-sh 183 libdir = ${exec_prefix}/lib 184 libexecdir = ${exec_prefix}/libexec 185 localstatedir = ${prefix}/var 186 mandir = ${prefix}/man 187 mkdir_p = mkdir -p -- 188 oldincludedir = /usr/include 189 prefix = /home/desonia/panstarrs/psLib 190 program_transform_name = s,x,x, 191 sbindir = ${exec_prefix}/sbin 192 sharedstatedir = ${prefix}/com 193 sysconfdir = ${prefix}/etc 194 target_alias = 195 196 # not a GNU package. You can remove this line, if 197 # have all needed files, that a GNU package needs 198 AUTOMAKE_OPTIONS = foreign 1.4 199 SUBDIRS = astronomy collections dataManip fileUtils image sysUtils swig 200 INCLUDES = \ 201 -I$(top_srcdir)/src/astronomy \ 202 -I$(top_srcdir)/src/collections \ 203 -I$(top_srcdir)/src/dataManip \ 204 -I$(top_srcdir)/src/fileUtils \ 205 -I$(top_srcdir)/src/image \ 206 -I$(top_srcdir)/src/sysUtils \ 207 $(all_includes) 208 209 lib_LTLIBRARIES = libpslib.la 210 libpslib_la_LIBADD = \ 211 $(top_builddir)/src/astronomy/libpslibastronomy.la \ 212 $(top_builddir)/src/collections/libpslibcollections.la \ 213 $(top_builddir)/src/dataManip/libpslibdataManip.la \ 214 $(top_builddir)/src/fileUtils/libpslibfileUtils.la \ 215 $(top_builddir)/src/image/libpslibimage.la \ 216 $(top_builddir)/src/sysUtils/libpslibsysUtils.la 217 218 libpslib_la_SOURCES = psTest.c 219 EXTRA_DIST = parseErrorCodes.pl mainpage.dox Doxyfile psErrorCodes.dat psTest.h 220 all: config.h 221 $(MAKE) $(AM_MAKEFLAGS) all-recursive 222 223 .SUFFIXES: 224 .SUFFIXES: .c .lo .o .obj 225 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 226 @for dep in $?; do \ 227 case '$(am__configure_deps)' in \ 228 *$$dep*) \ 229 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 230 && exit 0; \ 231 exit 1;; \ 232 esac; \ 233 done; \ 234 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ 235 cd $(top_srcdir) && \ 236 $(AUTOMAKE) --foreign src/Makefile 237 .PRECIOUS: Makefile 238 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 239 @case '$?' in \ 240 *config.status*) \ 241 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 242 *) \ 243 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 244 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 245 esac; 246 247 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 248 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 249 250 $(top_srcdir)/configure: $(am__configure_deps) 251 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 252 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 253 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 254 255 config.h: stamp-h1 256 @if test ! -f $@; then \ 257 rm -f stamp-h1; \ 258 $(MAKE) stamp-h1; \ 259 else :; fi 260 261 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 262 @rm -f stamp-h1 263 cd $(top_builddir) && $(SHELL) ./config.status src/config.h 264 $(srcdir)/config.h.in: $(am__configure_deps) 265 cd $(top_srcdir) && $(AUTOHEADER) 266 rm -f stamp-h1 267 touch $@ 268 269 distclean-hdr: 270 -rm -f config.h stamp-h1 271 install-libLTLIBRARIES: $(lib_LTLIBRARIES) 272 @$(NORMAL_INSTALL) 273 test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" 274 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 275 if test -f $$p; then \ 276 f=$(am__strip_dir) \ 277 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ 278 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ 279 else :; fi; \ 280 done 281 282 uninstall-libLTLIBRARIES: 283 @$(NORMAL_UNINSTALL) 284 @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 285 p=$(am__strip_dir) \ 286 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ 287 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ 288 done 289 290 clean-libLTLIBRARIES: 291 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) 292 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ 293 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 294 test "$$dir" != "$$p" || dir=.; \ 295 echo "rm -f \"$${dir}/so_locations\""; \ 296 rm -f "$${dir}/so_locations"; \ 297 done 298 libpslib.la: $(libpslib_la_OBJECTS) $(libpslib_la_DEPENDENCIES) 299 $(LINK) -rpath $(libdir) $(libpslib_la_LDFLAGS) $(libpslib_la_OBJECTS) $(libpslib_la_LIBADD) $(LIBS) 300 301 mostlyclean-compile: 302 -rm -f *.$(OBJEXT) 303 304 distclean-compile: 305 -rm -f *.tab.c 306 307 include ./$(DEPDIR)/psTest.Plo 308 309 .c.o: 310 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 311 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 312 # source='$<' object='$@' libtool=no \ 313 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 314 # $(COMPILE) -c $< 315 316 .c.obj: 317 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ 318 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 319 # source='$<' object='$@' libtool=no \ 320 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 321 # $(COMPILE) -c `$(CYGPATH_W) '$<'` 322 323 .c.lo: 324 if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ 325 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 326 # source='$<' object='$@' libtool=yes \ 327 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ 328 # $(LTCOMPILE) -c -o $@ $< 329 330 mostlyclean-libtool: 331 -rm -f *.lo 332 333 clean-libtool: 334 -rm -rf .libs _libs 335 336 distclean-libtool: 337 -rm -f libtool 338 uninstall-info-am: 339 340 # This directory's subdirectories are mostly independent; you can cd 341 # into them and run `make' without going through this Makefile. 342 # To change the values of `make' variables: instead of editing Makefiles, 343 # (1) if the variable is set in `config.status', edit `config.status' 344 # (which will cause the Makefiles to be regenerated when you run `make'); 345 # (2) otherwise, pass the desired values on the `make' command line. 346 $(RECURSIVE_TARGETS): 347 @set fnord $$MAKEFLAGS; amf=$$2; \ 348 dot_seen=no; \ 349 target=`echo $@ | sed s/-recursive//`; \ 350 list='$(SUBDIRS)'; for subdir in $$list; do \ 351 echo "Making $$target in $$subdir"; \ 352 if test "$$subdir" = "."; then \ 353 dot_seen=yes; \ 354 local_target="$$target-am"; \ 355 else \ 356 local_target="$$target"; \ 357 fi; \ 358 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 359 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 360 done; \ 361 if test "$$dot_seen" = "no"; then \ 362 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 363 fi; test -z "$$fail" 364 365 mostlyclean-recursive clean-recursive distclean-recursive \ 366 maintainer-clean-recursive: 367 @set fnord $$MAKEFLAGS; amf=$$2; \ 368 dot_seen=no; \ 369 case "$@" in \ 370 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 371 *) list='$(SUBDIRS)' ;; \ 372 esac; \ 373 rev=''; for subdir in $$list; do \ 374 if test "$$subdir" = "."; then :; else \ 375 rev="$$subdir $$rev"; \ 376 fi; \ 377 done; \ 378 rev="$$rev ."; \ 379 target=`echo $@ | sed s/-recursive//`; \ 380 for subdir in $$rev; do \ 381 echo "Making $$target in $$subdir"; \ 382 if test "$$subdir" = "."; then \ 383 local_target="$$target-am"; \ 384 else \ 385 local_target="$$target"; \ 386 fi; \ 387 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 388 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 389 done && test -z "$$fail" 390 tags-recursive: 391 list='$(SUBDIRS)'; for subdir in $$list; do \ 392 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 393 done 394 ctags-recursive: 395 list='$(SUBDIRS)'; for subdir in $$list; do \ 396 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 397 done 398 399 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 400 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 401 unique=`for i in $$list; do \ 402 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 403 done | \ 404 $(AWK) ' { files[$$0] = 1; } \ 405 END { for (i in files) print i; }'`; \ 406 mkid -fID $$unique 407 tags: TAGS 408 409 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 410 $(TAGS_FILES) $(LISP) 411 tags=; \ 412 here=`pwd`; \ 413 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 414 include_option=--etags-include; \ 415 empty_fix=.; \ 416 else \ 417 include_option=--include; \ 418 empty_fix=; \ 419 fi; \ 420 list='$(SUBDIRS)'; for subdir in $$list; do \ 421 if test "$$subdir" = .; then :; else \ 422 test ! -f $$subdir/TAGS || \ 423 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 424 fi; \ 425 done; \ 426 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 427 unique=`for i in $$list; do \ 428 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 429 done | \ 430 $(AWK) ' { files[$$0] = 1; } \ 431 END { for (i in files) print i; }'`; \ 432 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 433 test -n "$$unique" || unique=$$empty_fix; \ 434 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 435 $$tags $$unique; \ 436 fi 437 ctags: CTAGS 438 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 439 $(TAGS_FILES) $(LISP) 440 tags=; \ 441 here=`pwd`; \ 442 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 443 unique=`for i in $$list; do \ 444 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 445 done | \ 446 $(AWK) ' { files[$$0] = 1; } \ 447 END { for (i in files) print i; }'`; \ 448 test -z "$(CTAGS_ARGS)$$tags$$unique" \ 449 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 450 $$tags $$unique 451 452 GTAGS: 453 here=`$(am__cd) $(top_builddir) && pwd` \ 454 && cd $(top_srcdir) \ 455 && gtags -i $(GTAGS_ARGS) $$here 456 457 distclean-tags: 458 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 459 460 distdir: $(DISTFILES) 461 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 462 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 463 list='$(DISTFILES)'; for file in $$list; do \ 464 case $$file in \ 465 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 466 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 467 esac; \ 468 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 469 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 470 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 471 dir="/$$dir"; \ 472 $(mkdir_p) "$(distdir)$$dir"; \ 473 else \ 474 dir=''; \ 475 fi; \ 476 if test -d $$d/$$file; then \ 477 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 478 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 479 fi; \ 480 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 481 else \ 482 test -f $(distdir)/$$file \ 483 || cp -p $$d/$$file $(distdir)/$$file \ 484 || exit 1; \ 485 fi; \ 486 done 487 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 488 if test "$$subdir" = .; then :; else \ 489 test -d "$(distdir)/$$subdir" \ 490 || $(mkdir_p) "$(distdir)/$$subdir" \ 491 || exit 1; \ 492 distdir=`$(am__cd) $(distdir) && pwd`; \ 493 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ 494 (cd $$subdir && \ 495 $(MAKE) $(AM_MAKEFLAGS) \ 496 top_distdir="$$top_distdir" \ 497 distdir="$$distdir/$$subdir" \ 498 distdir) \ 499 || exit 1; \ 500 fi; \ 501 done 502 check-am: all-am 503 check: check-recursive 504 all-am: Makefile $(LTLIBRARIES) config.h 505 installdirs: installdirs-recursive 506 installdirs-am: 507 for dir in "$(DESTDIR)$(libdir)"; do \ 508 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 509 done 510 install: install-recursive 511 install-exec: install-exec-recursive 512 install-data: install-data-recursive 513 uninstall: uninstall-recursive 514 515 install-am: all-am 516 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 517 518 installcheck: installcheck-recursive 519 install-strip: 520 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 521 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 522 `test -z '$(STRIP)' || \ 523 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 524 mostlyclean-generic: 525 526 clean-generic: 527 528 distclean-generic: 529 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 530 531 maintainer-clean-generic: 532 @echo "This command is intended for maintainers to use" 533 @echo "it deletes files that may require special tools to rebuild." 534 clean: clean-recursive 535 536 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ 537 mostlyclean-am 538 539 distclean: distclean-recursive 540 -rm -rf ./$(DEPDIR) 541 -rm -f Makefile 542 distclean-am: clean-am distclean-compile distclean-generic \ 543 distclean-hdr distclean-libtool distclean-tags 544 545 dvi: dvi-recursive 546 547 dvi-am: 548 549 html: html-recursive 550 551 info: info-recursive 552 553 info-am: 554 555 install-data-am: 556 557 install-exec-am: install-libLTLIBRARIES 558 559 install-info: install-info-recursive 560 561 install-man: 562 563 installcheck-am: 564 565 maintainer-clean: maintainer-clean-recursive 566 -rm -rf ./$(DEPDIR) 567 -rm -f Makefile 568 maintainer-clean-am: distclean-am maintainer-clean-generic 569 570 mostlyclean: mostlyclean-recursive 571 572 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 573 mostlyclean-libtool 574 575 pdf: pdf-recursive 576 577 pdf-am: 578 579 ps: ps-recursive 580 581 ps-am: 582 583 uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES 584 585 uninstall-info: uninstall-info-recursive 586 587 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ 588 clean clean-generic clean-libLTLIBRARIES clean-libtool \ 589 clean-recursive ctags ctags-recursive distclean \ 590 distclean-compile distclean-generic distclean-hdr \ 591 distclean-libtool distclean-recursive distclean-tags distdir \ 592 dvi dvi-am html html-am info info-am install install-am \ 593 install-data install-data-am install-exec install-exec-am \ 594 install-info install-info-am install-libLTLIBRARIES \ 595 install-man install-strip installcheck installcheck-am \ 596 installdirs installdirs-am maintainer-clean \ 597 maintainer-clean-generic maintainer-clean-recursive \ 598 mostlyclean mostlyclean-compile mostlyclean-generic \ 599 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ 600 tags tags-recursive uninstall uninstall-am uninstall-info-am \ 601 uninstall-libLTLIBRARIES 602 603 # Tell versions [3.59,3.63) of GNU make to not export all variables. 604 # Otherwise a system limit (for SysV at least) may be exceeded. 605 .NOEXPORT:
Note:
See TracChangeset
for help on using the changeset viewer.
