blob: 761181bdc45e945b28d684461c46be4c8702579f (
plain) (
blame)
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
|
ifeq ($(SRCDIR)x,x)
SRCDIR = $(CURDIR)/..
BUILDDIR = $(SRCDIR)
endif
SUBDIR = generator
VPATH=.:$(SRCDIR)/$(SUBDIR)
include $(BUILDDIR)/config.mk
SUBDIRS = pamtris
# We tend to separate out the build targets so that we don't have
# any more dependencies for a given target than it really needs.
# That way, if there is a problem with a dependency, we can still
# successfully build all the stuff that doesn't depend upon it.
# This package is so big, it's useful even when some parts won't
# build.
PORTBINARIES = pamcrater pamgauss pamgradient \
pamseq pamshadedrelief pamstereogram \
pbmpage pbmmake pbmnoise pbmtext pbmupc \
pgmkernel pgmmake pgmnoise pgmramp \
ppmcie ppmcolors ppmforge ppmmake ppmpat ppmrough ppmwheel \
ifneq ($(DONT_HAVE_PROCESS_MGMT),Y)
PORTBINARIES += pbmtextps
endif
# We don't include programs that have special library dependencies in the
# merge scheme, because we don't want those dependencies to prevent us
# from building all the other programs.
NOMERGEBINARIES =
MERGEBINARIES = $(PORTBINARIES)
BINARIES = $(MERGEBINARIES) $(NOMERGEBINARIES)
SCRIPTS = pgmcrater ppmrainbow
OBJECTS = $(BINARIES:%=%.o)
MERGE_OBJECTS = $(MERGEBINARIES:%=%.o2)
.PHONY: all
all: $(BINARIES) $(SUBDIRS:%=%/all)
include $(SRCDIR)/common.mk
|