2020-01-07 09:02:56 +00:00
|
|
|
AUTOMAKE_OPTIONS = nostdinc
|
|
|
|
|
2020-11-15 04:50:40 +00:00
|
|
|
CPPFLAGS_COMMON = \
|
2020-01-07 09:02:56 +00:00
|
|
|
-I$(abs_builddir) \
|
|
|
|
-I$(abs_builddir)/../lib \
|
|
|
|
-I$(abs_srcdir) \
|
|
|
|
-I$(abs_srcdir)/../lib \
|
2020-11-14 08:03:16 +00:00
|
|
|
-I$(includedir)
|
2020-01-07 09:02:56 +00:00
|
|
|
|
2020-11-15 04:50:40 +00:00
|
|
|
CFLAGS_COMMON =
|
|
|
|
CXXFLAGS_COMMON =
|
|
|
|
LDFLAGS_COMMON = -L$(abs_builddir)/../lib -L$(libdir)
|
2020-11-16 12:54:50 +00:00
|
|
|
LIBADD_COMMON = ../lib/libhawk.la
|
2020-01-07 09:02:56 +00:00
|
|
|
|
2020-12-18 14:53:14 +00:00
|
|
|
noinst_PROGRAMS =
|
2020-01-07 09:02:56 +00:00
|
|
|
|
|
|
|
if ENABLE_CXX
|
|
|
|
|
2022-06-09 05:33:46 +00:00
|
|
|
noinst_PROGRAMS += hawk02 hawk51 sed21
|
2020-03-08 15:39:33 +00:00
|
|
|
|
|
|
|
hawk02_SOURCES = hawk02.c
|
2020-11-15 04:50:40 +00:00
|
|
|
hawk02_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hawk02_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hawk02_LDFLAGS = $(LDFLAGS_COMMON)
|
2020-11-15 08:46:30 +00:00
|
|
|
hawk02_LDADD = $(LIBADD_COMMON) $(LIBM)
|
2020-01-07 09:02:56 +00:00
|
|
|
|
|
|
|
hawk51_SOURCES = hawk51.cpp
|
2020-11-15 04:50:40 +00:00
|
|
|
hawk51_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
hawk51_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
hawk51_CXXFLAGS = $(CXXFLAGS_COMMON)
|
|
|
|
hawk51_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
hawk51_LDADD = $(LIBADD_COMMON)
|
2020-01-07 09:02:56 +00:00
|
|
|
|
2022-06-09 05:33:46 +00:00
|
|
|
sed21_SOURCES = sed21.cpp
|
|
|
|
sed21_CPPFLAGS = $(CPPFLAGS_COMMON)
|
|
|
|
sed21_CFLAGS = $(CFLAGS_COMMON)
|
|
|
|
sed21_CXXFLAGS = $(CXXFLAGS_COMMON)
|
|
|
|
sed21_LDFLAGS = $(LDFLAGS_COMMON)
|
|
|
|
sed21_LDADD = $(LIBADD_COMMON)
|
|
|
|
|
2020-01-07 09:02:56 +00:00
|
|
|
endif
|