Annotation of sbbs/src/conio/gnumakefile, revision 1.1.1.2

1.1       root        1: SRC_ROOT = ..
                      2: # Cross platform/compiler definitions
                      3: include $(SRC_ROOT)/build/Common.gmake # defines clean and output directory rules
                      4: 
                      5: CFLAGS += $(XPDEV-MT_CFLAGS) $(CIOLIB-MT_CFLAGS)
                      6: 
                      7: OBJS   +=      $(MTOBJODIR)$(DIRSEP)curs_cio$(OFILE)
                      8: ifdef NO_X
                      9:  CFLAGS        +=      -DNO_X
                     10: else
1.1.1.2 ! root       11:  OBJS  +=      $(MTOBJODIR)$(DIRSEP)x_events$(OFILE) \
1.1       root       12:                        $(MTOBJODIR)$(DIRSEP)x_cio$(OFILE)
1.1.1.2 ! root       13:  NEED_BITMAP := 1
1.1       root       14: endif
                     15: 
1.1.1.2 ! root       16: ifdef WITH_SDL_AUDIO
1.1       root       17:  OBJS  +=      $(MTOBJODIR)$(DIRSEP)sdl_con$(OFILE)
1.1.1.2 ! root       18:  NEED_BITMAP := 1
        !            19: else
        !            20:  ifdef WITH_SDL
        !            21:   NEED_BITMAP := 1
        !            22:   OBJS +=      $(MTOBJODIR)$(DIRSEP)sdl_con$(OFILE)
        !            23:   OBJS +=      $(MTOBJODIR)$(DIRSEP)sdlfuncs$(OFILE)
        !            24:   ifeq ($(os),darwin)
        !            25:    OBJS        +=      $(MTOBJODIR)$(DIRSEP)SDLMain$(OFILE)
        !            26:   endif
        !            27:  endif
1.1       root       28: endif
                     29: 
                     30: ifeq ($(os),netbsd)
1.1.1.2 ! root       31:  ifndef USE_SYSTEM_CURSES
        !            32:   CFLAGS       +=      -DN_CURSES_LIB
        !            33:  endif
1.1       root       34: endif
                     35: 
1.1.1.2 ! root       36: ifdef NEED_BITMAP
        !            37:  OBJS  +=      $(MTOBJODIR)$(DIRSEP)bitmap_con$(OFILE)
        !            38: endif
1.1       root       39: 
                     40: # CIOLIB Library Link Rule
1.1.1.2 ! root       41: $(CIOLIB-MT_BUILD): $(MTOBJODIR) $(OBJS)
1.1       root       42:        @echo Creating $@ ...
                     43:        $(QUIET)$(AR) rc $@ $(OBJS)
                     44:        $(QUIET)$(RANLIB) $@
                     45: 
1.1.1.2 ! root       46: $(CIOLIB-MT_SHLIB_BUILD): $(MTOBJODIR) $(OBJS)
1.1       root       47:        @echo Creating $@
                     48:        $(QUIET)$(MKSHLIB) $(LDFLAGS) $(OBJS) $(SHLIBOPTS) -o $@
1.1.1.2 ! root       49: 
        !            50: ifeq ($(os),darwin)
        !            51: $(MTOBJODIR)$(DIRSEP)SDLMain$(OFILE): SDLMain.m
        !            52:        @echo $(COMPILE_MSG) $<
        !            53:        $(QUIET)$(CC) $(CFLAGS) $(CCFLAGS) -o $@ -c $<
        !            54: endif
        !            55: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.