1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/tests/pkcs11/netscape/trivial/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,146 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +SHELL = /bin/sh 1.10 +.SUFFIXES: 1.11 +.SUFFIXES: .c .o .h .in .a .so 1.12 + 1.13 +srcdir = @srcdir@ 1.14 +VPATH = @srcdir@ 1.15 +prefix = @prefix@ 1.16 +exec_prefix = @exec_prefix@ 1.17 +includedir = @includedir@ 1.18 +bindir = @bindir@ 1.19 +@SET_MAKE@ 1.20 +INSTALL = @INSTALL@ 1.21 +RANLIB = @RANLIB@ 1.22 +AR = @AR@ 1.23 +CC = @CC@ 1.24 +LD = @LD@ 1.25 +RM = @RM@ 1.26 +TAR = @TAR@ 1.27 + 1.28 +CPPFLAGS = @CPPFLAGS@ 1.29 +CFLAGS = @CFLAGS@ 1.30 +LDFLAGS = @LDFLAGS@ 1.31 +LIBS = @LIBS@ 1.32 + 1.33 +INSTALL_PROGRAM = $(INSTALL) -m 0500 1.34 + 1.35 +all:: program 1.36 + 1.37 +# Standard Netscape/Mozilla targets: 1.38 +# import import_xp export private_export libs program install all clobber 1.39 +# clobber_all release release_xp alltags 1.40 + 1.41 +# Standard GNU targets: 1.42 +# all install uninstall install-strip clean distclean mostlyclean 1.43 +# maintainer-clean TAGS info dvi dist check installcheck installdirs 1.44 + 1.45 +# === The actual targets and the real commands that make them === 1.46 +program:: trivial 1.47 + 1.48 +trivial: trivial.c config.h Makefile 1.49 + $(CC) -I. -I${srcdir} $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LDFLAGS) $(LIBS) 1.50 + 1.51 +# Now, various standard targets, some that do stuff, some that are no-ops 1.52 + 1.53 +import:: 1.54 + 1.55 +export:: install 1.56 + 1.57 +private_export:: 1.58 + 1.59 +program:: 1.60 + 1.61 +clobber:: clean 1.62 + 1.63 +clobber_all:: maintainer-clean 1.64 + 1.65 +alltags:: TAGS 1.66 + 1.67 +RESULTS = \ 1.68 + $(DESTDIR)$(bindir)/trivial \ 1.69 + $(NULL) 1.70 + 1.71 +install:: $(RESULTS) 1.72 + 1.73 +$(DESTDIR)$(bindir)/trivial: trivial 1.74 + $(INSTALL_PROGRAM) trivial $(DESTDIR)$(bindir)/trivial 1.75 + 1.76 +# "rm -f" with no arguments bites on some platforms. 1.77 +# There should be an autoconf check and maybe a more 1.78 +# general $(FORCEDREMOVE) command 1.79 + 1.80 +uninstall:: 1.81 + $(RM) -f $(RESULTS) 1.82 + 1.83 +install-strip:: 1.84 + $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s ' install 1.85 + 1.86 +clean:: 1.87 + $(RM) -f *~ core trivial.o trivial 1.88 + 1.89 +distclean:: clean 1.90 + $(RM) -f Makefile config.cache config.h config.log config.status stamp-h stamp-h.in 1.91 + 1.92 +mostlyclean:: clean 1.93 + 1.94 +maintainer-clean:: distclean 1.95 + $(RM) -f TAGS trivial*.tar.gz 1.96 + 1.97 +TAGS:: 1.98 + 1.99 +DISTFILES = \ 1.100 + .cvsignore \ 1.101 + README.txt \ 1.102 + Makefile.in \ 1.103 + acconfig.h \ 1.104 + config.h.in \ 1.105 + configure \ 1.106 + configure.in \ 1.107 + install-sh \ 1.108 + trivial.c \ 1.109 + $(NULL) 1.110 + 1.111 +dist:: trivial.tar.gz 1.112 + 1.113 +# There must be an easier and more portable way of doing this.. 1.114 +trivial.tar.gz: $(DISTFILES) 1.115 + echo $(DISTFILES) | tr ' ' '\n' | sed "s^.*^`( cd ${srcdir}; pwd ) | xargs basename`/&^" | xargs tar czf $@ -C ${srcdir}/.. 1.116 + 1.117 +# other "standard" but irrelevant targets 1.118 +info:: 1.119 + 1.120 +dvi:: 1.121 + 1.122 +check:: 1.123 + 1.124 +installcheck:: 1.125 + 1.126 +installdirs:: 1.127 + 1.128 +# Include dependancies 1.129 + 1.130 + 1.131 +# autoheader might not change config.h.in, so touch a stamp file 1.132 +${srcdir}/config.h.in: stamp-h.in 1.133 +${srcdir}/stamp-h.in: configure.in acconfig.h 1.134 + cd ${srcdir} && autoheader 1.135 + echo timestamp > ${srcdir}/stamp-h.in 1.136 + 1.137 +# Remake the configuration 1.138 +${srcdir}/configure: configure.in 1.139 + cd ${srcdir} && autoconf 1.140 + 1.141 +config.h: stamp-h 1.142 +stamp-h: config.h.in config.status 1.143 + ./config.status 1.144 + 1.145 +Makefile: Makefile.in config.status 1.146 + ./config.status 1.147 + 1.148 +config.status: configure 1.149 + ./config.status --recheck