From 00080f4f0ef84d0f5e3722e212d7b42a7b6b5f7d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 3 Dec 2010 23:09:00 +0000 Subject: made loaders-hexloader targets in the style of loaders-libdir svn path=/trunk/; revision=14566 --- externals/Makefile | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/externals/Makefile b/externals/Makefile index cb6782ab..019b6d88 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -128,7 +128,7 @@ CXXFLAGS = $(CFLAGS) # # WARNING! this MUST be all on one line because the automatic package # building scripts rely on it being that way. -LIB_TARGETS = adaptive arraysize bassemu boids bsaylor comport creb cxc cyclone earplug ekext ext13 freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-libdir mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdogg plugin pmpd sigpack smlib tof unauthorized vanilla vbap windowing zexy +LIB_TARGETS = adaptive arraysize bassemu boids bsaylor comport creb cxc cyclone earplug ekext ext13 freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-hexloader loaders-libdir mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdogg plugin pmpd sigpack smlib tof unauthorized vanilla vbap windowing zexy # this is for libraries that don't compile (yet) on all platforms ifeq ($(OS_NAME),windows) @@ -967,6 +967,28 @@ jasch_lib_clean: -rm -f -- $(externals_src)/jasch_lib/*/*.*~ +#------------------------------------------------------------------------------# +# LOADERS-HEXLOADER +LOADERS-HEXLOADER_NAME = hexloader +LOADERS-HEXLOADER_OBJECTS := $(externals_src)/loaders/hexloader/hexloader.c +loaders-hexloader: $(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION)) + echo $(LOADERS-HEXLOADER_OBJECTS) + +loaders-hexloader_install: loaders-hexloader + install -d $(DESTDIR)$(objectsdir)/$(LOADERS-HEXLOADER_NAME) + install -p $(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION)) \ + $(DESTDIR)$(objectsdir)/$(LOADERS-HEXLOADER_NAME) + install -p $(externals_src)/loaders/hexloader/README.txt \ + $(externals_src)/loaders/hexloader/FAQ.txt \ + $(DESTDIR)$(objectsdir)/$(LOADERS-HEXLOADER_NAME) + +loaders-hexloader_clean: + -rm -f -- $(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION)) + -rm -f -- $(externals_src)/loaders/hexloader/*.o + -rm -f -- $(externals_src)/loaders/*.bak + -rm -f -- $(externals_src)/loaders/hexloader/*.*~ + + #------------------------------------------------------------------------------# # LOADERS-LIBDIR loaders-libdir: -- cgit v1.2.1