File: sharedlib.mk

package info (click to toggle)
zsv 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 49,160 kB
  • sloc: ansic: 175,811; cpp: 56,301; sh: 3,623; makefile: 3,048; javascript: 577; cs: 90; awk: 70; python: 41; sql: 15
file content (15 lines) | stat: -rw-r--r-- 238 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ifeq ($(OS),Windows_NT)
  WIN=1
endif

ifeq ($(WIN),1)
  SHAREDLIB_EXT:=dll
else
  UNAME_S := $(shell uname -s)
  ifeq ($(UNAME_S),Linux)
    SHAREDLIB_EXT := so
  endif
  ifeq ($(UNAME_S),Darwin)
    SHAREDLIB_EXT := dylib
  endif
endif