symbian-qemu-0.9.1-12/dtc-trunk/Makefile.am
author Mike Kinghan <mikek@symbian.org>
Wed, 04 Aug 2010 15:41:26 +0100
branchGCC_SURGE
changeset 95 285922d13199
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Correction for the fix for Bug 3508 - Persistent storage support breaks Linux compatibility. A 2nd `make install' will fail attempting to create symlink libnvmemmory.so already created by 1st install. Install should pre-emptively delete it.

# Copyright (C) 2008 CodeSourcery
# All rights reserved.

## Process this file with automake to generate Makefile.in

AUTOMAKE_OPTIONS = 1.9 foreign

WARNING_CFLAGS = -Wall
PIC_CFLAGS = -fPIC

AM_CFLAGS = $(WARNING_CFLAGS) $(CDEFINES)
AM_CCASFLAGS = $(AM_CFLAGS)

bin_PROGRAMS = dtc ftdump

AM_CPPFLAGS = -I$(srcdir)/libfdt
AM_YFLAGS = -d

dtc_SOURCES = dtc.c flattree.c fstree.c data.c livetree.c \
	treesource.c srcpos.c checks.c dtc-parser.y dtc-lexer.l

ftdump_SOURCES = ftdump.c

BUILT_SOURCES = version_gen.h dtc-parser.h
version_gen.h: Makefile
	echo "#define DTC_VERSION \"DTC @PACKAGE_VERSION@ @PKGVERSION@\"" > $@
	echo "#define BUG_URL \"@BUGURL@\"" >> $@