Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gptfdisk
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
gptfdisk
Commits
28f40988
Commit
28f40988
authored
14 years ago
by
srs5694
Browse files
Options
Downloads
Patches
Plain Diff
Added Makefile.freebsd
parent
bf8950ca
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile.freebsd
+37
-0
37 additions, 0 deletions
Makefile.freebsd
with
37 additions
and
0 deletions
Makefile.freebsd
0 → 100644
+
37
−
0
View file @
28f40988
CC
=
gcc
CXX
=
g++
CFLAGS
+=
-D_FILE_OFFSET_BITS
=
64
CXXFLAGS
+=
-Wall
-D_FILE_OFFSET_BITS
=
64
-I
/usr/local/include
LDFLAGS
+=
LIB_NAMES
=
crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix
MBR_LIBS
=
support diskio diskio-unix basicmbr mbrpart
LIB_OBJS
=
$(
LIB_NAMES:
=
.o
)
MBR_LIB_OBJS
=
$(
MBR_LIBS:
=
.o
)
LIB_HEADERS
=
$(
LIB_NAMES:
=
.h
)
DEPEND
=
makedepend
$(
CXXFLAGS
)
all
:
gdisk sgdisk fixparts
gdisk
:
$(LIB_OBJS) gdisk.o gpttext.o
$(
CXX
)
$(
LIB_OBJS
)
gdisk.o gpttext.o
-L
/usr/local/lib
$(
LDFLAGS
)
-luuid
-o
gdisk
sgdisk
:
$(LIB_OBJS) sgdisk.o
$(
CXX
)
$(
LIB_OBJS
)
sgdisk.o
-L
/usr/local/lib
$(
LDFLAGS
)
-luuid
-lpopt
-o
sgdisk
fixparts
:
$(MBR_LIB_OBJS) fixparts.o
$(
CXX
)
$(
MBR_LIB_OBJS
)
fixparts.o
-L
/usr/local/lib
$(
LDFLAGS
)
-o
fixparts
lint
:
#
no pre-reqs
lint
$(
SRCS
)
clean
:
#
no pre-reqs
rm
-f
core
*
.o
*
~ gdisk sgdisk
# what are the source dependencies
depend
:
$(SRCS)
$(
DEPEND
)
$(
SRCS
)
$(OBJS)
:
$(
CRITICAL_CXX_FLAGS
)
# DO NOT DELETE
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment