|
|
1.1 root 1: # GNUmakefile
2:
3: #########################################################################
4: # Makefile for SBBSINST #
5: # For use with GNU make and GNU C Compiler #
6: # @format.tab-size 4, @format.use-tabs true #
7: # #
8: # Linux: gmake #
9: # FreeBSD: gmake os=FreeBSD #
10: # #
11: # Optional build targets: dlls, utils, mono, all (default) #
12: #########################################################################
13:
1.1.1.2 ! root 14: # $Id: GNUmakefile,v 1.20 2011/09/08 22:05:54 sbbs Exp $
1.1 root 15:
16: SRC_ROOT = ../..
17: include $(SRC_ROOT)/build/Common.gmake
18:
1.1.1.2 ! root 19: CFLAGS += -I../ -I../../comio
1.1 root 20:
21: ifdef STATIC
22: LDFLAGS += -static
23: endif
24:
25: ifeq ($(os),sunos)
26: LDFLAGS += -lnsl
27: endif
28:
29: CFLAGS += $(UIFC-MT_CFLAGS) $(CIOLIB-MT_CFLAGS) $(XPDEV-MT_CFLAGS) $(SMBLIB_CFLAGS)
30: LDFLAGS += $(UIFC-MT_LDFLAGS) $(CIOLIB-MT_LDFLAGS) $(XPDEV-MT_LDFLAGS) $(SMBLIB_LDFLAGS)
31:
32: $(SBBSINST): $(OBJS)
33: $(QUIET)echo Linking $@
34: $(QUIET)$(CC) -o $@ $(MT_LDFLAGS) $(OBJS) $(LDFLAGS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.