quakeforge/libs/net/nc/Makefile.am
Bill Currie 74a7e07dfc Use AM_CFLAGS instead of CFLAGS.
CFLAGS is meant to be reserved for the user.
2011-05-10 12:44:44 +09:00

17 lines
337 B
Makefile

AUTOMAKE_OPTIONS= foreign
AM_CFLAGS= @PREFER_NON_PIC@
INCLUDES= -I$(top_srcdir)/include
noinst_LTLIBRARIES= libnc.la
ipv6_src= net_udp6.c
ipv4_src= net_udp.c
if NETTYPE_IPV6
ipvX_src= $(ipv6_src)
else
ipvX_src= $(ipv4_src)
endif
libnc_la_SOURCES= $(ipvX_src)
libnc_la_LDFLAGS= @STATIC@
EXTRA_libnc_la_SOURCES= $(ipv4_src) $(ipv6_src)