36 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 # POSSIBILITY OF SUCH DAMAGE.
38 #
39 LIBRARY= libndmp.a
40 VERS= .1
41 OBJECTS= libndmp.o libndmp_error.o libndmp_door_data.o libndmp_prop.o libndmp_base64.o
42
43 include ../../Makefile.lib
44
45 SRCDIR = ../common
46 INCS += -I$(SRCDIR)
47 INCS += -I$(SRC)/cmd/ndmpd/include
48
49 CSTD= $(CSTD_GNU99)
50 C99LMODE= -Xc99=%all
51 LIBS= $(DYNLIB) $(LINTLIB)
52 LDLIBS += -lc -lscf
53 CPPFLAGS += $(INCS) -D_REENTRANT
54
55 CERRWARN += -_gcc=-Wno-char-subscripts
56 CERRWARN += -_gcc=-Wno-uninitialized
57
58 SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c)
59 $(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
60
61 .KEEP_STATE:
62
63 all: $(LIBS)
64
65 lint: lintcheck
66
67 include ../../Makefile.targ
|
36 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 # POSSIBILITY OF SUCH DAMAGE.
38 #
39 LIBRARY= libndmp.a
40 VERS= .1
41 OBJECTS= libndmp.o libndmp_error.o libndmp_door_data.o libndmp_prop.o libndmp_base64.o
42
43 include ../../Makefile.lib
44
45 SRCDIR = ../common
46 INCS += -I$(SRCDIR)
47 INCS += -I$(SRC)/cmd/ndmpd/include
48
49 CSTD= $(CSTD_GNU99)
50 C99LMODE= -Xc99=%all
51 LIBS= $(DYNLIB) $(LINTLIB)
52 LDLIBS += -lc -lscf
53 CPPFLAGS += $(INCS) -D_REENTRANT
54
55 CERRWARN += -_gcc=-Wno-char-subscripts
56 CERRWARN += $(CNOWARN_UNINIT)
57
58 SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c)
59 $(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
60
61 .KEEP_STATE:
62
63 all: $(LIBS)
64
65 lint: lintcheck
66
67 include ../../Makefile.targ
|