File: Imakefile

package info (click to toggle)
mpsql 2.1-2
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 3,528 kB
  • ctags: 4,886
  • sloc: ansic: 35,184; makefile: 3,761; sh: 44
file content (74 lines) | stat: -rw-r--r-- 2,183 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
XCOMM ------------------------------------------------------------
XCOMM Imakefile for libmbshelp
XCOMM Copyright (C) 1996-1998 Mutiny Bay Software
XCOMM 
XCOMM Contains modified sources by Thomas Harrer
XCOMM 	copyright (c) 1995 ipvr stuttgart and thomas harrer
XCOMM ------------------------------------------------------------

#include "../config.inc"

           COPT = -O
           INCS = 
           DEFS = 

#if defined(SunArchitecture) 
#if OSMajorVersion > 4
        SUNINCS = -I/usr/ucbinclude
        SUNLIBS = -lgen -lXext
#else
        SUNDEFS = -DNO_MEMMOVE
        SUNLIBS = -lXext
#endif
#endif

#if defined(HPArchitecture)
             CC = c89
         HPDEFS = -D_HPUX_SOURCE
#endif

        SYSINCS = -I/usr/local/X11R6/include $(SUNINCS) $(HPINCS)
        LIBINCS = -I../libhtmlw -I../libcheck
        PICINCS = -I../pixmaps/help -I./
        ALLINCS = $(INCS) $(SYSINCS) $(PICINCS) $(LIBINCS)
        SYSDEFS = $(SUNDEFS) $(HPDEFS)
        DEFINES = -DMOTIF $(EXTRA_FLAGS) $(COPT) $(DEFS) $(SYSDEFS) $(ALLINCS) 

    CDEBUGFLAGS = 

           SRCS = help.c imageutil.c imageio.c medcut.c actionarea.c image.c load.c\
                  buffer.c util.c path.c bcache.c contexthelp.c tooltip.c

         HEADER = help.h helpp.h imageutil.h imageio.h language.h version.h \
                  actionarea.h image.h load.h buffer.h util.h path.h \
                  bcache.h contexthelp.h tooltip.h

      IMAKEFILE = Imakefile

           OBJS = medcut.o imageutil.o imageio.o image.o actionarea.o \
		  help.o load.o buffer.o util.o path.o bcache.o contexthelp.o \
		  tooltip.o

        LIBHELP = mbshelp
        TESTOBJ = thelp.o

          HLIB = libmbshelp.a
      HTMLWLIB = -L../libhtmlw -lhtmlw
        XPMLIB = -lXpm 
      HELPLIBS = $(LIBSDIR) $(HLIB) $(HTMLWLIB) $(XPMLIB) 
       SYSLIBS = $(SUNLIBS)

   SYSTEM_LIBS = $(MOTIFLIB) -lXmu -lXt -lX11 $(SYSLIBS) $(ADDLIBS) 

      CHECKLIB = -L../libcheck -lcheck
     THELPLIBS = $(HELPLIBS) $(CHECKLIB) 

XCOMM libhelp.a

NormalLibraryTarget($(LIBHELP),$(OBJS))

XCOMM thelp (only for testing, not distributed)

NormalProgramTarget(thelp,$(TESTOBJ),$(HLIB),$(THELPLIBS),$(SYSTEM_LIBS))

DependTarget()