coreboot-v3/util/nrv2b/Makefile
<<
>>
Prefs
   1##
   2## This file is part of the coreboot project.
   3##
   4## Copyright (C) 2007 coresystems GmbH
   5## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
   6##
   7## This program is free software; you can redistribute it and/or modify
   8## it under the terms of the GNU General Public License as published by
   9## the Free Software Foundation; either version 2 of the License, or
  10## (at your option) any later version.
  11##
  12## This program is distributed in the hope that it will be useful,
  13## but WITHOUT ANY WARRANTY; without even the implied warranty of
  14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15## GNU General Public License for more details.
  16##
  17## You should have received a copy of the GNU General Public License
  18## along with this program; if not, write to the Free Software
  19## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  20##
  21
  22$(obj)/util/nrv2b/nrv2b: $(obj)/util/nrv2b/ $(src)/util/nrv2b/nrv2b.c
  23        $(Q)printf "  HOSTCC  $(subst $(shell pwd)/,,$(@))\n"
  24        $(Q)$(HOSTCC) $(HOSTCFLAGS) -DENCODE -DDECODE -DMAIN -DVERBOSE -DNDEBUG -DBITSIZE=32 -DENDIAN=0 -o $@ $(src)/util/nrv2b/nrv2b.c
  25
  26$(obj)/util/nrv2b/nrv2b-compress.o: $(obj)/util/nrv2b/ $(src)/util/nrv2b/nrv2b.c
  27        $(Q)printf "  HOSTCC  $(subst $(shell pwd)/,,$(@))\n"
  28        $(Q)$(HOSTCC) $(HOSTCFLAGS) -DENCODE -DDECODE -DVERBOSE -DCOMPACT -DNDEBUG -DBITSIZE=32 -DENDIAN=0 -c -o $@ $(src)/util/nrv2b/nrv2b.c
  29
  30$(obj)/util/nrv2b/:
  31        $(Q)printf "  BUILD   NRV2B\n"
  32        $(Q)mkdir -p $(obj)/util/nrv2b/
  33
  34
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.