25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
413 B

  1. # standard GO make file preamble
  2. include $(GOROOT)/src/Make.inc
  3. # target package name
  4. TARG=iconv
  5. # regular go files
  6. GOFILES=\
  7. reader.go\
  8. writer.go\
  9. # files that must be processed by cgo
  10. CGOFILES=\
  11. converter.go\
  12. iconv.go\
  13. # on non glibc systems, we usually need to load the library
  14. ifneq ($(GOOS),linux)
  15. CGO_LDFLAGS=-liconv
  16. endif
  17. # standard GO make file include for packages
  18. include $(GOROOT)/src/Make.pkg