mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-23 15:15:05 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@166 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
40db014d4d
commit
d35d316114
@ -21,6 +21,7 @@ EXT = extensions
|
|||||||
BLACKLIST = blacklist
|
BLACKLIST = blacklist
|
||||||
|
|
||||||
PARSE_SPEC = parse_spec.pl
|
PARSE_SPEC = parse_spec.pl
|
||||||
|
SYSTEM = $(strip $(shell uname -s))
|
||||||
|
|
||||||
TOP = ..
|
TOP = ..
|
||||||
I.DEST = $(TOP)/include/GL
|
I.DEST = $(TOP)/include/GL
|
||||||
@ -43,9 +44,14 @@ $(REGISTRY)/.dummy: $(BIN)/update_registry.sh
|
|||||||
$(EXT)/.dummy: $(REGISTRY)/.dummy
|
$(EXT)/.dummy: $(REGISTRY)/.dummy
|
||||||
rm -rf $(EXT)
|
rm -rf $(EXT)
|
||||||
$(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST)
|
$(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST)
|
||||||
|
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
||||||
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | xargs -J % cp % $(EXT)
|
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | xargs -J % cp % $(EXT)
|
||||||
|
else
|
||||||
|
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | xargs cp --target-directory=$(EXT)
|
||||||
|
endif
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|
||||||
$(I.DEST)/glew.h: $(EXT)/.dummy
|
$(I.DEST)/glew.h: $(EXT)/.dummy
|
||||||
test -d $(I.DEST) || mkdir -p $(I.DEST)
|
test -d $(I.DEST) || mkdir -p $(I.DEST)
|
||||||
cp -f $(SRC)/glew_pre.h $@
|
cp -f $(SRC)/glew_pre.h $@
|
||||||
|
Loading…
Reference in New Issue
Block a user