1995-10-22 10:59:20 +00:00
|
|
|
TOPDIR=..
|
|
|
|
include $(TOPDIR)/Make.config
|
2022-02-17 07:12:51 +00:00
|
|
|
|
1995-10-22 10:59:20 +00:00
|
|
|
PSOURCES := isdn_3.c $(addsuffix .c,$(PROTOCOLS))
|
1995-10-25 12:36:04 +00:00
|
|
|
ifneq ($(strip $(filter capi, $(PROTOCOLS))),)
|
|
|
|
PCOMMON=1
|
|
|
|
endif
|
1995-10-22 10:59:20 +00:00
|
|
|
ifneq ($(strip $(filter phone, $(PROTOCOLS))),)
|
|
|
|
ifneq ($(strip $(filter euro, $(SUBPROTOCOLS))),)
|
|
|
|
PSOURCES += prot_ETS.c
|
|
|
|
endif
|
|
|
|
ifneq ($(strip $(filter german, $(SUBPROTOCOLS))),)
|
|
|
|
PSOURCES += prot_1TR6_1.c
|
1995-10-25 12:36:04 +00:00
|
|
|
PCOMMON=1
|
1995-10-22 10:59:20 +00:00
|
|
|
endif
|
|
|
|
endif
|
1995-10-25 12:36:04 +00:00
|
|
|
ifeq ($(PCOMMON),1)
|
|
|
|
PSOURCES += prot_1TR6_common.c
|
|
|
|
endif
|
2022-02-17 07:12:51 +00:00
|
|
|
|
1995-10-22 10:59:20 +00:00
|
|
|
EXTRA_CFLAGS=$(addsuffix _,$(addprefix -D_,$(PROTOCOLS) $(SUBPROTOCOLS)))
|
2022-02-17 07:12:51 +00:00
|
|
|
|
1995-10-22 10:59:20 +00:00
|
|
|
LIB = ../isdn_3.a
|
2022-02-17 07:12:51 +00:00
|
|
|
|
1995-10-22 10:59:20 +00:00
|
|
|
include $(TOPDIR)/Make.rules
|