22 lines
785 B
Makefile
22 lines
785 B
Makefile
# Makefile for primary source directory.
|
|
#SUBDIRS = extra # Subdirectory for extras (not currently used).
|
|
#bin_PROGRAMS = $(top_builddir)/bin/rtr # Program name.
|
|
#__top_builddir__bin_rtr_CFLAGS = -DBUILD # Define BUILD variable.
|
|
#__top_builddir__bin_rtr_SOURCES = main.c # Sources
|
|
lib_LTLIBRARIES = librtr.la
|
|
librtr_la_SOURCES = main.c
|
|
|
|
# Compile as shared library.
|
|
librtr_la_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
|
|
|
|
#bin_PROGRAMS = rtr
|
|
#rtr_CFLAGS = -DBUILD -c -fPIC -shared # Define BUILD and output shared.
|
|
#rtr_SOURCES = main.c # Sources
|
|
#if extra
|
|
#__top_builddir__bin_rtr_LDADD = ./extra/libextra.la # Include extra.
|
|
|
|
# -Bshared sets preference for shared libraries.
|
|
# No libraries are currently linked here.
|
|
#AM_CFLAGS = "-I$(srcdir) \
|
|
# -Bshared
|
|
#endif
|