File: makefile

package info (click to toggle)
apt 0.3.10slink11
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,136 kB
  • ctags: 2,891
  • sloc: cpp: 22,235; sh: 1,656; makefile: 338; perl: 209
file content (49 lines) | stat: -rw-r--r-- 1,236 bytes parent folder | download | duplicates (2)
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
# -*- make -*-
BASE=..
SUBDIR=deity

# Header location
HEADER_TARGETDIRS = deity

# Bring in the default rules
include ../buildlib/defaults.mak

# The library name
LIBRARY=deity
MAJOR=0
MINOR=0.0
SLIBS=$(XLIBS) $(SLANGLIB) $(GPMLIB) $(XPMLIB)

# Source code for the contributed non-core things
SOURCE = widget.cc selectloop.cc widget-thread.cc graphics.cc \
         notify.cc event.cc basic.cc anchor.cc menubar.cc \
         textwidg.cc button.cc window.cc tree.cc columnbar.cc \
	 tabdialog.cc xpm.cc utils.cc widgetinit.cc progress.cc 

# Public deity header files
HEADERS = anchor.h event.h notify.h textwidg.h widget.h \
          basic.h selectloop.h widget-thread.h window.h \
          button.h graphics.h tree.h columnbar.h menubar.h \
	  tabdialog.h utils.h xpm.h widgetinit.h progress.h

# Conditional include of X11 only components
ifneq ($(strip $(X11LIB)),)
SOURCE+= x11dev.cc x11xpm.cc
HEADERS+= x11dev.h
endif

# Conditional include of slang only components
ifneq ($(strip $(SLANGLIB)),)
SOURCE+= slangdev.cc
HEADERS+= slangdev.h
endif

# Conditional include of gpm only components
ifneq ($(strip $(GPMLIB)),)
SOURCE+= gpmdev.cc
HEADERS+= gpmdev.h
endif

HEADERS := $(addprefix deity/,$(HEADERS))

include $(LIBRARY_H)