Commit b4695a1b authored by Leigh Stoller's avatar Leigh Stoller

Add proper makefile to build the tbbootconfig program that we use on

the CDROM to read/write the magic config sector.
parent 1bef5cd5
#
# Insert Copyright Here.
#
SRCDIR = @srcdir@
TESTBED_SRCDIR = @top_srcdir@
EVENTSYS = @EVENTSYS@
OBJDIR = ../..
SUBDIR = cdrom/tbbootconfig
include $(OBJDIR)/Makeconf
all: tbbootconfig
include $(TESTBED_SRCDIR)/GNUmakerules
CFLAGS += -O -g -Wall -I${OBJDIR}
LFLAGS += -lz
tbbootconfig: tbbootconfig.c
$(CC) $(CFLAGS) -static -g -o tbbootconfig $< $(LFLAGS)
client-install: tbbootconfig
$(INSTALL_PROGRAM) tbbootconfig $(DESTDIR)$(CLIENT_BINDIR)
clean:
rm -f *.o core tbbootconfig version.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment