tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Makefile.targ (1016B)


      1 #
      2 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
      3 # Use is subject to license terms.
      4 #
      5 # This Source Code Form is subject to the terms of the Mozilla Public
      6 # License, v. 2.0. If a copy of the MPL was not distributed with this
      7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      8 #
      9 
     10 include ../proto64.mk
     11 
     12 pkginfo: pkginfo.tmpl ../awk_pkginfo
     13 $(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
     14 
     15 prototype:  prototype_com prototype_$(MACH)
     16 cat prototype_$(MACH) |  sed -e \
     17 '/^!include[    ][  ]*prototype_com/ r ./prototype_com' \
     18 -e 's/^!include[    ][  ]*prototype_com//g' \
     19 | sed $(sed_proto64) >prototype
     20 
     21 pkg: $(PKGARCHIVE) prototype
     22 pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
     23 
     24 $(PKGARCHIVE):
     25 [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
     26 
     27 $(DATAFILES):: %: ../common_files/%
     28 $(RM) $@; cp ../common_files/$@ $@
     29 
     30 $(MACHDATAFILES): %: ../common_files/%_$(MACH)
     31 $(RM) $@; cp ../common_files/$@_$(MACH) $@
     32 
     33 clobber clean::
     34 -$(RM) $(CLOBBERFILES) $(CLEANFILES)
     35 
     36 .PHONY: pkg