1
0
Fork 0
forked from External/grumble

grumble, pkg/*: get rid of makefiles.

This commit is contained in:
Mikkel Krautz 2013-05-25 17:13:26 +02:00
parent c4e05027f8
commit 48765ff1e8
10 changed files with 0 additions and 168 deletions

View file

@ -1,95 +0,0 @@
# Copyright (c) 2010 The Grumble Authors
# The use of this source code is goverened by a BSD-style
# license that can be found in the LICENSE-file.
include $(GOROOT)/src/Make.inc
TARG = grumble
ifeq ($(GOOS),windows)
TARG:=$(TARG).exe
endif
PACKAGES = \
pkg/packetdatastream \
pkg/cryptstate \
pkg/mumbleproto \
pkg/blobstore \
pkg/serverconf \
pkg/sessionpool \
pkg/ban \
pkg/htmlfilter \
pkg/freezer \
pkg/logtarget
GCFLAGS = \
-Ipkg/cryptstate/_obj \
-Ipkg/packetdatastream/_obj \
-Ipkg/mumbleproto/_obj \
-Ipkg/blobstore/_obj \
-Ipkg/serverconf/_obj \
-Ipkg/sessionpool/_obj \
-Ipkg/ban/_obj \
-Ipkg/htmlfilter/_obj \
-Ipkg/freezer/_obj \
-Ipkg/logtarget/_obj
LDFLAGS = \
-Lpkg/cryptstate/_obj \
-Lpkg/packetdatastream/_obj \
-Lpkg/mumbleproto/_obj \
-Lpkg/blobstore/_obj \
-Lpkg/serverconf/_obj \
-Lpkg/sessionpool/_obj \
-Lpkg/ban/_obj \
-Lpkg/htmlfilter/_obj \
-Lpkg/freezer/_obj \
-Lpkg/logtarget/_obj
GOFILES = \
grumble.go \
message.go \
server.go \
client.go \
channel.go \
acl.go \
group.go \
user.go \
voicetarget.go \
freeze.go \
gencert.go \
register.go \
ssh.go \
args.go \
ifeq ($(SQLITE),1)
GOFILES += murmurdb.go
PACKAGES += pkg/sqlite
GCFLAGS += -Ipkg/sqlite/_obj
LDFLAGS += -Lpkg/sqlite/_obj
else
GOFILES += murmurdb_null.go
endif
ifeq ($(GOOS),windows)
GOFILES += signal_windows.go
else
GOFILES += signal_unix.go
endif
.PHONY: grumble
grumble: pkg
$(GC) $(GCFLAGS) -o $(TARG).$(O) $(GOFILES)
$(LD) $(LDFLAGS) -o $(TARG) $(TARG).$(O)
.PHONY: pkg
pkg:
for dir in $(PACKAGES); do $(MAKE) -C $$dir; done
.PHONY: pkgclean
pkgclean:
for dir in $(PACKAGES); do $(MAKE) -C $$dir clean; done
.PHONY: clean
clean: pkgclean
rm -f grumble
rm -f *.$(O)

View file

@ -1,7 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/ban
GOFILES = \
ban.go
include $(GOROOT)/src/Make.pkg

View file

@ -1,7 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/cryptstate
GOFILES = \
cryptstate.go
include $(GOROOT)/src/Make.pkg

View file

@ -1,9 +0,0 @@
.PHONY: default
default:
g++ test.cpp CryptState.cpp -o test -lcrypto
g++ test2.cpp CryptState.cpp -o test2 -lcrypto
g++ test3.cpp CryptState.cpp -o test3 -lcrypto
.PHONY: clean
clean:
rm -f test test2 test3

View file

@ -1,13 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/freezer
GOFILES = \
writer.go \
walker.go \
types.go \
types.pb.go \
error.go
include $(GOROOT)/src/Make.pkg
include $(GOROOT)/src/pkg/goprotobuf.googlecode.com/hg/Make.protobuf

View file

@ -1,7 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/htmlfilter
GOFILES = \
htmlfilter.go
include $(GOROOT)/src/Make.pkg

View file

@ -1,7 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/logtarget
GOFILES = \
logtarget.go
include $(GOROOT)/src/Make.pkg

View file

@ -1,9 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/mumbleproto
GOFILES=\
Mumble.pb.go \
types.go
include $(GOROOT)/src/Make.pkg
include $(GOROOT)/src/pkg/goprotobuf.googlecode.com/hg/Make.protobuf

View file

@ -1,7 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/serverconf
GOFILES = \
config.go
include $(GOROOT)/src/Make.pkg

View file

@ -1,7 +0,0 @@
include $(GOROOT)/src/Make.inc
TARG = grumble/sessionpool
GOFILES = \
sessionpool.go
include $(GOROOT)/src/Make.pkg