mirror of
https://git.kore.io/kore.git
synced 2024-11-10 20:29:11 +01:00
Add flavors for kore-serve for all platforms.
This commit is contained in:
parent
51e9c64fc0
commit
e87ba0f2d8
5
Makefile
5
Makefile
@ -175,7 +175,7 @@ $(VERSION): force
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$(KODEV):
|
$(KODEV): src/cli.c
|
||||||
$(MAKE) -C kodev
|
$(MAKE) -C kodev
|
||||||
|
|
||||||
$(KORE): $(OBJDIR) $(S_OBJS)
|
$(KORE): $(OBJDIR) $(S_OBJS)
|
||||||
@ -229,7 +229,8 @@ uninstall:
|
|||||||
tools-build: $(KODEV)
|
tools-build: $(KODEV)
|
||||||
for t in $(TOOLS); do \
|
for t in $(TOOLS); do \
|
||||||
cd tools/$$t; \
|
cd tools/$$t; \
|
||||||
env KODEV_OUTPUT=$(KOREPATH) $(KOREPATH)/$(KODEV) build; \
|
env KODEV_OUTPUT=$(KOREPATH) KORE_BUILD_FLAVOR=$(OSNAME) \
|
||||||
|
$(KOREPATH)/$(KODEV) build; \
|
||||||
cd $(KOREPATH); \
|
cd $(KOREPATH); \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -9,3 +9,19 @@ cflags=-Wpointer-arith -Wcast-qual -Wsign-compare
|
|||||||
|
|
||||||
dev {
|
dev {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
darwin {
|
||||||
|
}
|
||||||
|
|
||||||
|
openbsd {
|
||||||
|
}
|
||||||
|
|
||||||
|
netbsd {
|
||||||
|
}
|
||||||
|
|
||||||
|
freebsd {
|
||||||
|
}
|
||||||
|
|
||||||
|
linux {
|
||||||
|
cflags=-D_GNU_SOURCE
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user