Initial commit

This commit is contained in:
Ken Rockot
2011-05-15 18:13:01 +00:00
commit c897eb79b3
10 changed files with 536 additions and 0 deletions

16
pam/Makefile Normal file
View File

@@ -0,0 +1,16 @@
include $(GOROOT)/src/Make.inc
TARG=pam
GOFILES:=pamdefs.go
CGOFILES:=pam.go
CGO_LDFLAGS:=-lpam
CGO_OFILES:=gopam.o
include $(GOROOT)/src/Make.pkg
DOLLAR:="$"
pamdefs.go: pamdefs.c
godefs `echo -n $(CGO_FLAGS) | sed 's/\(^ ^$(DOLLAR)]*\)/-f \1/g'` -g pam pamdefs.c > pamdefs.go
gofmt -w pamdefs.go