orbea / cross / slibtool

Forked from cross/slibtool 3 years ago
Clone

Blame project/extras.mk

890d56
CFLAGS_SHARED_ATTR	+= -DSLBT_PRE_ALPHA -DSLBT_EXPORT
9ca8c4
CFLAGS_STATIC_ATTR	+= -DSLBT_PRE_ALPHA -DSLBT_STATIC
9ca8c4
CFLAGS_APP_ATTR		+= -DSLBT_APP
8fab10
8fab10
CFLAGS_MACHINE		:= -DSLBT_MACHINE=\"$(shell $(CC) $(CFLAGS) -dumpmachine)\"
8fab10
741f6f
src/driver/slbt_driver_ctx.o:	version.tag
741f6f
src/driver/slbt_driver_ctx.lo:	version.tag
741f6f
8fab10
src/driver/slbt_driver_ctx.o:	CFLAGS += $(CFLAGS_MACHINE)
8fab10
src/driver/slbt_driver_ctx.lo:	CFLAGS += $(CFLAGS_MACHINE)
daae2d
99b63d
install-app-extras:	DBGNAME  = dlibtool
60f67c
install-app-extras:	LEGABITS = clibtool
294283
install-app-extras:	RAPUNZEL = rlibtool
101627
install-app-extras:	RAPUNCEL = rclibtool
101627
install-app-extras:	RAPUNDEL = rdlibtool
101627
install-app-extras:	RAPUNJEL = rdclibtool
daae2d
daae2d
install-app-extras:
daae2d
	mkdir -p $(DESTDIR)$(BINDIR)
daae2d
1fbd10
	rm -f bin/$(NICKNAME)-shared$(OS_APP_SUFFIX).tmp
1fbd10
	rm -f bin/$(NICKNAME)-static$(OS_APP_SUFFIX).tmp
daae2d
f7acc1
	rm -f bin/$(DBGNAME)$(OS_APP_SUFFIX).tmp
f7acc1
	rm -f bin/$(DBGNAME)-shared$(OS_APP_SUFFIX).tmp
f7acc1
	rm -f bin/$(DBGNAME)-static$(OS_APP_SUFFIX).tmp
f7acc1
60f67c
	rm -f bin/$(LEGABITS)$(OS_APP_SUFFIX).tmp
60f67c
	rm -f bin/$(LEGABITS)-shared$(OS_APP_SUFFIX).tmp
60f67c
	rm -f bin/$(LEGABITS)-static$(OS_APP_SUFFIX).tmp
60f67c
294283
	rm -f bin/$(RAPUNZEL)$(OS_APP_SUFFIX).tmp
101627
	rm -f bin/$(RAPUNCEL)$(OS_APP_SUFFIX).tmp
101627
	rm -f bin/$(RAPUNDEL)$(OS_APP_SUFFIX).tmp
101627
	rm -f bin/$(RAPUNJEL)$(OS_APP_SUFFIX).tmp
294283
1fbd10
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(NICKNAME)-shared$(OS_APP_SUFFIX).tmp
1fbd10
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(NICKNAME)-static$(OS_APP_SUFFIX).tmp
daae2d
f7acc1
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(DBGNAME)$(OS_APP_SUFFIX).tmp
f7acc1
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(DBGNAME)-shared$(OS_APP_SUFFIX).tmp
f7acc1
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(DBGNAME)-static$(OS_APP_SUFFIX).tmp
f7acc1
60f67c
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(LEGABITS)$(OS_APP_SUFFIX).tmp
60f67c
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(LEGABITS)-shared$(OS_APP_SUFFIX).tmp
60f67c
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(LEGABITS)-static$(OS_APP_SUFFIX).tmp
60f67c
294283
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(RAPUNZEL)$(OS_APP_SUFFIX).tmp
101627
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(RAPUNCEL)$(OS_APP_SUFFIX).tmp
101627
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(RAPUNDEL)$(OS_APP_SUFFIX).tmp
101627
	ln -s ./$(NICKNAME)$(OS_APP_SUFFIX) bin/$(RAPUNJEL)$(OS_APP_SUFFIX).tmp
294283
1fbd10
	mv bin/$(NICKNAME)-shared$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME)-shared$(OS_APP_SUFFIX)
1fbd10
	mv bin/$(NICKNAME)-static$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(NICKNAME)-static$(OS_APP_SUFFIX)
60f67c
f7acc1
	mv bin/$(DBGNAME)$(OS_APP_SUFFIX).tmp         $(DESTDIR)$(BINDIR)/$(DBGNAME)$(OS_APP_SUFFIX)
f7acc1
	mv bin/$(DBGNAME)-shared$(OS_APP_SUFFIX).tmp  $(DESTDIR)$(BINDIR)/$(DBGNAME)-shared$(OS_APP_SUFFIX)
f7acc1
	mv bin/$(DBGNAME)-static$(OS_APP_SUFFIX).tmp  $(DESTDIR)$(BINDIR)/$(DBGNAME)-static$(OS_APP_SUFFIX)
f7acc1
99b63d
	mv bin/$(LEGABITS)$(OS_APP_SUFFIX).tmp        $(DESTDIR)$(BINDIR)/$(LEGABITS)$(OS_APP_SUFFIX)
60f67c
	mv bin/$(LEGABITS)-shared$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(LEGABITS)-shared$(OS_APP_SUFFIX)
60f67c
	mv bin/$(LEGABITS)-static$(OS_APP_SUFFIX).tmp $(DESTDIR)$(BINDIR)/$(LEGABITS)-static$(OS_APP_SUFFIX)
294283
294283
	mv bin/$(RAPUNZEL)$(OS_APP_SUFFIX).tmp        $(DESTDIR)$(BINDIR)/$(RAPUNZEL)$(OS_APP_SUFFIX)
101627
	mv bin/$(RAPUNCEL)$(OS_APP_SUFFIX).tmp        $(DESTDIR)$(BINDIR)/$(RAPUNCEL)$(OS_APP_SUFFIX)
101627
	mv bin/$(RAPUNDEL)$(OS_APP_SUFFIX).tmp        $(DESTDIR)$(BINDIR)/$(RAPUNDEL)$(OS_APP_SUFFIX)
101627
	mv bin/$(RAPUNJEL)$(OS_APP_SUFFIX).tmp        $(DESTDIR)$(BINDIR)/$(RAPUNJEL)$(OS_APP_SUFFIX)